diff --git a/hot.c b/hot.c index fd2811f..84ddf9a 100644 --- a/hot.c +++ b/hot.c @@ -13,3 +13,13 @@ // GTK_ORIENTATION_VERTICAL GTK_ORIENTATION_HORIZONTAL +GtkBox *get_experimental_box_new(){ + GtkBox *experimental_box = GTK_BOX(gtk_box_new (GTK_ORIENTATION_VERTICAL, 0)); + gtk_box_append (experimental_box, GTK_WIDGET(gtk_separator_new (GTK_ORIENTATION_HORIZONTAL))); + gtk_box_append (experimental_box, GTK_WIDGET(gtk_label_new ("\n\n"))); + + gtk_box_append (experimental_box, gtk_expander_new ("hello !")); + + return experimental_box; +} + diff --git a/hot.h b/hot.h index 9a6cce3..d34f2e3 100644 --- a/hot.h +++ b/hot.h @@ -13,4 +13,4 @@ #include "contain.h" GtkWidget *get_run_rules_page_new(); - +GtkBox *get_experimental_box_new(); diff --git a/hot.o b/hot.o index a1a8098..9b8ef79 100644 Binary files a/hot.o and b/hot.o differ diff --git a/myprogram b/myprogram index d65bcce..0824568 100755 Binary files a/myprogram and b/myprogram differ diff --git a/tree.c b/tree.c index 8ebe8d4..fecfbc4 100644 --- a/tree.c +++ b/tree.c @@ -1,6 +1,7 @@ #include #include +#include "hot.h" #include "warm.h" #include "cold.h" #include "display.h" @@ -261,8 +262,10 @@ static void ui_create_tree (GtkWidget *target_widget) } GtkBox *get_rules_user_tree_new(){ - GtkBox *tree_sketch = GTK_BOX(gtk_box_new (GTK_ORIENTATION_VERTICAL, 0)); - ui_create_tree (GTK_WIDGET (tree_sketch)); - return tree_sketch; + GtkBox *tree_sketch_box = GTK_BOX(gtk_box_new (GTK_ORIENTATION_VERTICAL, 0)); + ui_create_tree (GTK_WIDGET (tree_sketch_box)); + + gtk_box_append (tree_sketch_box, GTK_WIDGET (get_experimental_box_new())); + return tree_sketch_box; } diff --git a/tree.d b/tree.d index 517df2c..a2c33ca 100644 --- a/tree.d +++ b/tree.d @@ -1,3 +1,3 @@ -tree.o: tree.c warm.h \ +tree.o: tree.c hot.h warm.h \ /gnu/store/fkmpkdav2zmz1k72989bdgpdrfac7rz1-glib-2.78.0/include/glib-2.0/glib.h \ cold.h display.h contain.h texts.h diff --git a/tree.o b/tree.o index 70527db..17d87c4 100644 Binary files a/tree.o and b/tree.o differ