pub type GToggleNotify = Option<unsafe extern "C" fn(data: gpointer, object: *mut GObject, is_last_ref: gboolean)>;
Expand description
GToggleNotify: @data: Callback data passed to g_object_add_toggle_ref() @object: The object on which g_object_add_toggle_ref() was called. @is_last_ref: %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.
A callback function used for notification when the state of a toggle reference changes.
See also: g_object_add_toggle_ref()
Aliased Type§
enum GToggleNotify {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut _GObject, i32)),
}