diff -r 6ef2c7f73a30 -r 4697592e24ba ui/gtk/container.h --- a/ui/gtk/container.h Mon Jan 05 14:47:19 2015 +0100 +++ b/ui/gtk/container.h Mon Jan 05 18:47:07 2015 +0100 @@ -53,6 +53,8 @@ struct UiLayout { UiLayoutBool fill; + UiBool newline; + char *label; }; struct UiContainer { @@ -66,6 +68,16 @@ UiBool has_fill; } UiBoxContainer; +typedef struct UiGridContainer { + UiContainer container; + int x; + int y; +} UiGridContainer; + +typedef struct UiTabViewContainer { + UiContainer container; +} UiTabViewContainer; + GtkWidget* ui_gtk_vbox_new(); GtkWidget* ui_gtk_hbox_new(); @@ -75,6 +87,12 @@ UiContainer* ui_box_container(UiObject *obj, GtkWidget *box); void ui_box_container_add(UiContainer *ct, GtkWidget *widget, UiBool fill); +UiContainer* ui_grid_container(UiObject *obj, GtkWidget *grid); +void ui_grid_container_add(UiContainer *ct, GtkWidget *widget, UiBool fill); + +UiContainer* ui_tabview_container(UiObject *obj, GtkWidget *tabview); +void ui_tabview_container_add(UiContainer *ct, GtkWidget *widget, UiBool fill); + void ui_split_container_add1(UiContainer *ct, GtkWidget *widget, UiBool fill); void ui_split_container_add2(UiContainer *ct, GtkWidget *widget, UiBool fill);