10#ifndef __GUI_WIDGETS_EXPANDER_BOX_H__
11#define __GUI_WIDGETS_EXPANDER_BOX_H__
15#include "gtk_wrapper.h"
17#define EXPANDER_BOX_WIDGET_TYPE (expander_box_widget_get_type ())
18G_DECLARE_DERIVABLE_TYPE (
25typedef struct _GtkFlipper GtkFlipper;
37 ExpanderBoxWidget * expander_box,
50 GtkFlipper * btn_label_flipper;
52 GtkRevealer * revealer;
64typedef struct _ExpanderBoxWidgetClass
66 GtkBoxClass parent_class;
64typedef struct _ExpanderBoxWidgetClass {
…};
86 ExpanderBoxWidget * self,
87 const char * icon_name);
90expander_box_widget_add_content (ExpanderBoxWidget * self, GtkWidget * content);
99expander_box_widget_set_reveal_callback (
100 ExpanderBoxWidget * self,
105expander_box_widget_set_orientation (
106 ExpanderBoxWidget * self,
107 GtkOrientation orientation);
110expander_box_widget_set_vexpand (ExpanderBoxWidget * self,
bool expand);
113expander_box_widget_new (
115 const char * icon_name,
116 GtkOrientation orientation);
Helpers for loading and using resources such as icons.