[Gtk-sharp-list] VPaned Locking the Position

Adam Tauno Williams adam at morrison-ind.com
Thu May 15 09:57:34 EDT 2008


> I am using a VPaned control and I want to lock the position of the
> panel. How can I do this?  I have found the Paned.Move-Handle event,
> but that is not firing on my machine ever.

Did you try adding the GLib.ConnectBefore attribute to your event
handler?

>   Any ideas?
> Here is what I have tried:
> public void TopVerticalPanelMoved(object o, MoveHandleArgs e)
>             if ( LockPane )
>             {
>                 SecondVerticalPanel.Position = 0;
>             }
>         }

-- 
          Consonance: an Open Source .NET OpenGroupware client.
 Contact:awilliam at whitemiceconsulting.com   http://freshmeat.net/projects/consonance/



More information about the Gtk-sharp-list mailing list