Package ch.bailu.gtk.gobject
Interface TypeInfo.OnClassFinalizeFunc
- Enclosing class:
- TypeInfo
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onClassFinalizeFunc
(CallbackHandler __self, Pointer g_class, Pointer class_data) A callback function used by the type system to finalize a class.
-
Method Details
-
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).- Parameters:
g_class
- The #GTypeClass structure to finalizeclass_data
- The @class_data member supplied via the #GTypeInfo structure
-