On Tue, 3 Apr 2001, Andre Luis Lopes wrote:
> Hi all
>
> I'm trying to create a menu for my application with tje following code :
1) Create a GtkMenuBar widget
2) add GtkMenuItem widget to menubar
3) create GtkMenu widget
4) use menuitem.set_submenu(menu) to associate the menu with the menuitem
5) create GtkMenuItems and add them to the GtkMenu
Alternatively you can use the GtkItemFactory object, which does all this
for you.
Take a look at some of the examples distributed with gtk for details.
James.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk