AXObserverCallback

Type Alias AXObserverCallback 

Source
pub type AXObserverCallback = Option<unsafe extern "C-unwind" fn(NonNull<AXObserver>, NonNull<AXUIElement>, NonNull<CFString>, *mut c_void)>;
Available on crate feature AXUIElement only.
Expand description

Parameter observer: An AXObserverRef object to observe the notifications.

Parameter element: The accessibility object.

Parameter notification: The name of the notification to observe.

Parameter refcon: Application-defined data specified when registering the observer for notification

See also Apple’s documentation

Aliased Type§

pub enum AXObserverCallback {
    None,
    Some(unsafe extern "C-unwind" fn(NonNull<AXObserver>, NonNull<AXUIElement>, NonNull<CFString>, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C-unwind" fn(NonNull<AXObserver>, NonNull<AXUIElement>, NonNull<CFString>, *mut c_void))

Some value of type T.