[Tutor] FW: Menu Bars and Entry config

Lamarche, Brian L Brian.Lamarche@pnl.gov
Wed, 23 Feb 2000 14:11:12 -0800


----------
From: 	Lamarche, Brian L
Sent: 	Wednesday, February 23, 2000 2:09 PM
To: 	'tutors@python.org'
Subject: 	Menu Bars and Entry config

Help,


I have created a GUI and I would like to use menus to open files and close them
etc...

My program is user specific so I would like to add a feature where once I open a
file I can not open any more.

Thus I want to disable a command menu button.  

command = command menu bar
0 is the place FileOpen is in the menu
and Disabled is what I want to make it

command.entryconfig(0,state=DISABLED)


Can you help me on this or any other Tkinter problems....?


Thanks, 

Brian