summaryrefslogtreecommitdiff
path: root/gtk/gtksearchentry.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2018-03-11 13:53:17 +0100
committerCarlos Garnacho <carlosg@gnome.org>2018-04-05 19:26:54 +0200
commit20c1e24b6061628647494e181d89686ef13a3c11 (patch)
treecf0235ed7591f3cc10c15de092128941c7104871 /gtk/gtksearchentry.h
parentad5f0a63a3359df23abdd66e3cd01bd02fdd9f82 (diff)
downloadgtk+-20c1e24b6061628647494e181d89686ef13a3c11.tar.gz
gtksearchbar/entry: Add [gs]et_key_capture_widget() API calls
This lets these widgets actively pull events from a widget, instead of passively being fed events.
Diffstat (limited to 'gtk/gtksearchentry.h')
-rw-r--r--gtk/gtksearchentry.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtksearchentry.h b/gtk/gtksearchentry.h
index 2a8d562df6..cdabb9fcda 100644
--- a/gtk/gtksearchentry.h
+++ b/gtk/gtksearchentry.h
@@ -71,6 +71,14 @@ GDK_AVAILABLE_IN_ALL
gboolean gtk_search_entry_handle_event (GtkSearchEntry *entry,
GdkEvent *event);
+GDK_AVAILABLE_IN_ALL
+void gtk_search_entry_set_key_capture_widget (GtkSearchEntry *entry,
+ GtkWidget *widget);
+GDK_AVAILABLE_IN_ALL
+GtkWidget* gtk_search_entry_get_key_capture_widget (GtkSearchEntry *entry);
+
+
+
G_END_DECLS
#endif /* __GTK_SEARCH_ENTRY_H__ */