On Fri, Apr 25, 2008 at 12:17 AM, Andrea Caminiti <[EMAIL PROTECTED]> wrote:

Hi Andrea,

>  i'm still doing my program and i would like to have a menu bar as every 
> program has (file, edit, ....., help). and a lot of doubts came to my mind. 
> looking at pygtk tuttorials i found so good examples to follow using 
> gtk.Menubar, gtk.Menu, etc... but seem that this methods are not suggested to 
> be used any more. instead the suggestion is to use gtk.UIManager.

That's right, you should use UIManager

>  so my question here is what should i use? should i use the old style menubar 
> or the new one? what are the pros and cons with each one? and if i choose the 
> ui manager, where i can find some help/tutorial/guide/reference to use it?

PyGTK demo has got a good example
http://svn.gnome.org/viewvc/pygtk/trunk/examples/pygtk-demo/demos/ui_manager.py?revision=2435&view=markup

The tutorial:
http://www.pygtk.org/pygtk2tutorial/sec-UIManager.html

The reference manual
http://www.pygtk.org/docs/pygtk/class-gtkuimanager.html

cheers
-- 
Gian Mario Tagliaretti
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to