[prev in list] [next in list] [prev in thread] [next in thread]
List: python-list
Subject: Re: tkinter question
From: Kevin Walzer <kw () codebykevin ! com>
Date: 2007-10-07 16:09:16
Message-ID: 470904AC.9090100 () codebykevin ! com
[Download RAW message or body]
Hendrik van Rooyen wrote:
> "Kevin Walzer" <kw@codebykevin.com> wrote:
>
>> I find "pack" to be more flexible than "grid," so I prefer it for
>> complex layouts. "grid" is better for simple layouts.
>
> *does a double take* are you serious? - my experience is that
> pack is only good for simple single row or single column stuff.
>
> - Hendrik
>
>
Well, I guess it depends on your viewpoint. I find "pack" flexible
because it allows me to think in terms of top, bottom, right, and left
in terms of arranging UI elements--it's an elegant way to do it in my
view. I tend to use "grid" if I have, say, a window with several
preference items: a label, an entry field, and a button, all arranged in
rows. "grid" is better for stuff like that, I agree.
See http://www.codebykevin.com/blosxom/business/phynchronicity-new.png:
this is an application I develop. The layout is all handled by "pack"
and paned windows. Where you you use "grid" in a layout like this?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic