[Tutor] Tk Layout Problem

Dan Shafer pydan@danshafer.com
Wed, 10 Jul 2002 23:38:22 -0700


Maybe this isn't the right list to ask this. If not, please direct me 
correctly!

I have written a Python app using PythonCard (a GUI toolkit layered on top 
of wxPython) that has a pretty simple UI. You can see what it looks like here:

http://pythoncard.sourceforge.net/walkthrough2.html

Scroll down just a little from the top and you can see the window.

I cannot for the life of me make this same layout happen in Tk. I'm no Tk 
expert, for sure, but I have read the docs, I have worked through the 
tutorials, I do understand layout managers, and I can get close. But I 
can't get that text field in the right portion of the window to be an 
absolute size and to position itself so it's not anchored to any of the 
sides of the Frame I put it in. It appears to me that both pack and grid 
are designed to fill all available space with components. Not what I'm after.

Any suggestions?

Dan Shafer, Chief Scribe and Tablet Keeper
PythonCard Open Source Project
http://pythoncard.sourceforge.net