summaryrefslogtreecommitdiff
path: root/gtk/gtkgesturemultipressprivate.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-05-12 17:02:03 +0200
committerCarlos Garnacho <carlosg@gnome.org>2014-05-23 19:54:30 +0200
commitd2db31ee5e0cc597c1418cc3e0bf6c8aa9382979 (patch)
treea70e610316c842cafb1a3bb08522627668aa54b8 /gtk/gtkgesturemultipressprivate.h
parent04c8b4c7056b45e17b82d83dc079360c71f18923 (diff)
downloadgtk+-d2db31ee5e0cc597c1418cc3e0bf6c8aa9382979.tar.gz
multipress: Add matching ::released signal
This signal will always be paired with a ::pressed signal, unless the sequence is cancelled, or the controller is reset. the n_press argument in the signal always matches the ::press signal one, even if GtkGestureMultiPress::stopped was emitted in between.
Diffstat (limited to 'gtk/gtkgesturemultipressprivate.h')
-rw-r--r--gtk/gtkgesturemultipressprivate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkgesturemultipressprivate.h b/gtk/gtkgesturemultipressprivate.h
index 58d400d10d..ae74979633 100644
--- a/gtk/gtkgesturemultipressprivate.h
+++ b/gtk/gtkgesturemultipressprivate.h
@@ -31,10 +31,14 @@ struct _GtkGestureMultiPressClass
{
GtkGestureSingleClass parent_class;
- gboolean (* pressed) (GtkGestureMultiPress *gesture,
+ void (* pressed) (GtkGestureMultiPress *gesture,
gint n_press,
gdouble x,
gdouble y);
+ void (* released) (GtkGestureMultiPress *gesture,
+ gint n_press,
+ gdouble x,
+ gdouble y);
void (* stopped) (GtkGestureMultiPress *gesture);
/*<private>*/