[sugar] hiding a gtk.widget without unmapping it

Erik Blankinship erikb at mediamods.com
Wed Aug 22 07:59:23 EDT 2007


One way, which is not preferable, is to use gtk.Fixed layouts on containers.

Any other ideas, sugar people?

On 8/22/07, Marco Pesenti Gritti <mpgritti at gmail.com> wrote:
>
> There is no way to do that afaik...
>
> On 8/22/07, Erik Blankinship <erikb at mediamods.com> wrote:
> > gtk.widget.hide() makes a widget disappear by removing it (unmapping)
> it.
> > How do i just make a widget not appear? (I want to toggle the widget's
> > visibility and I don't want the layout around the widgets to change).
> >
> > In java, the call would be setVisible(false), and while the widget
> wouldn't
> > show up on screen, the layout manager would still leave space for it.
> >
> > _______________________________________________
> > 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/1b40c670/attachment.htm 


More information about the Sugar mailing list