diff --git a/hot.c b/hot.c index fea9c76..bfe41d0 100644 --- a/hot.c +++ b/hot.c @@ -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_label_new ("\n\n"))); - gtk_box_append (experimental_box, gtk_expander_new ("hello !")); - GtkExpander *expand = gtk_expander_new ("it's me !"); - gtk_expander_set_expanded (GTK_WIDGET(expand), TRUE); - gtk_box_append (experimental_box, expand); + GtkExpander *hello = GTK_EXPANDER (gtk_expander_new ("hello !")); + gtk_expander_set_expanded (GTK_EXPANDER (hello), TRUE); + gtk_widget_set_margin_start (GTK_WIDGET (hello), 0); +// 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"))); return experimental_box; diff --git a/hot.o b/hot.o index 1394a6a..9fdc3c3 100644 Binary files a/hot.o and b/hot.o differ diff --git a/myprogram b/myprogram index 624a990..40bddc0 100755 Binary files a/myprogram and b/myprogram differ