Re: changing menu item labels
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: changing menu item labels
- Date: Sun, 09 Dec 2007 15:03:26 +0000
On Sun, 2007-12-09 at 09:18 -0500, Dr. Michael J. Chudobiak wrote:
Is there an easy way to dynamically change the label associated with a
gtk_bin_get_child (GTK_BIN (menu_item))
will yield the child widget, which will be a GtkLabel most of the times,
unless you have been packing something else inside, in which case you
already know how to extract the label widget yourself.
It want to implement a menu containing a fixed number of used-defined
scripts with user-defined names. I would like the user-defined names to
appear in the menu.
dynamically created menus are usually better implemented using
GtkUIManager and placeholders.
] [Thread Prev