[pygtk] how to set the active radiobutton without emitting a toggle or clicked signal?
Ryan Krauss
ryanlists at gmail.com
Sat Apr 23 13:50:14 WST 2011
I am setting the active radio button in a group using the set_active
method. I want to do this without causing the toggled or clicked
signals being emitted, or I at least want to somehow know the
difference in the program between the programming setting the active
radio and the user actually clicking the radio with the mouse (or by
using a keyboard accelerator that is mapped to "click"). Basically, I
have some code I want to run only when the user really clicked or used
a keyboard accel. I don't want the code to run when the program set
the radio. How can this be accomplished?
Thanks,
Ryan
More information about the pygtk
mailing list