Hi, David Eduardo Gomez Noguera <[EMAIL PROTECTED]> writes:
> I wanted to make a button behave lika a keyboard key, in that if i leave the key >pressed, it will repeat. > Thus i connected a button widget to a pressed signal, but when i press it its like >sometimes it was kust once, and other times 20 times at once or so. (The button is >supossed to increment the content of a label). > How can i make it so that if i held the button pressed, the signal will repeat >itself, but with a small, but noticeable, delay? or is this in the FAQ? > use a timeout: http://developer.gnome.org/doc/API/gtk/gtk-general.html#GTK-TIMEOUT-ADD Salut, Sven _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list