You can disable the button or menu item the menu is associated with, and that will disable the whole menu.
--bryan > On May 13, 2014, at 1:51 PM, Alan Gauld <alan.ga...@btinternet.com> wrote: > > 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 > -- > Alan G > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > http://www.flickr.com/photos/alangauldphotos > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > https://mail.python.org/mailman/listinfo/tkinter-discuss _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss