ToggleNotify

typealias ToggleNotify = (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 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.