The "state" attribute. Here's a working example:
import Tkinter as tk root = tk.Tk() menubar = tk.Menu(root) root.configure(menu=menubar) exampleMenu = tk.Menu(root) exampleMenu.add_command(label="One") exampleMenu.add_command(label="Two") exampleMenu.add_command(label="Three") menubar.add_cascade(label="Example", menu=exampleMenu) menubar.entryconfigure("Example", state="disabled") root.mainloop() On Wed, May 14, 2014 at 10:59 AM, ALAN GAULD <alan.ga...@btinternet.com>wrote: > > > You can disable the button or menu item the menu is associated with, and > that will disable the whole menu. > > Thats what I assumed but which proprerty disables a menu - or any other > widget for that matter? > I'm assuming its an inherited atttribute of some sort? > > Alan G >
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss