move-focus blanks out the pixmap read from xpm

2007-06-30 Thread krithika.sivakumar
Hi, I'm using xpm format to get the pixmap. When I move focus from one widget to another, the pixmap is not displayed. I get a black box instead of the pixmap. This behaviour is not consistent. Please help me with this. It is urgent regards, Krithika Sivakumar| Senior Software Engineer | Wipro

GTK-GUI and video display

2006-12-15 Thread krithika.sivakumar
Hi, I need to run a GTK GUI and display video via DFB. I understand that the GTK-GUI would be using layer 0 (primary) and video would use Layer 1. However when the GUI comes up then the GUI/video layer is not visible. Any inputs on whether any changes are required to GTK-DFB to be able to

simulate and enter pressed event

2006-12-13 Thread krithika.sivakumar
Hi, I need to simulate Key Enter pressed event from another application. I'm able to simulate a move focus from my application by calling g_signal_emit_by_name(window_main, move_focus, GTK_DIR_TAB_FORWARD); Is there any similar way to get Enter key press event. Please let me how it can be

Need to get the widget focused

2006-12-13 Thread krithika.sivakumar
Hi, How can I find which widget has focus set? I have lot of widgets so cannot explicitly check one by one. Is there any other way to do it? Regards, Krithika ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

RE: selecting menu button from key board

2006-10-18 Thread krithika.sivakumar
The default behavior on pressing return key on a menu item is to call the handler for that menu item and close the menu. Can we override this behavior? Because of this the submenu is displayed but the main menu is not seen. regards, Krithika Sivakumar -Original Message- From: [EMAIL

reading events from USB

2006-10-18 Thread krithika.sivakumar
Hi All, I am reading input events from a USB device. I want to map these events to a mouse click event or a key press event, so that it can be recognized by a GTK application running on the same server. Can I simulate the keyboard/mouse events to the kernel? Is there any way to implement this?

focus-line-width

2006-10-17 Thread krithika.sivakumar
Hi, I'm unable to use the style property focus-line-width or focus-line-pattern. While running the application it states GLib-GObject-WARNING **: g_object_set_valist: object class `GtkButton' has no property named `focus-line-pattern' control volumeINFO - GTK_THRD 2006-10-17

gtk+ compile related query

2006-10-09 Thread krithika.sivakumar
Hi, I am trying to compile the GTK+ code checked out from CVS When I run the autogen --- following warning is printed (I have set ACLOCAL_FLAGS=-I /usr/share/aclocal): Can anyone help with this? [root@ Wipro142 gtk+]# sh autogen.sh --prefix=$PREFIX --with-gdktarget=directfb --without-x

removing borders from button

2006-10-09 Thread krithika.sivakumar
Hi, I have a GtkImage on a GtkButton. I want to remove the spacing/border between the GtkButton border and the GtkImage. Also I want to remove the GtkButton outline. I'm using GTK2.0. Please let me know if there is any way it can be done. Thanks, Krithika

event handling

2006-10-07 Thread krithika.sivakumar
Hi, Is there any way we can post an event and handle the event to change the GtkWidget. I want to pass an object while posting the event and use the object to change the widget. I'm new to Gtk. Any information will be of great help. Thanks, Krithi.