[sugar] hiding a gtk.widget without unmapping it

Tomeu Vizoso tomeu at tomeuvizoso.net
Wed Aug 22 08:07:20 EDT 2007


Hi Erik,

have you considered making the widget insensitive?

Also, try explaining what you want to do, perhaps there are alternative
approaches to your problem.

Cheers,

Tomeu

On Wed, 2007-08-22 at 07:59 -0400, Erik Blankinship wrote:
> 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
>         >
>         >
> 
> _______________________________________________
> Sugar mailing list
> Sugar at lists.laptop.org
> http://lists.laptop.org/listinfo/sugar



More information about the Sugar mailing list