cleaning more teh tree appearance

This commit is contained in:
Jean Sirmai 2024-05-15 07:29:30 +02:00
parent 828d58011f
commit f4ac6773cc
Signed by: jean
GPG Key ID: FB3115C340E057E3
3 changed files with 11 additions and 4 deletions

15
hot.c
View File

@ -18,10 +18,17 @@ GtkBox *get_experimental_box_new(){
gtk_box_append (experimental_box, GTK_WIDGET(gtk_separator_new (GTK_ORIENTATION_HORIZONTAL))); 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_WIDGET(gtk_label_new ("\n\n")));
gtk_box_append (experimental_box, gtk_expander_new ("hello !")); GtkExpander *hello = GTK_EXPANDER (gtk_expander_new ("hello !"));
GtkExpander *expand = gtk_expander_new ("it's me !"); gtk_expander_set_expanded (GTK_EXPANDER (hello), TRUE);
gtk_expander_set_expanded (GTK_WIDGET(expand), TRUE); gtk_widget_set_margin_start (GTK_WIDGET (hello), 0);
gtk_box_append (experimental_box, expand); // g_signal_connect(hello, "activate", G_CALLBACK(on_tree_expander_toggled), hello);
gtk_box_append (experimental_box, GTK_WIDGET (hello));
GtkExpander *it_s_me = GTK_EXPANDER (gtk_expander_new ("it's me !"));
gtk_expander_set_expanded (GTK_EXPANDER (it_s_me), FALSE);
gtk_widget_set_margin_start(GTK_WIDGET (it_s_me), 20);
gtk_box_append (experimental_box, GTK_WIDGET (it_s_me));
gtk_box_append (experimental_box, GTK_WIDGET(gtk_label_new ("\n\n"))); gtk_box_append (experimental_box, GTK_WIDGET(gtk_label_new ("\n\n")));
return experimental_box; return experimental_box;

BIN
hot.o

Binary file not shown.

BIN
myprogram

Binary file not shown.