tkinter.Toplevel

yves at zioup.com yves at zioup.com
Sun Feb 19 00:47:52 EST 2012


On 2012-02-17 16:48, Rick Johnson wrote:
> On Feb 16, 8:39 pm, y... at zioup.com wrote:
>> With a tkinter.Toplevel, how can I "disable" the parent windown and all its
>> widget, in the same fashion as tkinter.messagebox?
>
> The answer lies within the tkSimpleDialog source code; which is pure
> python. Look in the __init__ method of Dialog class. My advice is to
> study the code until you understand every line. Look at the following
> references when you need more info:
>
> http://infohost.nmt.edu/tcc/help/pubs/tkinter/
> http://effbot.org/tkinterbook/

...grab_set()

Thanks.

-- 
Yves.                                                  http://www.SollerS.ca/
                                                        http://ipv6.SollerS.ca
                                                        http://blog.zioup.org/



More information about the Python-list mailing list