1 /* 2 * Copyright (C) 2020 Andrei Lișiță <andreii.lisita@gmail.com> 3 * 4 * SPDX-License-Identifier: LGPL-2.1+ 5 */ 6 7 #pragma once 8 9 #if !defined(_HANDY_INSIDE) && !defined(HANDY_COMPILATION) 10 #error "Only <handy.h> can be included directly." 11 #endif 12 13 #include "hdy-version.h" 14 15 #include <gtk/gtk.h> 16 17 G_BEGIN_DECLS 18 19 #define HDY_TYPE_STATUS_PAGE (hdy_status_page_get_type()) 20 21 HDY_AVAILABLE_IN_1_2 22 G_DECLARE_FINAL_TYPE (HdyStatusPage, hdy_status_page, HDY, STATUS_PAGE, GtkBin) 23 24 HDY_AVAILABLE_IN_1_2 25 GtkWidget *hdy_status_page_new (void); 26 27 HDY_AVAILABLE_IN_1_2 28 const gchar *hdy_status_page_get_icon_name (HdyStatusPage *self); 29 HDY_AVAILABLE_IN_1_2 30 void hdy_status_page_set_icon_name (HdyStatusPage *self, 31 const gchar *icon_name); 32 33 HDY_AVAILABLE_IN_1_2 34 const gchar *hdy_status_page_get_title (HdyStatusPage *self); 35 HDY_AVAILABLE_IN_1_2 36 void hdy_status_page_set_title (HdyStatusPage *self, 37 const gchar *title); 38 39 HDY_AVAILABLE_IN_1_2 40 const gchar *hdy_status_page_get_description (HdyStatusPage *self); 41 HDY_AVAILABLE_IN_1_2 42 void hdy_status_page_set_description (HdyStatusPage *self, 43 const gchar *description); 44 45 G_END_DECLS 46