gtk_paned_set_start and end_child

This commit is contained in:
Jean Sirmai 2024-04-28 23:08:57 +02:00
parent 5f2b9cad30
commit e01ec813bd
Signed by: jean
GPG Key ID: FB3115C340E057E3
2 changed files with 2 additions and 0 deletions

BIN
exec.o

Binary file not shown.

2
hot.h
View File

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