hdy-status-page.h 1.29 KB
Newer Older
Andrei Lișiță's avatar
Andrei Lișiță committed
1
2
3
/*
 * Copyright (C) 2020 Andrei Lișiță <andreii.lisita@gmail.com>
 *
4
 * SPDX-License-Identifier: LGPL-2.1-or-later
Andrei Lișiță's avatar
Andrei Lișiță committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
 */

#pragma once

#if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION)
#error "Only <handy.h> can be included directly."
#endif

#include "hdy-version.h"

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define HDY_TYPE_STATUS_PAGE (hdy_status_page_get_type())

Adrien Plazas's avatar
Adrien Plazas committed
21
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
22
23
G_DECLARE_FINAL_TYPE (HdyStatusPage, hdy_status_page, HDY, STATUS_PAGE, GtkBin)

Adrien Plazas's avatar
Adrien Plazas committed
24
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
25
26
GtkWidget       *hdy_status_page_new (void);

Adrien Plazas's avatar
Adrien Plazas committed
27
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
28
const gchar     *hdy_status_page_get_icon_name (HdyStatusPage *self);
Adrien Plazas's avatar
Adrien Plazas committed
29
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
30
31
32
void             hdy_status_page_set_icon_name (HdyStatusPage *self,
                                                const gchar   *icon_name);

Adrien Plazas's avatar
Adrien Plazas committed
33
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
34
const gchar     *hdy_status_page_get_title (HdyStatusPage *self);
Adrien Plazas's avatar
Adrien Plazas committed
35
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
36
37
38
void             hdy_status_page_set_title (HdyStatusPage *self,
                                            const gchar   *title);

Adrien Plazas's avatar
Adrien Plazas committed
39
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
40
const gchar     *hdy_status_page_get_description (HdyStatusPage *self);
Adrien Plazas's avatar
Adrien Plazas committed
41
HDY_AVAILABLE_IN_1_2
Andrei Lișiță's avatar
Andrei Lișiță committed
42
43
44
45
void             hdy_status_page_set_description (HdyStatusPage *self,
                                                  const gchar   *description);

G_END_DECLS