Tkinter only: table widget with canvas...
jjposner at optimum.net
Sat Jul 11 15:31:58 CEST 2009
>> There's a working app at http://cl1p.net/tkinter_table_headers/
> Thank you for this example. However, one issue to that...
> When resizing the window (vertical) then the header moves away
> from the table. How can I avoid this with the grid? With "pack"
> I now this...
Oops ... packing can be tricky. Try these modifications:
header_frm.pack(side=TOP, anchor=W, expand=False)
table_frm.pack(side=TOP, expand=True, fill=BOTH)
You also might try constraining the top-level (root) window, using these
More information about the Python-list