Salut Jimmy:

svp �crire en fran�ais s'il est plus facile...

the easy way to move widgets is to not move them!  Simply create them
in each location you need them, and then make them invisible or
invisible as needed.

Very quickly, I tried a couple of lines and this seems to work (on win2k):

#testmove.py
from Tkinter import *
a=Tk()
b=Frame(a)
b.pack()
c=Toplevel(a)
d=Frame(c)
d.pack()
e1=Button(a, text="[]")
e1.pack()
e2=Button(c, text="[]")
a.update()
a.after(5000, e1.forget())
a.update()
e2.pack()
c.update()
a.mainloop()



-- 
Stewart Midwinter
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to