Button press



Hello.
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?

Thank you in advance.

-- 
ICQ: 15605359 Bicho
                                  =^..^=
First, they ignore you. Then they laugh at you. Then they fight you. Then you win. Mahatma Gandhi.
........Por que no pensaran los hombres como los animales? Pink Panther........
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
アン アン アン とっても大好き




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]