[wxPython-users] can you please help me regarding Sizer Problem

Werner F. Bruhin werner.bruhin at free.fr
Thu Feb 8 01:49:30 PST 2007


Hi,

Amit15.Kumar at aricent.com wrote:
>
> hi All
> can anybody tell me how to hide sizer.
>
> I have creted one window x under that sizer s.
> i m trying hide this sizer by using
>
> s->Show(s,FALSE);
> s->Layout();
>
> but still its displaying me its children component(slider,button).
A sizer just controls the layout of things, it will not hide the 
items/controls it is laying out.  So you would have to do something like 
this:

slider.Hide()
buttton.Hide()
sizer.Hide()
sizersparent.Layout()

Werner




More information about the wxpython-users mailing list