Can I collapse a Panel in wxPython?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Can I collapse a Panel in wxPython?

From: <nuffnough@gmail.com>
Date: Sun Apr 30 2006 - 17:25:20 CEST

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
Received on Mon May 1 00:47:19 2006