ferroui-base 0.3.0

The base library of FerroUI: the property system, layout, input, styling, media, text, animation, data binding and the compositor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// Defines the method by which focus was changed.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
pub enum NavigationMethod {
    /// The focus was changed by an unspecified method, e.g. calling
    /// `InputElement::focus`.
    #[default]
    Unspecified,
    /// The focus was changed by the user tabbing between control.
    Tab,
    /// The focus was changed by the user pressing a directional navigation
    /// key.
    Directional,
    /// The focus was changed by a pointer click.
    Pointer,
}