Re: [gtk-list] Re: gtk_widget_set_state() with GNOME generated menus.
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: gtk_widget_set_state() with GNOME generated menus.
- Date: Sat, 4 Dec 1999 22:52:55 -0500 (EST)
On Sat, 4 Dec 1999, Chris Phelps wrote:
>
> I think I understand what you mean now tho...
> The name of the GNOMEUIInfo has pointers to the menu items?
>
The GnomeUIInfo struct has a "widget" field containing the menu item.
> ex:
> GNOMEUIInfo menu1 [] =
> {
> GNOMEUIINFO_SUBTREE("_File", filemenu),
> GNOMEUIINFO_SUBTREE("_Edit", editmenu),
> }
>
> what exactly is menu1[0] pointing to after the menu us built?
>
menu1[0] isn't a pointer, it's a GnomeUIInfo struct.
So menu1[0].widget contains your menu item.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]