[sugar] hiding a gtk.widget without unmapping it

Alexandre Martinazzo alexandremartinazzo
Wed Aug 22 10:44:40 EDT 2007


I don't know if it fit to your case, but in Drawing Acticity (Oficina) we
are using Sugar Palettes to controls. They can pack any widget (as far as I
know).

Alexandre

2007/8/22, Dan Winship <dwinship at redhat.com>:
>
> Erik Blankinship wrote:
> > Other possible solutions:
> > Maybe I can use something like a tabbed panel (without showing the
> tabs)?
>
> Yes, that will work. Make a gtk.Notebook and call set_show_tabs(False)
> on it. Then make one page with the widgets and another page with nothing
> on it, and switch between the pages to hide/show the widgets.
>
> -- Dan
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20070822/802c74d0/attachment.htm 



More information about the Sugar-devel mailing list