S
Stephen Hansen
From a functionality perspective, "pack" and "grid" are both distinctly
less capable then wx sizers.
Are you just flapping your gums or can you prove it Stephen? I will
accept any "Pepsi Challenge" you can muster in Wx code and echo that
same capability using Tkinter[1] in what will be no less than elegant
simplicity. So bring it on baby!
But, as to capabilities-- the ones I use not infrequently:
- Shaped expansion: the control maintains its aspect ratio.
- Fitting: The parent widget is resized so that it is the right size
to contain all of its children widgets at their 'best' size (which is
configured per-widget, and not per-column; min sizes on a column is
insufficient). I absolutely adore this feature.
- Alignment. If a widget is allocated 100x100 of space (due to
proportion rules), but not set to expand, control over if it should
center directly, or be aligned top-center or left-middle.
- Spacers. As in a virtual 'widget' which takes up space but doesn't
really exist. Yeah, you can just put some empty looking widget in there,
but that's a hack. Still, this is only a nitpick.
I'm not interested in dueling code, but capabilities.
--
Stephen Hansen
... Also: Ixokai
... Mail: me+list/python (AT) ixokai (DOT) io
... Blog: http://meh.ixokai.io/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
iQEcBAEBAgAGBQJMFuv8AAoJEKcbwptVWx/lLXAH/R5IjOmEuCabnlhhuEilQZrF
I61ozQroyHySFBqkoPuubZhTmqVzN4NPk6kSZ4YsdnwwwM/usNLDPDkiymYusQFw
Lt2C67GP0o6P1JA2B91xd7Yt4V7SsWIUAjRVi6haYYeb8o22zqMC/a2UN9V99NHU
dDdpKrd4x5R2B6C4896elFOTR5UG+fDQrf0SPhA1aK7OVa/pU4MK0U7wIoLhUhbj
+16W/rGC+cltG5/OatNUmq15vTtRYKYH3VwuMCWXHMozrzL8vXMYZGgiGZ5q09FL
p8zI5pTc8gGYH7JZmNf6F7oL9z+hPcZf+UX3euhEseXg4SEcZerxvzO8oFhsxh0=
=VFO/
-----END PGP SIGNATURE-----