131 GtkWidget *centerbox; |
132 GtkWidget *centerbox; |
132 int part; |
133 int part; |
133 UiHeaderbarAlternative alternative; /* only used by fallback headerbar */ |
134 UiHeaderbarAlternative alternative; /* only used by fallback headerbar */ |
134 } UiHeaderbarContainer; |
135 } UiHeaderbarContainer; |
135 |
136 |
|
137 typedef struct UiGtkItemListContainer { |
|
138 UiObject *parent; |
|
139 GtkWidget *widget; |
|
140 UiContainer *container; |
|
141 void (*create_ui)(UiObject *, int, void *, void *); |
|
142 void *userdata; |
|
143 UiSubContainerType subcontainer; |
|
144 CxMap *current_items; |
|
145 int margin; |
|
146 int spacing; |
|
147 int columnspacing; |
|
148 int rowspacing; |
|
149 bool remove_items; |
|
150 } UiGtkItemListContainer; |
|
151 |
136 GtkWidget* ui_gtk_vbox_new(int spacing); |
152 GtkWidget* ui_gtk_vbox_new(int spacing); |
137 GtkWidget* ui_gtk_hbox_new(int spacing); |
153 GtkWidget* ui_gtk_hbox_new(int spacing); |
138 |
154 |
139 GtkWidget* ui_subcontainer_create( |
155 GtkWidget* ui_subcontainer_create( |
140 UiSubContainerType type, |
156 UiSubContainerType type, |