cleaning gtk_box_append (tree_sketch_box, GTK_WIDGET (get_experimental_box_new()));
This commit is contained in:
parent
dbe0a9e315
commit
ea9d38a66e
10
hot.c
10
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;
|
||||
}
|
||||
|
||||
|
|
2
hot.h
2
hot.h
|
@ -13,4 +13,4 @@
|
|||
#include "contain.h"
|
||||
|
||||
GtkWidget *get_run_rules_page_new();
|
||||
|
||||
GtkBox *get_experimental_box_new();
|
||||
|
|
9
tree.c
9
tree.c
|
@ -1,6 +1,7 @@
|
|||
#include <stdio.h>
|
||||
#include <gtk-4.0/gtk/gtk.h>
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
|
|
2
tree.d
2
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
|
||||
|
|
Loading…
Reference in New Issue