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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final StringSize of the instance (object) structure.static final StringPrior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).static final Stringstatic final StringThe #GType of values conforming to this #GParamSpecstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnFinalizech.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnInstanceInitintSize of the instance (object) structure.intPrior 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.OnValuesCmpch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueSetDefaultlongThe #GType of values conforming to this #GParamSpecch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueValidatevoidsetFieldFinalize(ParamSpecTypeInfo.OnFinalize finalize) voidsetFieldInstanceInit(ParamSpecTypeInfo.OnInstanceInit instance_init) voidsetFieldInstanceSize(int instance_size) Size of the instance (object) structure.voidsetFieldNPreallocs(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).voidsetFieldValuesCmp(ParamSpecTypeInfo.OnValuesCmp values_cmp) voidsetFieldValueSetDefault(ParamSpecTypeInfo.OnValueSetDefault value_set_default) voidsetFieldValueType(long value_type) The #GType of values conforming to this #GParamSpecvoidsetFieldValueValidate(ParamSpecTypeInfo.OnValueValidate value_validate) Methods 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
-
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()
-