move-focus blanks out the pixmap read from xpm
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 Technologies| Mobile: 9880502662 | www.wipro.com http://www.wipro.com/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GTK-GUI and video display
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 display GUI and video simultaneously? Regards, Krithika. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
simulate and enter pressed event
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 done. Regards, Krithika ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Need to get the widget focused
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 http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: selecting menu button from key board
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 PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 1:09 PM To: gtk-app-devel-list@gnome.org Subject: Re: selecting menu button from key board Actually I don't want a MenuBar. I would like to keep it as a button from which the menu is popped out. regards, Krithika Sivakumar| Project Engineer | Wipro Technologies| Mobile: 9880502662 | www.wipro.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Necas (Yeti) Sent: Wednesday, October 18, 2006 11:42 AM To: gtk-app-devel-list@gnome.org Subject: Re: selecting menu button from key board On Wed, Oct 18, 2006 at 11:19:45AM +0530, [EMAIL PROTECTED] wrote: I have implemented a menu button. Why? GtkMenuBar+GtkMenuItem, GtkComboBox or GtkToolbar+GtkMenuToolButton all provide this type of behaviour. Why they are not enough? Yeti -- Whatever. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
reading events from USB
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? regards, Krithika Sivakumar ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
focus-line-width
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 17:29:38 I currently have gtk version 2.7. Is there any other way to increase the width of the focus line? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gtk+ compile related query
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 WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. Subsequently when I do a make following error is printed: fa.po:157: 'msgstr[0]' is not a valid C format string, unlike 'msgid' fa.po:354: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:395: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:425: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:494: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:1313: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:1692: 'msgstr[0]' is not a valid C format string, unlike 'msgid' fa.po:2184: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:3143: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:3148: 'msgstr' is not a valid C format string, unlike 'msgid' fa.po:3153: 'msgstr' is not a valid C format string, unlike 'msgid' /usr/bin/msgfmt: found 11 fatal errors make[2]: *** [fa.gmo] Error 1 make[2]: Leaving directory `/home/yg/gtk/gtk+/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/yg/gtk/gtk+' make: *** [all] Error 2 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
removing borders from button
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 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
event handling
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. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list