Can someone explain when I should use a wxWindow,
when to use a wxPanel and when it doesn't matter?
···
--
Antoon Pardon
Can someone explain when I should use a wxWindow,
when to use a wxPanel and when it doesn't matter?
--
Antoon Pardon
Antoon Pardon <Antoon.Pardon@rece.vub.ac.be> writes:
Can someone explain when I should use a wxWindow,
when to use a wxPanel and when it doesn't matter?
Read this, in particular question 3.1:
http://wiki.wxpython.org/index.cgi/Frequently_20Asked_20Questions
Also:
http://www.wxwindows.org/manuals/2.4.0/wx291.htm
In short, wxWindow is a base class for all the visual objects in
wxPython, whereas a wxPanel is a container for widgets. Add a wxPanel
to a wxFrame whenever you want to have a bunch of typical controls on
the frame, such as text boxes and buttons.
--
Patrick K. O'Brien
Orbtech http://www.orbtech.com/web/pobrien
-----------------------------------------------
"Your source for Python programming expertise."
-----------------------------------------------