On Thu, Jan 04, 2007 at 01:21:41PM +0100, [EMAIL PROTECTED] wrote: > > I was thinking abouit ButtonReleaseEvent. When you have finish changing value, > you released the button ... so it should be good. But on the HScale, the event > is not raised when you changing value. Only if you click around it (like > around > the number)... > > Why the event is not raised at the end of changing value ?
Probably the HScale widget is catching that event, and not letting it propogate. You probably want to use the [GLib.ConnectBefore] attribute on the method used as a callback, so you get the event fired before HScale gets it and squashes it. Note that you will be processing the release before HScale gets to, so you may want to actually queue any work using GLib.Idle.Add, so it happens after HScale does whatever it does on button release. -pete -- Peter Johanson <[EMAIL PROTECTED]> _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
