cleaning gtk_box_append (tree_sketch_box, GTK_WIDGET (get_experimental_box_new()));

This commit is contained in:
Jean Sirmai 2024-05-15 06:46:11 +02:00
parent dbe0a9e315
commit ea9d38a66e
Signed by: jean
GPG Key ID: FB3115C340E057E3
7 changed files with 18 additions and 5 deletions

10
hot.c
View File

@ -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
View File

@ -13,4 +13,4 @@
#include "contain.h"
GtkWidget *get_run_rules_page_new();
GtkBox *get_experimental_box_new();

BIN
hot.o

Binary file not shown.

BIN
myprogram

Binary file not shown.

9
tree.c
View File

@ -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
View File

@ -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

BIN
tree.o

Binary file not shown.