Casey McGinty | 11 Jul 23:20

Re: Change state of a button

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.


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.

_______________________________________________
pygtk mailing list   pygtk <at> daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Gmane