Horizontal And Vertical Box (Cont.) A Vertical Box (gtk_vbox) is similar to a horizontal box, but orders items vertically. In fact, both gtk_hbox and gtk_vbox inherit from the gtk_box class, and inherit all of its methods, except for its allocator method. Lets pack 2 vertical boxes inside the horizontal box, and place buttons in them: /* create two vertical boxes. both non-homogeneous, and */ /* with 0 spacing between their contained widgets. */ GtkWidget* vbox1 = gtk_vbox_new(FALSE, 0); GtkWidget* vbox2 = gtk_vbox_new(FALSE, 0); /* place the two v-boxes inside our hbox. */ gtk_box_pack_start(GTK_BOX(hbox), vbox1, TRUE, TRUE, 1); gtk_box_pack_start(GTK_BOX(hbox), vbox2, TRUE, TRUE, 1); /* make our v-boxes visible. */ gtk_widget_show(vbox1); gtk_widget_show(vbox2);