FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    FocusOrderEditor

    struct · ferroui-designer · v0.5.0

    struct FocusOrderEditor
    

    A staged editor for group-local order, tab eligibility, modes and Label.Target. Every command is submitted together on Apply; Cancel discards the complete draft.

    View source

    Members

    new

    fn new() -> Rc<Self>
    

    Source

    control

    fn control(self: &Self) -> Ref<Control>
    

    Source

    on_apply

    fn on_apply(self: &Self, handler: impl Fn(Vec<FocusOrderEdit>) -> Result<(), String> + 'static)
    

    Source

    on_close

    fn on_close(self: &Self, handler: impl Fn() -> () + 'static)
    

    Source

    configure

    fn configure(self: &Self, catalog: FocusOrderCatalog, writable: bool)
    

    Source

    show_error

    fn show_error(self: &Self, message: &str)
    

    Source

    retire

    fn retire(self: &Self)
    

    Retire callbacks when a host light-dismisses or replaces this editor.

    Source

    draft

    fn draft(self: &Self) -> Vec<FocusOrderEdit>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Same

    Availability

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