Hello, i try to write a button callback, that repeatedly calls a function, as long as the button is pressed. For security reasons i don't want to wait for the released signal, but check the button state continuously. My code would look like this:
while (button_is_pressed): move_robot() Unfortunately i cannot find a according variable in pygtk. Is there a variable that holds the button state or what would be the gtk way to do this? Tanks in advance, Karsten Henke _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
