[wxPython-users] Newbie question about sizers and panels
Robin Dunn
robin at alldunn.com
Mon Oct 23 01:07:49 PDT 2006
Seweryn Kokot wrote:
> Hello,
>
> Studying the tutorial AnotherTurorial on wxPyWiki and in many examples
> sizers are palced in Panel object whereas in Calculator.py example
> sizers are just in Frame object (on Panel object defined).
> Any explaination for that?
>
> Lets assume a trivial application which displays a graph of y = sin(a*x)
> function displayed in one window (frame). The layout: place to ask for
> parameter "a" and limits of the variable "x" and then below a png file
> is displayed. Is a panel object needed in this case?
It's not necessary, but it is usually best to use a panel.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list