Package ch.bailu.gtk.gobject
Klasse TypeInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.TypeInfo
- Alle implementierten Schnittstellen:
PointerInterface
This structure is used to provide the type system with the information
required to initialize and destruct (finalize) a type's class and
its instances.
The initialized structure is passed to the g_type_register_static() function
(or is copied into the provided #GTypeInfo structure in the
g_type_plugin_complete_type_info()). The type system will perform a deep
copy of this structure, so its memory does not need to be persistent
across invocation of g_type_register_static().
required to initialize and destruct (finalize) a type's class and
its instances.
The initialized structure is passed to the g_type_register_static() function
(or is copied into the provided #GTypeInfo structure in the
g_type_plugin_complete_type_info()). The type system will perform a deep
copy of this structure, so its memory does not need to be persistent
across invocation of g_type_register_static().
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringLocation of the base finalization function (optional)
SeeTypeInfo.OnBaseFinalizeFunc.onBaseFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)static final StringLocation of the base initialization function (optional)
SeeTypeInfo.OnBaseInitFunc.onBaseInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)static final StringUser-supplied data passed to the class init/finalize functionsstatic final StringLocation of the class finalization function for
classed and instantiatable types.static final StringLocation of the class initialization function for
classed and instantiatable types.static final StringSize of the class structure (required for interface, classed and instantiatable types)static final StringLocation of the instance initialization function (optional, for instantiatable types only)
SeeTypeInfo.OnInstanceInitFunc.onInstanceInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypeInstance, ch.bailu.gtk.type.Pointer)static final StringSize of the instance (object) structure (required for instantiatable types only)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 StringA #GTypeValueTable function table for generic handling of GValues
of this type (usually only useful for fundamental types) -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerch.bailu.gtk.gobject.JnaTypeInfo.OnBaseFinalizeFuncLocation of the base finalization function (optional)
SeeTypeInfo.OnBaseFinalizeFunc.onBaseFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)ch.bailu.gtk.gobject.JnaTypeInfo.OnBaseInitFuncLocation of the base initialization function (optional)
SeeTypeInfo.OnBaseInitFunc.onBaseInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)User-supplied data passed to the class init/finalize functionsch.bailu.gtk.gobject.JnaTypeInfo.OnClassFinalizeFuncLocation of the class finalization function for
classed and instantiatable types.ch.bailu.gtk.gobject.JnaTypeInfo.OnClassInitFuncLocation of the class initialization function for
classed and instantiatable types.intSize of the class structure (required for interface, classed and instantiatable types)ch.bailu.gtk.gobject.JnaTypeInfo.OnInstanceInitFuncLocation of the instance initialization function (optional, for instantiatable types only)
SeeTypeInfo.OnInstanceInitFunc.onInstanceInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypeInstance, ch.bailu.gtk.type.Pointer)intSize of the instance (object) structure (required for instantiatable types only)intPrior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).A #GTypeValueTable function table for generic handling of GValues
of this type (usually only useful for fundamental types)voidsetFieldBaseFinalize(TypeInfo.OnBaseFinalizeFunc base_finalize) Location of the base finalization function (optional)
SeeTypeInfo.OnBaseFinalizeFunc.onBaseFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)voidsetFieldBaseInit(TypeInfo.OnBaseInitFunc base_init) Location of the base initialization function (optional)
SeeTypeInfo.OnBaseInitFunc.onBaseInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)voidsetFieldClassData(Pointer class_data) User-supplied data passed to the class init/finalize functionsvoidsetFieldClassFinalize(TypeInfo.OnClassFinalizeFunc class_finalize) Location of the class finalization function for
classed and instantiatable types.voidsetFieldClassInit(TypeInfo.OnClassInitFunc class_init) Location of the class initialization function for
classed and instantiatable types.voidsetFieldClassSize(int class_size) Size of the class structure (required for interface, classed and instantiatable types)voidsetFieldInstanceInit(TypeInfo.OnInstanceInitFunc instance_init) Location of the instance initialization function (optional, for instantiatable types only)
SeeTypeInfo.OnInstanceInitFunc.onInstanceInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypeInstance, ch.bailu.gtk.type.Pointer)voidsetFieldInstanceSize(int instance_size) Size of the instance (object) structure (required for instantiatable types only)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).voidsetFieldValueTable(TypeValueTable value_table) A #GTypeValueTable function table for generic handling of GValues
of this type (usually only useful for fundamental types)Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
CLASS_SIZE
Size of the class structure (required for interface, classed and instantiatable types)- Siehe auch:
-
BASE_INIT
Location of the base initialization function (optional)
SeeTypeInfo.OnBaseInitFunc.onBaseInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)- Siehe auch:
-
BASE_FINALIZE
Location of the base finalization function (optional)
SeeTypeInfo.OnBaseFinalizeFunc.onBaseFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)- Siehe auch:
-
CLASS_INIT
Location of the class initialization function for
classed and instantiatable types. Location of the default vtable
initialization function for interface types. (optional) This function
is used both to fill in virtual functions in the class or default vtable,
and to do type-specific setup such as registering signals and object
properties.
SeeTypeInfo.OnClassInitFunc.onClassInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.type.Pointer)- Siehe auch:
-
CLASS_FINALIZE
Location of the class finalization function for
classed and instantiatable types. Location of the default vtable
finalization function for interface types. (optional)
SeeTypeInfo.OnClassFinalizeFunc.onClassFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.type.Pointer)- Siehe auch:
-
CLASS_DATA
User-supplied data passed to the class init/finalize functions- Siehe auch:
-
INSTANCE_SIZE
Size of the instance (object) structure (required for instantiatable types only)- Siehe auch:
-
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 this field is ignored.- Siehe auch:
-
INSTANCE_INIT
Location of the instance initialization function (optional, for instantiatable types only)
SeeTypeInfo.OnInstanceInitFunc.onInstanceInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypeInstance, ch.bailu.gtk.type.Pointer)- Siehe auch:
-
VALUE_TABLE
A #GTypeValueTable function table for generic handling of GValues
of this type (usually only useful for fundamental types)- Siehe auch:
-
-
Konstruktordetails
-
TypeInfo
-
TypeInfo
public TypeInfo()
-
-
Methodendetails
-
getClassHandler
-
setFieldClassSize
public void setFieldClassSize(int class_size) Size of the class structure (required for interface, classed and instantiatable types) -
getFieldClassSize
public int getFieldClassSize()Size of the class structure (required for interface, classed and instantiatable types) -
setFieldBaseInit
Location of the base initialization function (optional)
SeeTypeInfo.OnBaseInitFunc.onBaseInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer) -
getFieldBaseInit
public ch.bailu.gtk.gobject.JnaTypeInfo.OnBaseInitFunc getFieldBaseInit()Location of the base initialization function (optional)
SeeTypeInfo.OnBaseInitFunc.onBaseInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer) -
setFieldBaseFinalize
Location of the base finalization function (optional)
SeeTypeInfo.OnBaseFinalizeFunc.onBaseFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer) -
getFieldBaseFinalize
public ch.bailu.gtk.gobject.JnaTypeInfo.OnBaseFinalizeFunc getFieldBaseFinalize()Location of the base finalization function (optional)
SeeTypeInfo.OnBaseFinalizeFunc.onBaseFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer) -
setFieldClassInit
Location of the class initialization function for
classed and instantiatable types. Location of the default vtable
initialization function for interface types. (optional) This function
is used both to fill in virtual functions in the class or default vtable,
and to do type-specific setup such as registering signals and object
properties.
SeeTypeInfo.OnClassInitFunc.onClassInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.type.Pointer) -
getFieldClassInit
public ch.bailu.gtk.gobject.JnaTypeInfo.OnClassInitFunc getFieldClassInit()Location of the class initialization function for
classed and instantiatable types. Location of the default vtable
initialization function for interface types. (optional) This function
is used both to fill in virtual functions in the class or default vtable,
and to do type-specific setup such as registering signals and object
properties.
SeeTypeInfo.OnClassInitFunc.onClassInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.type.Pointer) -
setFieldClassFinalize
Location of the class finalization function for
classed and instantiatable types. Location of the default vtable
finalization function for interface types. (optional)
SeeTypeInfo.OnClassFinalizeFunc.onClassFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.type.Pointer) -
getFieldClassFinalize
public ch.bailu.gtk.gobject.JnaTypeInfo.OnClassFinalizeFunc getFieldClassFinalize()Location of the class finalization function for
classed and instantiatable types. Location of the default vtable
finalization function for interface types. (optional)
SeeTypeInfo.OnClassFinalizeFunc.onClassFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer, ch.bailu.gtk.type.Pointer) -
setFieldClassData
User-supplied data passed to the class init/finalize functions -
getFieldClassData
User-supplied data passed to the class init/finalize functions -
setFieldInstanceSize
public void setFieldInstanceSize(int instance_size) Size of the instance (object) structure (required for instantiatable types only) -
getFieldInstanceSize
public int getFieldInstanceSize()Size of the instance (object) structure (required for instantiatable types only) -
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 this field is ignored. -
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 this field is ignored. -
setFieldInstanceInit
Location of the instance initialization function (optional, for instantiatable types only)
SeeTypeInfo.OnInstanceInitFunc.onInstanceInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypeInstance, ch.bailu.gtk.type.Pointer) -
getFieldInstanceInit
public ch.bailu.gtk.gobject.JnaTypeInfo.OnInstanceInitFunc getFieldInstanceInit()Location of the instance initialization function (optional, for instantiatable types only)
SeeTypeInfo.OnInstanceInitFunc.onInstanceInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.TypeInstance, ch.bailu.gtk.type.Pointer) -
setFieldValueTable
A #GTypeValueTable function table for generic handling of GValues
of this type (usually only useful for fundamental types) -
getFieldValueTable
A #GTypeValueTable function table for generic handling of GValues
of this type (usually only useful for fundamental types)
-