Re: [spe-users] the manual and wxGlade

Stani's Python Editor <[email protected]> Sat, 16 Jun 2007 20:42:30 +0200
Newsgroups gmane.comp.python.spe.user
Organization www.stani.be
Message-ID <[email protected]>
http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html
http://pythonide.stani.be/blog/sm_donate
--


Dick Moores wrote:

> 
> I've begun to try making the GUI described in the wxGlade section of the SPE 
> manual. I've done up through this sentence on p. 46:
> 
> "It is very important to add a panel to the sizer, otherwise your application 
> will look funny in
> Windows. 

This is a difference between dialogs and frames. Frames need first a
panel, a wx.Dialog not.

> So please add a sizer with 3 rows."
> 
> So I have the sizer with 3 rows. But I don't understand the next 2 sentences.
> 
> "Now we will add two buttons and one text field to
> the frame. Just click on the "Add TextCtrl" in the main window and than click on 
> the upper row
> in your panel. Repeat this for both buttons."

> 
> What is "your panel" 
The panel is the panel you created first in the Frame.
> and what is "the upper row"?
You've said you have the sizer with the three rows. The "upper row" is
the first of these three rows.

If you are going to develop in wxPython, I can also strongly recommend
you the book "wxPython in Action" of Robin Dunn, the author of wxPython.

Stani