On Saturday, 07/24/2010, 08:12 -0400 Bojan Rajkovic wrote:
> On Sat, Jul 24, 2010 at 3:07 AM, Zach Bean <z...@forty2.com> wrote:
>         
>         My plan was to listen for the "expanded" property to change,
>         then use
>         vbox.SetChildPacking() to change the "expand" flag
>         accordingly.  There may
>         well be a better (or just different) way of doing this, but
>         neither my tired
>         brain nor Google seem to have turned up much.
>         
>         Much appreciated,
>         Zach Bean
> 
> 
> Hi Zach,
> 
> 
> You can listen to the Activated property on Gtk.Expander and then
> check the Expanded property to figure out if it's open or closed.
> 
> 
> --Bojan 

Hi Bojan,

I'm not sure how I missed that, but you're right, it works just as well.
Thanks!

Zach




_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to