ui/gtk/container.h

changeset 65
4697592e24ba
parent 59
eb6611be50c7
child 66
8d490d97aab8
--- 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);
 

mercurial