[wxPython-users] Accessing XRC Sizers
Robin Dunn
robin at alldunn.com
Fri Mar 23 14:50:00 PDT 2007
Mike Driscoll wrote:
> Hi,
>
> I am currently experimenting with XRC for my GUI and have discovered
> that I cannot Show() or Hide() sizers; at least, I can't figure out
> how to. There is no XML id to use to reference one, so I don't even
> know how to use a variable to acquire a handle to it. Could someone
> give me a pointer or two?
Use XRCCTRL to get a widget that is in the sizer, and then use
sizer = widget.GetContainingSizer()
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list