[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Accessing Menu properties
- From: Gus Koppel <gtk spamkiller bytechase cx>
- To: gtk-app-devel-list gnome org
- Subject: Re: Accessing Menu properties
- Date: Thu, 16 Oct 2003 21:57:58 +0200
"Dave Mason" wrote:
> I'm using ItemFactory for my application's menu. In some of the
> callback functions, I want to access the name of the menu item
> selected. Does anyone know of a way to do this - I assume it will
> have to do with the gpointer or callback data.
You probably don't really want this but the way to get the NAME of a
given menu item is gtk_widget_get_name ((GtkWidget *) your_menu_item);
If you want to access the contents (i.e. label / text) of a menu item
see
http://mail.gnome.org/archives/gtk-app-devel-list/2003-October/msg00171.html
If that also isn't what you're looking for then I'm sorry for not
understanding your question properly.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]