gtk_paned_set_start and end_child
This commit is contained in:
parent
5f2b9cad30
commit
e01ec813bd
2
hot.h
2
hot.h
|
@ -41,6 +41,8 @@ void activate (GtkApplication *app, gpointer user_data) {
|
||||||
GtkWidget *hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
|
GtkWidget *hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
|
||||||
GtkWidget *frame1 = gtk_frame_new ("hello ?");
|
GtkWidget *frame1 = gtk_frame_new ("hello ?");
|
||||||
GtkWidget *frame2 = gtk_frame_new ("it's me !");
|
GtkWidget *frame2 = gtk_frame_new ("it's me !");
|
||||||
|
gtk_paned_set_start_child (GTK_PANED(hpaned), GTK_WIDGET (frame1));
|
||||||
|
gtk_paned_set_end_child (GTK_PANED(hpaned), GTK_WIDGET (frame2));
|
||||||
// gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_IN);
|
// gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_IN);
|
||||||
// gtk_frame_set_shadow_type (GTK_FRAME (frame2), GTK_SHADOW_IN);
|
// gtk_frame_set_shadow_type (GTK_FRAME (frame2), GTK_SHADOW_IN);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue