Type Alias GClosureNotify

Source
pub type GClosureNotify = Option<unsafe extern "C" fn(data: gpointer, closure: *mut GClosure)>;
Expand description

GClosureNotify: @data: data specified when registering the notification callback @closure: the #GClosure on which the notification is emitted

The type used for the various notification callbacks which can be registered on closures.

Aliased Type§

pub enum GClosureNotify {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut _GClosure)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut _GClosure))

Some value of type T.