Output Widgets
Are there any output widgets available with GTK+-2.0 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Output Widgets
Please define what you mean with an output widget. All widgets are output widgets in a sense, but e.g. GtkLabel is an output label for text messages (and images). On Mon, Oct 7, 2013 at 12:44 PM, Mahesh Chaudhari mahesh.chaudh...@ymail.com wrote: Are there any output widgets available with GTK+-2.0 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Output Widgets
Output widget in the sense , user is informed (e.g. by changing widget's color) about some system events not user provides input (e.g button press, mouse clicks) in short I wanted to represent an LED which should change color according to some condition From: Dov Grobgeld dov.grobg...@gmail.com To: Mahesh Chaudhari mahesh.chaudh...@ymail.com Cc: gtk-app-devel-list@gnome.org gtk-app-devel-list@gnome.org Sent: Monday, 7 October 2013 3:41 AM Subject: Re: Output Widgets Please define what you mean with an output widget. All widgets are output widgets in a sense, but e.g. GtkLabel is an output label for text messages (and images). On Mon, Oct 7, 2013 at 12:44 PM, Mahesh Chaudhari mahesh.chaudh...@ymail.com wrote: Are there any output widgets available with GTK+-2.0 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
API break in GtkAction?
Send to gtk-devel-list too. GtkAction, GtkStock, GtkUIManager etc have been deprecated. But it should still be possible to use them. On Thu, Oct 03, 2013 at 10:13:51PM +0200, Sébastien Wilmet wrote: Hello, Since the deprecation of GtkUIManager, GtkAction, GtkStock etc, it seems that gtk_action_set_always_show_image() doesn't work anymore. I don't have the time to port my application to GMenu (and I think some features are missing, that I use with GtkUIManager). And I need icons in menus. For example some menu items permit to insert international accents. The image is really useful to know which accent it is. To enable icons in menus, I use this code (in Vala): foreach (Gtk.ActionGroup action_group in ui_manager.get_action_groups ()) { foreach (Gtk.Action action in action_group.list_actions ()) { action.set_always_show_image (true); } } It works fine with GTK+ 3.8, but not with GTK+ 3.10. I openened this bug: https://bugzilla.gnome.org/show_bug.cgi?id=708651 I hope this is not intentional (which means it is an API break, without .so version bump…). And, if it is intentional, is there another easy way to force to show icons in menus? (Without lots of manual code, I mean, because the menu is big). Thanks in advance, Sébastien ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: API break in GtkAction?
GtkAction, GtkStock, GtkUIManager etc have been deprecated. But it should still be possible to use them. I've just pushed a testcase ( https://git.gnome.org/browse/gtk+/tree/tests/teststockbuttonmenu.c) that shows things related to stock icons, buttons, menuitems and actions working as I would expect them to, including gtk_action_set_always_show_image. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list