Hi. I'm trying that opening the window, the position of the handle, is located where you want, using the method "sashpos", in the following code....
-------------------------------------------------------------------- from tkinter import * from tkinter import ttk class App: def __init__(self, master): self.root = master self.paned = ttk.Panedwindow(self.root, orient=HORIZONTAL) self.paned.pack(fill=BOTH, expand=YES) self.f1 = ttk.Labelframe(self.paned, text='One') self.f2 = ttk.Labelframe(self.paned, text='Two') self.paned.add(self.f1) self.paned.add(self.f2) self.paned.sashpos(0,100) <---Here master = Tk() master.geometry('400x400') app = App(master) master.mainloop() -------------------------------------------------------------------- The problem is that the method is not taken into account when loading the window. There is an event that allows to open the program, run the method?. Regards Cristian Abarzua. UBUNTU 9.10 - Tkinter.ttk 8.5 - Python 3.1.1 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss