[pygtk] Change state of a button

Frédéric frederic.mantegazza at gbiloba.org
Fri Jul 11 19:37:34 WST 2008


I have some key binding which do the same things as some buttons do. So,
when pressing the key, I would like to see the corresponding button
pressed, as if I did it with the mouse.

I tried to call button.pressed(), but it only emits the signal.

Is it possible to change the state of the button? I didn't find the
methods for that...


More information about the pygtk mailing list