FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    INavigableContainer

    trait · ferroui-base · v0.5.0

    trait INavigableContainer
    

    Defines a container in which the child controls can be navigated by keyboard.

    View source

    Members

    get_control

    fn get_control(self: &Self, direction: NavigationDirection, from: Option<&Ref<InputElement>>, wrap: bool) -> Option<Ref<InputElement>>
    

    Gets the next control in the specified direction.

    from is the control from which movement begins and wrap tells whether to wrap around when the first or last item is reached.

    Source

    Availability

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