FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ButtonImpl

    trait · ferroui-controls · v0.5.0

    trait ButtonImpl: ContentControlImpl + $crate::Upcast<Button>
    

    The overridable members introduced by the class.

    View source

    Members

    on_click

    fn on_click(this: &Self)
    

    Invokes the Click event.

    Source

    open_flyout

    fn open_flyout(this: &Self)
    

    Opens the button's flyout.

    Source

    close_flyout

    fn close_flyout(this: &Self)
    

    Closes the button's flyout.

    Source

    on_flyout_opened

    fn on_flyout_opened(this: &Self)
    

    Invoked when the button's flyout is opened.

    Source

    on_flyout_closed

    fn on_flyout_closed(this: &Self)
    

    Invoked when the button's flyout is closed.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.