diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2018-03-11 13:53:17 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-04-05 19:26:54 +0200 |
commit | 20c1e24b6061628647494e181d89686ef13a3c11 (patch) | |
tree | cf0235ed7591f3cc10c15de092128941c7104871 /gtk/gtksearchentry.h | |
parent | ad5f0a63a3359df23abdd66e3cd01bd02fdd9f82 (diff) | |
download | gtk+-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.h | 8 |
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__ */ |