Tkinter issue
yanivk at my-deja.com
yanivk at my-deja.com
Mon Aug 28 05:03:29 EDT 2000
More information about the Python-list mailing list
Mon Aug 28 05:03:29 EDT 2000
- Previous message (by thread): ANN: wxDesigner 1.1, commercial RAD tool for wxWindows and wxPython
- Next message (by thread): Tkinter issue
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
If this works for you, you might not need any self managed lists:
def change_state(widget, state=NORMAL):
for wid in widget.children.values():
change_state(wid, state)
try:
widget.config(state=state)
except TclError:
pass
then you just need to call:
change_state(<frame instance>, <requested state>)
Good luck,
Yaniv
Sent via Deja.com http://www.deja.com/
Before you buy.
- Previous message (by thread): ANN: wxDesigner 1.1, commercial RAD tool for wxWindows and wxPython
- Next message (by thread): Tkinter issue
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list