According to this faq, you need to add an attribute to the handler for this. This C # code works:
[GLib.ConnectBefore] protected void OnConfigureEvent (object sender, ConfigureEventArgs a) { label1.Text = "Changed"; }
In order for this to work in F # code, you probably need a handler for the instance method instead of lambda, so you need to attach this attribute. I suggest that you really should use some other event, although I'm not sure what.
source share