Hello,

Is there a way of distinguishing if the value of a control is changed
by the user or by code in some part of my program?

To clarify, I'm setting the value of a spinbutton with code, i.e.
spinbutton.set_value(...) . This causes the value_changed signal to be
sent to my program. The behavior is the same as when a user modifies
the value. In the callback I need to be able to distinguishing what
caused the signal to be fired. Is this possible? Or, better yet, is it
possible somehow to not have the signal fired when you set the value
programatically?

Thanks in advance,

-- Mikael
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to