org.gnome.gtk
Class VBox
java.lang.Object
org.freedesktop.bindings.Proxy
A Container which holds a variable number of Widgets in a single vertical
row. All the children of this VBox are allocated the same width - that of
the widest Widget packed into the VBox.
A VBox is almost always the first thing (and only thing, of course) added
to a new Window; doing so gives you a natural mechanism to layout the
contents of a Window in logical sequence from heading through to Buttons
and StatusBar.
All the methods you need add widgets to VBoxes and to manipulate their
characteristics are on parent class Box. See its
packStart()
as a good first step.
VBox(boolean homogeneous, int spacing) - Creates a new VBox.
|
VBox
public VBox(boolean homogeneous,
int spacing)
Creates a new VBox.
homogeneous
- If true
, all children will be given equal
space allotments.spacing
- the number of pixels to place (by default) between children.
|  java-gnome |