[Tkinter-discuss] a Tkinter pack problem

Jimmy DEVEIL jimmy.deveil at cena.fr
Wed Jan 19 16:58:20 CET 2005


Hello,

I want repack a widget in another Toplevel :

    a=Tk()
    b=Frame(a)
    b.pack()
    c=Toplevel(a)
    d=Frame(c)
    d.pack()
    e=Button(text="[]")
    e.pack(in_=b)
    a.update()
    a.after(5000)
    e.pack(in_=d)
    a.mainloop()

This don't work...
Anyone have a solution to move a widget from a Toplevel to another ?

Thanks for help ;)

____________________
     DEVEIL Jimmy
french user of TKinter under Python



More information about the Tkinter-discuss mailing list