[pygtk] gtk.MenuItem status change

Toufeeq Hussain toufeeqh at gmail.com
Thu Feb 16 22:49:23 WST 2006


I'm currently using the gtk.MenuItem widget in my pygtk script.
My requirement is to disable the menuitem and enable it back again
based on some defined logic.

As per the Pygtk reference manual [1] this is currently not possible.
Is there are an alternate way to go about disabling a menu item ?

I do not want to unhide it but rather disable it.

[1] http://www.pygtk.org/pygtk2reference/class-gtkmenuitem.html

blog @ http://toufeeq.blogspot.com

More information about the pygtk mailing list