[Tkinter-discuss] Tkinter page layout

Guilherme Polo ggpolo at gmail.com
Tue Nov 4 23:10:03 CET 2008


On Tue, Nov 4, 2008 at 7:59 PM,  <btkuhn at email.unc.edu> wrote:
> Thanks Guilherme. I think you're right that I must be approaching my layout
> incorrectly. Your sample code does work, but I anticipate that this would
> get fairly difficult to manage with complex windows. I thought that I was
> approaching the layout problem logically. Basically, I want two frames, one
> on the left and one on the right, so I created these frames within the
> larger (entire window) frame. Then, I want to fill each frame with various
> objects; for instance, a text box, label, button, and listbox in the left
> frame and a label and text box in the right. Is there a better way to
> approach this than what I am doing?

Did you check the last line I wrote in the previous email ? Maybe you
just want to use a Tkinter.PanedWindow

> My thinking is that the frames will look
> very awkward if the widgets take up the entire frames and the frames "shrink
> to fit" the widgets.
>

Uhm.. I don't think so. All the time you see GUI applications using
this form of widget layout and I doubt you consider they all awkward.

> Thanks again.



-- 
-- Guilherme H. Polo Goncalves


More information about the Tkinter-discuss mailing list