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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBorder()Allocates a new `GtkBorder` struct and initializes its elements to zero.Border(PointerContainer pointer) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Copies a `GtkBorder`.voidfree()Frees a `GtkBorder`.static ClassHandlerintThe width of the bottom borderintThe width of the left borderintThe width of the right borderintThe width of the top borderstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizevoidsetFieldBottom(int bottom) The width of the bottom bordervoidsetFieldLeft(int left) The width of the left bordervoidsetFieldRight(int right) The width of the right bordervoidsetFieldTop(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, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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()
-