diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-03-21 17:14:53 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:22 +0200 |
commit | 25ece22013a5b8bb050734699572bd69941a5200 (patch) | |
tree | b35d469c0bda5b5f746a6c6e5ff79e117ba6504f /gtk/gtkgesture.h | |
parent | 7f787e1d3bc0fda89fd3bcd1eff3adeed4d5aa74 (diff) | |
download | gtk+-25ece22013a5b8bb050734699572bd69941a5200.tar.gz |
gesture: Add gtk_gesture_[sg]et_window()
This can be used to restrict a gesture to an specific GdkWindow,
all events will be checked to happen on/within that window.
Diffstat (limited to 'gtk/gtkgesture.h')
-rw-r--r-- | gtk/gtkgesture.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkgesture.h b/gtk/gtkgesture.h index 96b4d58da1..21e70261d9 100644 --- a/gtk/gtkgesture.h +++ b/gtk/gtkgesture.h @@ -126,6 +126,13 @@ gboolean gtk_gesture_is_recognized (GtkGesture *gesture); GDK_AVAILABLE_IN_3_14 gboolean gtk_gesture_check (GtkGesture *gesture); +GDK_AVAILABLE_IN_3_14 +GdkWindow * gtk_gesture_get_window (GtkGesture *gesture); + +GDK_AVAILABLE_IN_3_14 +void gtk_gesture_set_window (GtkGesture *gesture, + GdkWindow *window); + G_END_DECLS #endif /* __GTK_GESTURE_H__ */ |