Trait EventHandler

Source
pub trait EventHandler {
    // Required method
    fn as_delegate(&self) -> ProtocolObject<dyn NSWindowDelegate>;
}
Expand description

Trait for event handlers that can be used with panels

Required Methods§

Source

fn as_delegate(&self) -> ProtocolObject<dyn NSWindowDelegate>

Get the NSWindowDelegate protocol object

Implementors§