Package ch.bailu.gtk.gobject
Schnittstelle TypeInfo.OnClassFinalizeFunc
- Umschließende Klasse:
TypeInfo
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
onClassFinalizeFunc
(CallbackHandler __self, Pointer g_class, Pointer class_data) A callback function used by the type system to finalize a class.
-
Methodendetails
-
onClassFinalizeFunc
void onClassFinalizeFunc(CallbackHandler __self, @Nonnull Pointer g_class, @Nullable Pointer class_data) A callback function used by the type system to finalize a class.
This function is rarely needed, as dynamically allocated class resources
should be handled by GBaseInitFunc() and GBaseFinalizeFunc().
Also, specification of a GClassFinalizeFunc() in the #GTypeInfo
structure of a static type is invalid, because classes of static types
will never be finalized (they are artificially kept alive when their
reference count drops to zero).- Parameter:
g_class
- The #GTypeClass structure to finalizeclass_data
- The @class_data member supplied via the #GTypeInfo structure
-