2012/5/9 Vasilis Vlachoudis <vasilis.vlachou...@cern.ch>: > Hi all, > > in my application I am using the recipe of > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52266 > to create a multilistbox. I have modified it to use the panedwindow in order > to allow the resize of the rows, like in the code below. > My problem(s) (all related to the resizing of the panes) > 1. is how to make the resizing of the window to resize proportionally the > panes (Now only the last row "Four" expands/reduce its size)
Set the stretch option to 'always'. > 2. when the user manually resize one pane (e.g. drag between two|three, only > the panes two and three are resized while I would prefer more a behavior > like all other window toolkits that only "two" will be resized, "three" will > remain the same and the last one "Four" will be reduced or expanded. > 3. How to save/recall the size of the panes. The paneconfig(child,"width") > returns a tuple with ('width','','','') Use child.winfo_width() instead. Also, note that the new ttk.Treeview() can work as a multicolumn listbox too. Regards Emiliano _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss