Re: [Tkinter-discuss] PanedWindow placement of sash

2013-09-19 Thread Michael Lange
Hi, On Thu, 19 Sep 2013 07:15:30 + Vasilis Vlachoudis wrote: > Hi all, > > I am trying to save on exit and restore on startup the placement of the > sash in the PanedWindow, with a code like this > > from Tkinter import * > > tk = Tk() > p = PanedWindow(tk, orient=HORIZONTAL, width=600) >

[Tkinter-discuss] PanedWindow placement of sash

2013-09-19 Thread Vasilis Vlachoudis
Hi all, I am trying to save on exit and restore on startup the placement of the sash in the PanedWindow, with a code like this from Tkinter import * tk = Tk() p = PanedWindow(tk, orient=HORIZONTAL, width=600) p.pack(expand=YES,fill=BOTH) f1 = Label(p, text="First", bg="Red") p.add(f1) f2 = Labe