Alan Gauld
2014-05-13 18:51:25 UTC
I have an app with a tabbed notebook. I want to
only enable one of the main menus when the appropriate
tab is selected. When the tab is deselected I want
to disable the menu again.
I can't see any obvious properties in the Menu
object. I can mess around with flags in the event
handlers and change the menu font colours etc but
that's pretty horrible. Is there anything better?
Using Python 3.3; on Linux and Windows 8 if it makes
any difference.
TIA
only enable one of the main menus when the appropriate
tab is selected. When the tab is deselected I want
to disable the menu again.
I can't see any obvious properties in the Menu
object. I can mess around with flags in the event
handlers and change the menu font colours etc but
that's pretty horrible. Is there anything better?
Using Python 3.3; on Linux and Windows 8 if it makes
any difference.
TIA
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos