GNOME Bugzilla – Bug 661622
button hold to repeat
Last modified: 2014-07-10 05:03:03 UTC
Occasionally, when doing things like an on-screen keyboard or dialpad it's useful to have keyboard-like repeating for the buttons, similar to how press-and-hold works for a GtkSpinButton. I am proposing the addition of a signal, something like ::button-press-and-hold which fires immediately on ::button-press-event, and then after gtk-timeout-initial and then repeatedly after gtk-timeout-repeat until ::button-release-event is fired. In order to not conflict with press-and-hold right-click (bug #315645) I think we should introduce a method call that lets you choose which press-and-hold behaviour you would like.
GTK+ is doing this in a number of places - e.g. notebook scroll arrows
*** This bug has been marked as a duplicate of bug 732915 ***