Re: blocking signals



Hi,

Peter Van Osta <pvosta unionbio-eu com> writes:

> I am using a spinbutton of which I change the value by interactively by
> pushing the arrows, but also from another place in the software. However
> I capture the "changed" signal, which is very annoying when changing the
> value of the spinbutton in the program as it makes the callback function
> respond also to the change of the spinbutton value.
> 
> What is the best way to temporarily block or interrupt the "changed"
> signal to the callback function ?

http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html#g-signal-handlers-block-by-func


Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]