| 101 int rowspacing; |
101 int rowspacing; |
| 102 ui_callback onchange; |
102 ui_callback onchange; |
| 103 void *onchangedata; |
103 void *onchangedata; |
| 104 } UiGtkTabView; |
104 } UiGtkTabView; |
| 105 |
105 |
| 106 |
106 typedef struct UiSplitPane { |
| 107 typedef struct UiSplitPaneContainer { |
|
| 108 UiContainerPrivate container; |
|
| 109 GtkWidget *current_pane; |
107 GtkWidget *current_pane; |
| 110 CxList *children; |
108 CxList *children; |
| 111 UiOrientation orientation; |
109 UiOrientation orientation; |
| 112 int pos; |
110 int pos; |
| 113 int max; |
111 int max; |
| 114 int nchildren; |
112 int nchildren; |
| 115 int initial_position; |
113 int initial_position; |
| |
114 } UiSplitPane; |
| |
115 |
| |
116 typedef struct UiSplitPaneContainer { |
| |
117 UiContainerPrivate container; |
| |
118 UiSplitPane *splitpane; |
| 116 } UiSplitPaneContainer; |
119 } UiSplitPaneContainer; |
| 117 |
120 |
| 118 typedef struct UiHeaderbarContainer { |
121 typedef struct UiHeaderbarContainer { |
| 119 UiContainerPrivate container; |
122 UiContainerPrivate container; |
| 120 GtkWidget *centerbox; |
123 GtkWidget *centerbox; |
| 174 void ui_scrolledwindow_container_add(UiContainerPrivate *ct, GtkWidget *widget, UiLayout *layout); |
177 void ui_scrolledwindow_container_add(UiContainerPrivate *ct, GtkWidget *widget, UiLayout *layout); |
| 175 |
178 |
| 176 UiContainerX* ui_tabview_container(UiObject *obj, GtkWidget *tabview); |
179 UiContainerX* ui_tabview_container(UiObject *obj, GtkWidget *tabview); |
| 177 void ui_tabview_container_add(UiContainerPrivate *ct, GtkWidget *widget, UiLayout *layout); |
180 void ui_tabview_container_add(UiContainerPrivate *ct, GtkWidget *widget, UiLayout *layout); |
| 178 |
181 |
| 179 UiContainerX* ui_splitpane_container(UiObject *obj, GtkWidget *pane, UiOrientation orientation, int max, int init); |
182 UiSplitPane* ui_create_splitpane_data(GtkWidget *pane, UiOrientation orientation, int max, int init); |
| |
183 UiContainerX* ui_splitpane_container(UiObject *obj, GtkWidget *pane, UiSplitPane *data); |
| 180 void ui_splitpane_container_add(UiContainerPrivate *ct, GtkWidget *widget, UiLayout *layout); |
184 void ui_splitpane_container_add(UiContainerPrivate *ct, GtkWidget *widget, UiLayout *layout); |
| 181 |
185 |
| 182 int64_t ui_splitpane_get(UiInteger *i); |
186 int64_t ui_splitpane_get(UiInteger *i); |
| 183 void ui_splitpane_set(UiInteger *i, int64_t value); |
187 void ui_splitpane_set(UiInteger *i, int64_t value); |
| 184 |
188 |