Package ch.bailu.gtk.gobject
Class ParamSpecTypeInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.ParamSpecTypeInfo
- All Implemented Interfaces:
PointerInterface
This structure is used to provide the type system with the information
required to initialize and destruct (finalize) a parameter's class and
instances thereof.
The initialized structure is passed to the g_param_type_register_static()
The type system will perform a deep copy of this structure, so its memory
does not need to be persistent across invocation of
g_param_type_register_static().
required to initialize and destruct (finalize) a parameter's class and
instances thereof.
The initialized structure is passed to the g_param_type_register_static()
The type system will perform a deep copy of this structure, so its memory
does not need to be persistent across invocation of
g_param_type_register_static().
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
Size of the instance (object) structure.static final String
Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).static final String
static final String
The #GType of values conforming to this #GParamSpecstatic final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnFinalize
ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnInstanceInit
int
Size of the instance (object) structure.int
Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValuesCmp
ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueSetDefault
long
The #GType of values conforming to this #GParamSpecch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueValidate
void
setFieldFinalize
(ParamSpecTypeInfo.OnFinalize finalize) void
setFieldInstanceInit
(ParamSpecTypeInfo.OnInstanceInit instance_init) void
setFieldInstanceSize
(int instance_size) Size of the instance (object) structure.void
setFieldNPreallocs
(int n_preallocs) Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).void
setFieldValuesCmp
(ParamSpecTypeInfo.OnValuesCmp values_cmp) void
setFieldValueSetDefault
(ParamSpecTypeInfo.OnValueSetDefault value_set_default) void
setFieldValueType
(long value_type) The #GType of values conforming to this #GParamSpecvoid
setFieldValueValidate
(ParamSpecTypeInfo.OnValueValidate value_validate) Methods 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
-
INSTANCE_SIZE
Size of the instance (object) structure.- See Also:
-
N_PREALLOCS
Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now.- See Also:
-
INSTANCE_INIT
- See Also:
-
VALUE_TYPE
The #GType of values conforming to this #GParamSpec- See Also:
-
FINALIZE
- See Also:
-
VALUE_SET_DEFAULT
- See Also:
-
VALUE_VALIDATE
- See Also:
-
VALUES_CMP
- See Also:
-
-
Constructor Details
-
ParamSpecTypeInfo
-
ParamSpecTypeInfo
public ParamSpecTypeInfo()
-
-
Method Details
-
getClassHandler
-
setFieldInstanceSize
public void setFieldInstanceSize(int instance_size) Size of the instance (object) structure. -
getFieldInstanceSize
public int getFieldInstanceSize()Size of the instance (object) structure. -
setFieldNPreallocs
public void setFieldNPreallocs(int n_preallocs) Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now. -
getFieldNPreallocs
public int getFieldNPreallocs()Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now. -
setFieldInstanceInit
-
getFieldInstanceInit
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnInstanceInit getFieldInstanceInit() -
setFieldValueType
public void setFieldValueType(long value_type) The #GType of values conforming to this #GParamSpec -
getFieldValueType
public long getFieldValueType()The #GType of values conforming to this #GParamSpec -
setFieldFinalize
-
getFieldFinalize
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnFinalize getFieldFinalize() -
setFieldValueSetDefault
-
getFieldValueSetDefault
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueSetDefault getFieldValueSetDefault() -
setFieldValueValidate
-
getFieldValueValidate
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueValidate getFieldValueValidate() -
setFieldValuesCmp
-
getFieldValuesCmp
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValuesCmp getFieldValuesCmp()
-