Re: Gtk::Expander contract



On Wed, Apr 23, 2008 at 10:49 AM, Christopher Lang
<christopher lang acurana de> wrote:
>
>  Hi,
>
>  when expanding the Gtk::Expander the containing window changes its size
>  accordingly and becomes bigger.
>
>  However when contracting the Expander, the window stays at its (bigger) size.
>
>  What would be the best way to make the window containing the Expander contract
>  too if the expander is contracted? Some notify signal maybe?

Resize the window manually: connect to property_expanded()'s signal as in
the snippet at
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Expander.html

    Marko


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