cleaning more teh tree appearance
This commit is contained in:
parent
828d58011f
commit
f4ac6773cc
15
hot.c
15
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_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;
|
||||||
|
|
Loading…
Reference in New Issue