Re: Can I collapse a Panel in wxPython?




nuffnough@xxxxxxxxx wrote:
Hi.

I have a gui with one frame and 5 panels. The second panel will only
be required in some cases, so I am wondering if there is some way I
can only create this panel in the circumstances where it is required,
confirmed by a simple len(list) > 1

If it is possible, I am wondering how I might go about it.... I am not
sure where to put an if statement as there are many different referrals
to panel_2

Letting me know or just pointing me to an example of such a thing would
be fabulous.

TIA

Check out http://wiki.wxpython.org/index.cgi/FoldPanelBar

Roger

.



Relevant Pages

  • Re: Lightweight Theater walls
    ... The walls should not warp while stored. ... I am thinking of some sort of panel material attached to a frame. ... I think I have found satisfactory frame materials. ...
    (rec.arts.theatre.stagecraft)
  • Re: Frames links have stopped working in IE and Firefox but work in Opera
    ... >> panels of the frame whose links load different pages into the main panel ... >> load the new link in the whole page instead of in the panel of the frame. ... I'm not convinced that it needs the animated rollover images. ...
    (uk.net.web.authoring)
  • Re: Lightweight Theater walls
    ... The walls should not warp while stored. ... I am thinking of some sort of panel material attached to a frame. ... I think I have found satisfactory frame materials. ...
    (rec.arts.theatre.stagecraft)
  • Re: Newbie wxPython questions.
    ... which is a panel. ... is the frame. ... close the app. ... def EvtCheckBox: ...
    (comp.lang.python)
  • something wrong in wx
    ... but when I try to add GUI there is an error: ... # The buttons sizer will put them in a row with resizeable ... # Fit the frame to the needs of the sizer. ... # automatically resize the panel as needed. ...
    (comp.lang.python)