pub trait INSControl: INSView {
// Provided methods
fn p_action(&self) -> Sel { ... }
fn p_set_action(&self, action: Sel) { ... }
}
Expand description
A trait containing all the methods for NSControl
Provided Methods§
Sourcefn p_set_action(&self, action: Sel)
fn p_set_action(&self, action: Sel)
Sets the default action-message selector associated with the control.
§Arguments
action
- The new action-message selector.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.