[pygtk] How to show/hide gtk.Paned?
timomlists at gmail.com
Sat Jun 5 17:24:27 WST 2010
On 05-06-10 03:20, Smartboy wrote:
> Basically, what I am looking for is the ability to show or hide
> portions of a gtk.Paned, similar to how Gedit can show/hide its side
> pane and bottom pane. I would think that since Gedit is able to do
> this, it should be possible with PyGTK, unless it hasn't been
> implemented yet. I have already tried using .hide_all() on the
> gtk.ScrolledWindow which I wish to hide, but it doesn't seem to work,
> and the pane along with the text area are still there. Anyone have any
> idea where I should look, or what I should do?
I just tested it and it works with widget.hide() and vpaned.remove(child).
So if you have a notebook in the vpaned, you can do:
> Thanks to whomever helps,
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk