[543] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Menus
daemon@ATHENA.MIT.EDU (Jay Painter)
Mon Jul 28 02:23:39 1997
Date: Sun, 27 Jul 1997 23:19:01 -0700 (PDT)
From: Jay Painter <jay@a42.com>
To: gtk-list@redhat.com
In-Reply-To: <33DC285E.E4D928E@aibon.ping.de>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
The best way to make menus is with gtk_menu_factory where you create a
structure with all your menus in it, feed it to a function, and all your
menus get created for you without 50 calls to gtk_menuitem_new. You can
find a good example in the GZilla code. I still don't know exaclty what
all the fields are in the structure, but NULL is always a good choice for
those :)
-------------------------------------------
Jay Painter -- jay@ssc.com -- jay@a42.com
Systema Admin., SSC/Linux Journal
http://www.a42.com/~jay
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null