After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661622 - button hold to repeat
button hold to repeat
Status: RESOLVED DUPLICATE of bug 732915
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-10-13 04:06 UTC by Danielle Madeley
Modified: 2014-07-10 05:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Danielle Madeley 2011-10-13 04:06:30 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.
Comment 1 Matthias Clasen 2011-10-14 21:08:29 UTC
GTK+ is doing this in a number of places - e.g. notebook scroll arrows
Comment 2 Matthias Clasen 2014-07-10 05:03:03 UTC

*** This bug has been marked as a duplicate of bug 732915 ***