[pygtk] confused with menu creation, manual was not clear.

steve george steve_geo at optusnet.com.au
Mon Feb 18 19:16:26 WST 2008


I've been using the UI manager (under impression that was the newest way 
to do it)
http://www.pygtk.org/pygtk2tutorial/sec-UIManager.html
(uimanager.py 
<http://www.pygtk.org/pygtk2tutorial/examples/uimanager.py> from tute is 
good example


of course I had to read through the reference
http://www.pygtk.org/docs/pygtk/class-gtkuimanager.html

Then I also checked out pygtk-demo applications
"Application Main Window"
"UIManager"

This gave me all the info I need to use the UiManager

Cheers
Steve

Greg Ewing wrote:
> krishnakant Mane wrote:
>> the manual on pygtk2 states that item factory is an easy way.
>> now since I am finding it difficult, there must be some thing I am
>> seriously missing.
>
> It probably is easier if you're programming in C, but that
> isn't necessarily true in Python.
>
> Last time I was using pygtk, I don't think I bothered
> with item factories. If you're finding some other way
> easier, by all means continue using it.
>


-- 
NO to the Microsoft Office format as an ISO standard
http://www.noooxml.org/petition



More information about the pygtk mailing list