ui/gtk/window.c

changeset 148
4e0b38bbd6c4
parent 140
c03c338a7dcf
child 174
0358f1d9c506
equal deleted inserted replaced
147:2e384acc89a6 148:4e0b38bbd6c4
120 } 120 }
121 } 121 }
122 122
123 // window content 123 // window content
124 // the content has a (TODO: not yet) configurable frame 124 // the content has a (TODO: not yet) configurable frame
125 GtkWidget *frame = gtk_alignment_new(0.5, 0.5, 1, 1); 125 GtkWidget *frame = gtk_frame_new(NULL);
126 gtk_frame_set_shadow_type(GTK_FRAME(frame), GTK_SHADOW_NONE);
126 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0); 127 gtk_box_pack_start(GTK_BOX(vbox), frame, TRUE, TRUE, 0);
127 128
128 // content vbox 129 // content vbox
129 GtkWidget *content_box = ui_gtk_vbox_new(0); 130 GtkWidget *content_box = ui_gtk_vbox_new(0);
130 gtk_container_add(GTK_CONTAINER(frame), content_box); 131 gtk_container_add(GTK_CONTAINER(frame), content_box);

mercurial