summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/glade/glade-hdy-search-bar.h
blob: 05306b88fd5bf261b531c399d1378087a6d56d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright (C) 2020 Alexander Mikhaylenko <alexm@gnome.org>
 *
 * SPDX-License-Identifier: LGPL-2.1+
 */

#pragma once

#include <gladeui/glade.h>

#include <handy.h>

void glade_hdy_search_bar_post_create (GladeWidgetAdaptor *adaptor,
                                       GObject            *widget,
                                       GladeCreateReason   reason);

void glade_hdy_search_bar_add_child (GladeWidgetAdaptor *adaptor,
                                     GObject            *object,
                                     GObject            *child);
void glade_hdy_search_bar_remove_child (GladeWidgetAdaptor *adaptor,
                                        GObject            *object,
                                        GObject            *child);
void glade_hdy_search_bar_replace_child (GladeWidgetAdaptor *adaptor,
                                         GtkWidget          *container,
                                         GtkWidget          *current,
                                         GtkWidget          *new_widget);

GList *glade_hdy_search_bar_get_children (GladeWidgetAdaptor *adaptor,
                                          GObject            *widget);

gboolean glade_hdy_search_bar_add_verify (GladeWidgetAdaptor *adaptor,
                                          GtkWidget          *container,
                                          GtkWidget          *child,
                                          gboolean            user_feedback);