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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
A client pointerint
The minimum size needed for allocation in a given orientationint
The natural size for allocation in a given orientationvoid
setFieldData
(Pointer data) A client pointervoid
setFieldMinimumSize
(int minimum_size) The minimum size needed for allocation in a given orientationvoid
setFieldNaturalSize
(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, 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
-
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
-