[pygtk] Change state of a button

Casey McGinty casey.mcginty at gmail.com
Sat Jul 12 05:20:46 WST 2008


On Fri, Jul 11, 2008 at 1:37 AM, Frédéric <frederic.mantegazza at gbiloba.org>
wrote:

>
> I would like to see the corresponding button
> pressed, as if I did it with the mouse.
>  <http://www.async.com.br/faq/pygtk/>
>

So you want to see the button go in and then out, like in real time? I don't
think you can do this with a gtk.Button. Maybe you could rig a
gtk.ToggleButton to emulate the button press. I would think that if you
change the button state from active, to inactive, without adding any delay,
it will happen too fast for you you to see it on the screen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080711/be41170d/attachment.htm 


More information about the pygtk mailing list