ToggleNotify

typealias ToggleNotify = (<Error class: unknown class>?, object: Object, isLastRef: Boolean) -> Unit

A callback function used for notification when the state of a toggle reference changes.

See also: g_object_add_toggle_ref()

  • param data Callback data passed to g_object_add_toggle_ref()

  • param object The object on which g_object_add_toggle_ref() was called.

  • param isLastRef true if the toggle reference is now the last reference to the object. false if the toggle reference was the last reference and there are now other references.