Tkinter: Make them come back!
Phlip
phlip_cpp at my-deja.com
Thu Apr 26 15:12:16 EDT 2001
Hypo nt:
I want two top level windows, each with a label in it...
from Tkinter import *
top1 = Toplevel()
lab1 = Label(top1, text='simple 1')
lab1.pack()
top2 = Toplevel()
lab2 = Label(top2, text='simple 2')
lab2.pack()
mainloop()
That gives us one big top level window with nothing in it, and two little
windows each with a little label in it. >sigh<
--
Phlip phlip_cpp at my-deja.com
============ http://c2.com/cgi/wiki?PhlIp ============
-- All sensors report Patti having a very good time --
More information about the Python-list
mailing list