Gui Advice Needed: wxPython or PyQT ?

Steve Williams stevewilliams at wwc.com
Tue May 6 22:07:27 EDT 2003


Troy Melhase wrote:
> Hi Tony,
> 
[snip]

> * wxPython widget layout is painful.  Very, very painful.  To be fair, it 
> really only seems painful because the majority of the toolkit is so
> pleasant, but there's a reason it's called "sizer hell."
> 
If you have trouble with wxPython 'sizer hell', try the RowColSizer.

> * I found that when I stopped coding with wx for a while that I would forget
> the majority of the method signatures and (more importantly, really), I'd
> forget the  idiosyncrasies of each window type.  The docs made up for it,
> but I have the short-term memory capacity of a beach ball, and that aspect
> of wx programming slowed down my development.
> 
Wrap the wxPython stuff in your own functions with signatures and 
defaults and keyword arguments you can understand and remember.  Build 
items which commonly occur together, such as labels and text and 
tooltips, in a single function -- the RowColSizer really helps here.

Steve Williams





More information about the Python-list mailing list