19 Aug 03:25
Sizers, finally
From: Tony Cappellini <cappy2112 <at> gmail.com>
Subject: Sizers, finally
Newsgroups: gmane.comp.python.wxpython
Date: 2008-08-19 01:28:22 GMT
Subject: Sizers, finally
Newsgroups: gmane.comp.python.wxpython
Date: 2008-08-19 01:28:22 GMT
I've got the GUI laid out in my next wx app (pure wx, no Pythoncard),
and it's shaped up pretty well, with much less problems than the
previous program I attempted using sizers.
This GUI uses several sizers (all BoxSizers, unfortunately) and I'm
finally getting more comfortable using them, even after not having
written any GUI code for a few months. (That doesn't mean I wont trip
over them the next time I use sizer. I probably will, but now have
something I've written to look back on)
I want to thank the readers/contributors to this list for helping me
through my problems.
For the newbies: Here are some things you should seriously take
advantage of if you're just starting with wxPython or having problems
in general
1. The wx Wiki ---> http://wiki.wxpython.org/FrontPage
2. The book: "wxPython in Action" -----> www.manning.com/rappin/
(there's even a download version you can read on the bus/train to work)
3. Mike's Sizer tutorials -------> http://wiki.wxpython.org/SizerTutorials
Robin has/had a very useful suggestion regarding sizers: draw a crude
diagram of what you expect the layout of your sizers to look like, as
if the sizers were visible. He had emailed me a jpg which showed the
layout of the sizers in a program I had problems with, and it really
does make you think differently about how the layout should be, and
how to get your layout to be that way. If I still had the jpg, I would
attach it. It's not in my emails, and I think it was on my laptop
(Continue reading)
RSS Feed