[Tkinter-discuss] Entry Widget - Setting a Default Text - continuted

Amit Finkler amit.finkler at gmail.com
Tue Jan 1 13:39:52 CET 2008


    Hi Amit,

    There should be only one instance of Tk() in your Tkinter
    Application (if I remember correctly).

    So if you want to create additional windows use Toplevel() instead
    of Tk(). Toplevel takes optional parent window argument like
    Toplevel(win)

    so line 96 should look like

    win2=Toplevel()

    HTH

    -- 
    Godson Gera,
    http://godson.in
    Python Tkinter India.


You remember correctly. This is indeed the solution.


Thanks!


Amit.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tkinter-discuss/attachments/20080101/6150b916/attachment.htm 


More information about the Tkinter-discuss mailing list