10#ifndef __GUI_WIDGETS_EXPANDER_BOX_H__
11#define __GUI_WIDGETS_EXPANDER_BOX_H__
13#include "common/utils/resources.h"
14#include "gui/backend/gtk_widgets/gtk_wrapper.h"
16#define EXPANDER_BOX_WIDGET_TYPE (expander_box_widget_get_type ())
17G_DECLARE_DERIVABLE_TYPE (
24typedef struct _GtkFlipper GtkFlipper;
36 ExpanderBoxWidget * expander_box,
49 GtkFlipper * btn_label_flipper;
51 GtkRevealer * revealer;
63typedef struct _ExpanderBoxWidgetClass
65 GtkBoxClass parent_class;
85 ExpanderBoxWidget * self,
86 const char * icon_name);
89expander_box_widget_add_content (ExpanderBoxWidget * self, GtkWidget * content);
98expander_box_widget_set_reveal_callback (
99 ExpanderBoxWidget * self,
104expander_box_widget_set_orientation (
105 ExpanderBoxWidget * self,
106 GtkOrientation orientation);
109expander_box_widget_set_vexpand (ExpanderBoxWidget * self,
bool expand);
112expander_box_widget_new (
114 const char * icon_name,
115 GtkOrientation orientation);