Package ch.bailu.gtk.gtk
Class RequestedSize
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gtk.RequestedSize
- All Implemented Interfaces:
PointerInterface
Represents a request of a screen object in a given orientation. These
are primarily used in container implementations when allocating a natural
size for children calling. See [func@distribute_natural_allocation].
are primarily used in container implementations when allocating a natural
size for children calling. See [func@distribute_natural_allocation].
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerA client pointerintThe minimum size needed for allocation in a given orientationintThe natural size for allocation in a given orientationvoidsetFieldData(Pointer data) A client pointervoidsetFieldMinimumSize(int minimum_size) The minimum size needed for allocation in a given orientationvoidsetFieldNaturalSize(int natural_size) The natural size for allocation in a given orientationMethods 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
-
DATA
A client pointer- See Also:
-
MINIMUM_SIZE
The minimum size needed for allocation in a given orientation- See Also:
-
NATURAL_SIZE
The natural size for allocation in a given orientation- See Also:
-
-
Constructor Details
-
RequestedSize
-
RequestedSize
public RequestedSize()
-
-
Method Details
-
getClassHandler
-
setFieldData
A client pointer -
getFieldData
A client pointer -
setFieldMinimumSize
public void setFieldMinimumSize(int minimum_size) The minimum size needed for allocation in a given orientation -
getFieldMinimumSize
public int getFieldMinimumSize()The minimum size needed for allocation in a given orientation -
setFieldNaturalSize
public void setFieldNaturalSize(int natural_size) The natural size for allocation in a given orientation -
getFieldNaturalSize
public int getFieldNaturalSize()The natural size for allocation in a given orientation
-