Re: [Tutor] Disabling a frame in Tkinter

2006-01-05 Thread Hans Dushanthakumar
o_children(): self.setState(child, state=state) Cheers Hans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Fouhy Sent: Friday, 6 January 2006 12:03 p.m. To: tutor@python.org Subject: Re: [Tutor] Disabling a frame in Tkinter On 06/0

Re: [Tutor] Disabling a frame in Tkinter

2006-01-05 Thread John Fouhy
On 06/01/06, Hans Dushanthakumar <[EMAIL PROTECTED]> wrote: > Hi, >Is there any way to disable an entire frame (and all its included > widgets) in Tkinter. It does not seem to support state=DISABLED. Not that I'm aware of... You could try maybe something like this (untested): def setState(wi

[Tutor] Disabling a frame in Tkinter

2006-01-05 Thread Hans Dushanthakumar
Hi, Is there any way to disable an entire frame (and all its included widgets) in Tkinter. It does not seem to support state=DISABLED. Another Tkinter question: In a listbox, how do I intially set a "selected" item? What I want to do here is have the 1st item in a listbox selected (ie highlight