[Gtk-sharp-list] VPaned Locking the Position

Billy Schoenberg wasbridge at gmail.com
Thu May 15 10:03:34 EDT 2008


I am using Glade and autoconnect.  Would it be best to connect this one
myself?  Can you show me an example of how to use that.

Billy

On Thu, May 15, 2008 at 3:57 PM, Adam Tauno Williams <adam at morrison-ind.com>
wrote:

> > 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<Contact%3Aawilliam at whitemiceconsulting.com>
> http://freshmeat.net/projects/consonance/
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080515/29a4723f/attachment.html 


More information about the Gtk-sharp-list mailing list