diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-05-06 15:50:01 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:29 +0200 |
commit | 5369c7702909e6b6dd5c0790d2d68445ae9b0201 (patch) | |
tree | 110b646aea89d1760359cb01d1746f111097fa9d /gtk/gtkgesture.h | |
parent | f0940c962fe3df73cd15bd0d9de92e85158e37d5 (diff) | |
download | gtk+-5369c7702909e6b6dd5c0790d2d68445ae9b0201.tar.gz |
gesture: Simplify gesture/widget interaction public API
The propagation phase property/methods in GtkEventController are gone,
This is now set directly on the GtkWidget add/remove controller API,
which has been made private.
The only public bit now are the new functions gtk_gesture_attach() and
gtk_gesture_detach() that will use the private API underneath.
All callers have been updated.
Diffstat (limited to 'gtk/gtkgesture.h')
-rw-r--r-- | gtk/gtkgesture.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkgesture.h b/gtk/gtkgesture.h index a478a45826..c90b8f1f1a 100644 --- a/gtk/gtkgesture.h +++ b/gtk/gtkgesture.h @@ -120,6 +120,12 @@ GDK_AVAILABLE_IN_3_14 gboolean gtk_gesture_is_grouped_with (GtkGesture *gesture, GtkGesture *other); +GDK_AVAILABLE_IN_3_14 +void gtk_gesture_attach (GtkGesture *gesture, + GtkPropagationPhase phase); +GDK_AVAILABLE_IN_3_14 +void gtk_gesture_detach (GtkGesture *gesture); + G_END_DECLS #endif /* __GTK_GESTURE_H__ */ |