Package ch.bailu.gtk.gtk
Class Border
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.Border
- All Implemented Interfaces:
PointerInterface
A struct that specifies a border around a rectangular area.
Each side can have different width.
Each side can have different width.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBorder()
Allocates a new `GtkBorder` struct and initializes its elements to zero.Border
(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Copies a `GtkBorder`.void
free()
Frees a `GtkBorder`.static ClassHandler
int
The width of the bottom borderint
The width of the left borderint
The width of the right borderint
The width of the top borderstatic int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
void
setFieldBottom
(int bottom) The width of the bottom bordervoid
setFieldLeft
(int left) The width of the left bordervoid
setFieldRight
(int right) The width of the right bordervoid
setFieldTop
(int top) The width of the top borderMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
LEFT
The width of the left border- See Also:
-
RIGHT
The width of the right border- See Also:
-
TOP
The width of the top border- See Also:
-
BOTTOM
The width of the bottom border- See Also:
-
-
Constructor Details
-
Border
-
Border
public Border()Allocates a new `GtkBorder` struct and initializes its elements to zero.
-
-
Method Details
-
getClassHandler
-
setFieldLeft
public void setFieldLeft(int left) The width of the left border -
getFieldLeft
public int getFieldLeft()The width of the left border -
setFieldRight
public void setFieldRight(int right) The width of the right border -
getFieldRight
public int getFieldRight()The width of the right border -
setFieldTop
public void setFieldTop(int top) The width of the top border -
getFieldTop
public int getFieldTop()The width of the top border -
setFieldBottom
public void setFieldBottom(int bottom) The width of the bottom border -
getFieldBottom
public int getFieldBottom()The width of the bottom border -
copy
Copies a `GtkBorder`.- Returns:
- a copy of @border_.
-
free
public void free()Frees a `GtkBorder`. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-