Re: GtkExpander/GtkDisclosure



On Fri, 2003-03-14 at 16:35, Owen Taylor wrote:
> 
> Even if it's common, I think notify::expanded is fine... the only
> reason that notify connections are even slightly confusing is
> the additional pspec parameter, but you only need to learn to
> ignore that once.
> 

I agree that notify::expanded is fine.

> What do you mean exactly by adjusting the size of the toplevel?
> 
>  - If the toplevel doesn't allow resizing, then things just work.
>    The size of the toplevel will always be requested size of
>    it's contents.
> 
>  - If the toplevel does allow resizing, then things get more   
>    complicated... presumably the ideal behavior is:
> 
>     - When the expander is expanded, then the toplevel grows
>       by the requested size of the expanded section.
> 
>     - When the expander is contracted, then the toplevel shrinks
>       by the current size of the expanded section.
> 

I just remembered what I saw in the gnome-2.2 run dialog: when the 
expander is contracted, the toplevel is not resizable, when the expander
is expanded, the top level grows by a fixed amount and is made
resizable.

Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]