$ pydoc wx.Sizer.Detach
Help on method Detach in wx.Sizer:
wx.Sizer.Detach = Detach(*args, **kwargs) unbound wx._core.Sizer method
Detach(self, item) -> bool
Detaches an item from the sizer without destroying it. This method
does not cause any layout or resizing to take place, call `Layout` to
do so. The *item* parameter can be either a window, a sizer, or the
zero-based index of the item to be detached. Returns True if the
child item
was found and detached.
To detach a spacer you need to use the zero-based index of the item in
the sizer. In other words, in the code above you would use
sizer.Detach(0) because the spacer was the first item added to the sizer.
>
> --
> You received this message because you are subscribed to the Google
> Groups "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
wxpython-user...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>
--
Robin Dunn
Software Craftsman
http://wxPython.org