summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/glade/glade-hdy-header-bar.h
blob: 8f6c84a01e8f721fcd534db3c68e251809a703c3 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
 * 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_header_bar_post_create (GladeWidgetAdaptor *adaptor,
                                       GObject            *container,
                                       GladeCreateReason   reason);

void glade_hdy_header_bar_action_activate (GladeWidgetAdaptor *adaptor,
                                           GObject            *object,
                                           const gchar        *action_path);

void glade_hdy_header_bar_child_action_activate (GladeWidgetAdaptor *adaptor,
                                                 GObject            *container,
                                                 GObject            *object,
                                                 const gchar        *action_path);

void glade_hdy_header_bar_get_property (GladeWidgetAdaptor *adaptor,
                                        GObject            *object,
                                        const gchar        *id,
                                        GValue             *value);
void glade_hdy_header_bar_set_property (GladeWidgetAdaptor *adaptor,
                                        GObject            *object,
                                        const gchar        *id,
                                        const GValue       *value);

void glade_hdy_header_bar_add_child (GladeWidgetAdaptor *adaptor,
                                     GObject            *parent,
                                     GObject            *child);
void glade_hdy_header_bar_remove_child (GladeWidgetAdaptor *adaptor,
                                        GObject            *object,
                                        GObject            *child);
void glade_hdy_header_bar_replace_child (GladeWidgetAdaptor *adaptor,
                                         GObject            *container,
                                         GObject            *current,
                                         GObject            *new_widget);

gboolean glade_hdy_header_bar_verify_property (GladeWidgetAdaptor *adaptor,
                                               GObject            *object,
                                               const gchar        *id,
                                               const GValue       *value);

GList *glade_hdy_header_bar_get_children (GladeWidgetAdaptor *adaptor,
                                          GObject            *container);

void glade_hdy_header_bar_child_set_property (GladeWidgetAdaptor *adaptor,
                                              GObject            *container,
                                              GObject            *child,
                                              const gchar        *property_name,
                                              const GValue       *value);