org.gnu.gtk

Class VScrollBar

public class VScrollBar extends ScrollBar

The VScrollbar displays a vertical scrollbar with a slider and a pair of arrow buttons. To create a scrollbar, you must specify the beginning and ending values, the size of the slider, an initial slider position, and how far the slider should move when the mouse clicks the slot.

See Also: HScrollBar

Constructor Summary
VScrollBar(Adjustment adjustment)
Creates a new ScrollBar
VScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.
Method Summary
static TypegetType()
Retrieve the runtime type used by the GLib library.
static VScrollBargetVScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.

Constructor Detail

VScrollBar

public VScrollBar(Adjustment adjustment)
Creates a new ScrollBar

Parameters: adjustment The GtkAdjustment to use, or null to create a new adjustment.

VScrollBar

public VScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.

Method Detail

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.

getVScrollBar

public static VScrollBar getVScrollBar(Handle handle)
Construct a VScrollBar from a handle to a native resource.