IClickableControl
trait · ferroui-base · v0.5.0
trait IClickableControl
A control that can be clicked: what the access key and hot key handling needs from a button-like control.
Members
click
fn click(self: &Self, handler: Rc<dyn Fn(&RoutedEventArgs) -> ()>) -> Rc<dyn IDisposable>
Raised when the control is clicked. Disposing the returned handle unsubscribes.
raise_click
fn raise_click(self: &Self)
Raises the click of the control.
is_effectively_enabled
fn is_effectively_enabled(self: &Self) -> bool
Gets a value indicating whether this control and all its parents are enabled.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.