[Gtk-sharp-list] Window resizing event

Adam Tauno Williams adam at morrison-ind.com
Mon Aug 13 14:05:09 EDT 2007


> > Try using the GLib.ConnectBefore attribute on the event method.
> And how did I use this attribute?

? Just apply the attribute to the method.

[GLib.ConnectBefore]
public void OnButonPressEvent(object sender, ButtonPressEventArgs args)
{
...

This adjusts the order of the 'stacking' when you assign ["blah.OnWoof
+= new WoofHandler(myWoof);"] a handler.  Instead of getting added at
the end of the notification chain it gets put at the beginning.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070813/c1ff74f9/attachment.bin 


More information about the Gtk-sharp-list mailing list