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 interface
static interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
Location of the base finalization function (optional)
SeeTypeInfo.OnBaseFinalizeFunc.onBaseFinalizeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)
static final String
Location of the base initialization function (optional)
SeeTypeInfo.OnBaseInitFunc.onBaseInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.type.Pointer)
static final String
User-supplied data passed to the class init/finalize functionsstatic final String
Location of the class finalization function for
classed and instantiatable types.static final String
Location of the class initialization function for
classed and instantiatable types.static final String
Size of the class structure (required for interface, classed and instantiatable types)static final String
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)
static final String
Size of the instance (object) structure (required for instantiatable types only)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
A #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 ClassHandler
ch.bailu.gtk.gobject.JnaTypeInfo.OnBaseFinalizeFunc
Location 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.OnBaseInitFunc
Location 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.OnClassFinalizeFunc
Location of the class finalization function for
classed and instantiatable types.ch.bailu.gtk.gobject.JnaTypeInfo.OnClassInitFunc
Location of the class initialization function for
classed and instantiatable types.int
Size of the class structure (required for interface, classed and instantiatable types)ch.bailu.gtk.gobject.JnaTypeInfo.OnInstanceInitFunc
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)
int
Size of the instance (object) structure (required for instantiatable types only)int
Prior 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)void
setFieldBaseFinalize
(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)
void
setFieldBaseInit
(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)
void
setFieldClassData
(Pointer class_data) User-supplied data passed to the class init/finalize functionsvoid
setFieldClassFinalize
(TypeInfo.OnClassFinalizeFunc class_finalize) Location of the class finalization function for
classed and instantiatable types.void
setFieldClassInit
(TypeInfo.OnClassInitFunc class_init) Location of the class initialization function for
classed and instantiatable types.void
setFieldClassSize
(int class_size) Size of the class structure (required for interface, classed and instantiatable types)void
setFieldInstanceInit
(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)
void
setFieldInstanceSize
(int instance_size) Size of the instance (object) structure (required for instantiatable types only)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
setFieldValueTable
(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, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von 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)
-