![]() |
![]() |
You should create these objects, but it is more confortable to pass around pointers of Gtk::Box. All the methods that do anything are in class Gtk::Box and this allows you to later change the direction of the box, when there's no dependencies to HBox and VBox classes.
Public Member Functions | ||||
const GtkVBox* | gobj () const | |||
Provides access to the underlying C GtkObject. | ||||
GtkVBox* | gobj () | |||
Provides access to the underlying C GtkObject. | ||||
VBox (bool homogeneous=false, int spacing=0) | ||||
Creates a new vertical box. | ||||
virtual | ~VBox () | |||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Gtk::VBox* | wrap (GtkVBox* object, bool take_copy=false) | |||
|
virtual Gtk::VBox::~VBox | ( | ) | [virtual] |
Gtk::VBox::VBox | ( | bool | homogeneous = false , |
|
int | spacing = 0 | |||
) | [explicit] |
Creates a new vertical box.
homogeneous | Whether each widget in the VBox should have the same height. If set, a PACK_SHRINK argument to pack_start() or pack_end() is ignored. | |
spacing | Determines the space in pixels between child widgets. |
const GtkVBox* Gtk::VBox::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Box.
Reimplemented in Gtk::ColorSelection, Gtk::GammaCurve, Gtk::FileChooserWidget, and Gtk::FontSelection.
GtkVBox* Gtk::VBox::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Box.
Reimplemented in Gtk::ColorSelection, Gtk::GammaCurve, Gtk::FileChooserWidget, and Gtk::FontSelection.
Gtk::VBox* wrap | ( | GtkVBox * | object, | |
bool | take_copy = false | |||
) | [related] |
object | The C instance |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |