4#ifndef __GUI_WIDGETS_TWO_COL_EXPANDER_BOX_H__
5#define __GUI_WIDGETS_TWO_COL_EXPANDER_BOX_H__
9#include "gtk_wrapper.h"
11#define TWO_COL_EXPANDER_BOX_WIDGET_TYPE \
12 (two_col_expander_box_widget_get_type ())
13G_DECLARE_DERIVABLE_TYPE (
14 TwoColExpanderBoxWidget,
15 two_col_expander_box_widget,
17 TWO_COL_EXPANDER_BOX_WIDGET,
20#define TWO_COL_EXPANDER_BOX_DEFAULT_HORIZONTAL_SPACING 4
21#define TWO_COL_EXPANDER_BOX_DEFAULT_VERTICAL_SPACING 0
34 GtkScrolledWindow * scroll;
46 int horizontal_spacing;
62} TwoColExpanderBoxWidgetPrivate;
64typedef struct _TwoColExpanderBoxWidgetClass
64typedef struct _TwoColExpanderBoxWidgetClass {
…};
72TwoColExpanderBoxWidgetPrivate *
73two_col_expander_box_widget_get_private (TwoColExpanderBoxWidget * self);
79two_col_expander_box_widget_set_horizontal_spacing (
80 TwoColExpanderBoxWidget * self,
81 int horizontal_spacing);
87two_col_expander_box_widget_set_min_max_size (
88 TwoColExpanderBoxWidget * self,
98two_col_expander_box_widget_set_scroll_policy (
99 TwoColExpanderBoxWidget * self,
100 GtkPolicyType hscrollbar_policy,
101 GtkPolicyType vscrollbar_policy);
108two_col_expander_box_widget_add_pair (
109 TwoColExpanderBoxWidget * self,
111 GtkWidget * widget2);
118two_col_expander_box_widget_add_single (
119 TwoColExpanderBoxWidget * self,
126two_col_expander_box_widget_remove_children (TwoColExpanderBoxWidget * self);
132two_col_expander_box_widget_get_content_box (TwoColExpanderBoxWidget * self);