Re: tkinter panedWindow
Posted: Thu Sep 15, 2016 1:35 pm
I think part of the problem is that you do not need to pack the widgets in the paned window - you have to add them.
This does allow the panes to be resized but is only a start.
Code: Select all
import tkinter as tk root = tk.Tk() root.title("Panes") root.geometry("200x100") panes = tk.PanedWindow(root,orient = "horizontal",showhandle = True) panes.pack() left = tk.Label(root,text = "Left") right = tk.Label(root,text = "Right") panes.add(left) panes.add(right) root.mainloop()