Re: Tkinter only: table widget with canvas...

2009-07-11 Thread John Posner
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

Re: Tkinter only: table widget with canvas...

2009-07-11 Thread Thomas Lehmann
> > There's a working app at http://cl1p.net/tkinter_table_headers/ > > -John 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... -- http://mail.pytho

Re: Tkinter only: table widget with canvas...

2009-07-10 Thread John Posner
Hi -- a) Assume I would have some different widgets to add per row. How do I get the maximum row height? If you are placing widgets in a table like this: w.grid(row=a, column=b) ... where the *master* of widget "w" is a Tkinter.Frame named "table_frm", then you can determine the height

Tkinter only: table widget with canvas...

2009-07-10 Thread Thomas Lehmann
My intention is to keep dependencies low that means using python and tkinter as base package is quite easy because it's available on nearly every system. There is good documentation on Tkinter but going into the depth I'm missing many details. As an example... Using the Tkinter.Canvas class I sho