[pygtk] Creating a gtk.MenuToggleToolButton
Richard Procter
rnp at paradise.net.nz
Wed Nov 14 10:46:34 WST 2007
Hi All,
I need a gtk.MenuToolButton that contains a gtk.ToggleButton,
not a gtk.Button.
Has anyone managed to create such a beast purely in python?
I've tried adding a button to the hbox within the
guts of a gtk.MenuToolButton. Although space is allocated,
it receives no events (why? the MenuToolButton seems to add
a button in exactly the same way).
Next stop is to add a menu pulldown widget to a
gtk.ToggleToolButton()'s hbox, and replicate some of the
gtk.MenuToolButton functionality.
If it works, and anyone is interested, I can post the code.
regards,
Richard.
pygtk 2.6.1
gtk 2.8.17
More information about the pygtk
mailing list