static gboolean window_key_press_event_cb (GtkWidget *widget, GdkEvent *event, GtkSearchBar *bar) { return gtk_search_bar_handle_event (bar, event); }
gboolean gt_games_view_handle_event(GtGamesView* self, GdkEvent* event) { GtGamesViewPrivate* priv = gt_games_view_get_instance_private(self); return gtk_search_bar_handle_event(GTK_SEARCH_BAR(priv->search_bar), event); }
static gboolean window_key_press_event_cb (GtkWidget *window, GdkEvent *event, gpointer data) { GtkShortcutsWindow *self = GTK_SHORTCUTS_WINDOW (window); GtkShortcutsWindowPrivate *priv = gtk_shortcuts_window_get_instance_private (self); return gtk_search_bar_handle_event (priv->search_bar, event); }
static gboolean cb_window_key_press_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) { const char *current_page = gtk_stack_get_visible_child_name (GTK_STACK (GsmApplication::get()->stack)); if (strcmp (current_page, "processes") == 0) return gtk_search_bar_handle_event (GTK_SEARCH_BAR (user_data), event); return FALSE; }