GtkVButtonBox Constructor

void GtkVButtonBox ();

A new GtkVButtonBox is created as in the following example. Adding buttons is also shown.

     //Creating a GtkVButtonBox
     $vbbox = new GtkVButtonBox();
     //Selecting a layout for the button box. Try other
     //GtkButtonBoxStyle options to see the difference  
     //Setting the spacing

     //Creating buttons to add
     $button1 = new GtkButton('Button 1');
     $button2 = new GtkButton('Button 2');

     //Adding the buttons to the GtkVButtonBox

Note that there are no parameters in the constructor. Also, as with all container widgets, GtkVButtonBox takes up no space until its child widgets are in place.