FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IInsetsManager

    trait · ferroui-controls · v0.5.0

    trait IInsetsManager
    

    Manages the system bars and the safe area of a top-level.

    View source

    Members

    is_system_bar_visible

    fn is_system_bar_visible(self: &Self) -> Option<bool>
    

    Gets whether the system bars are visible.

    Source

    set_is_system_bar_visible

    fn set_is_system_bar_visible(self: &Self, value: Option<bool>)
    

    Sets whether the system bars are visible.

    Source

    display_edge_to_edge_preference

    fn display_edge_to_edge_preference(self: &Self) -> bool
    

    Gets whether the window draws edge to edge, behind any visible system bars.

    Source

    set_display_edge_to_edge_preference

    fn set_display_edge_to_edge_preference(self: &Self, value: bool)
    

    Sets whether the window draws edge to edge, behind any visible system bars.

    Source

    displays_edge_to_edge

    fn displays_edge_to_edge(self: &Self) -> bool
    

    Gets whether the window is currently displayed edge to edge.

    Source

    safe_area_padding

    fn safe_area_padding(self: &Self) -> Thickness
    

    Gets the current safe area padding.

    Source

    system_bar_color

    fn system_bar_color(self: &Self) -> Option<Color>
    

    Gets the system bar color.

    Source

    set_system_bar_color

    fn set_system_bar_color(self: &Self, value: Option<Color>)
    

    Sets the system bar color.

    Source

    safe_area_changed

    fn safe_area_changed(self: &Self, handler: Rc<dyn Fn(&SafeAreaChangedArgs) -> ()>) -> Rc<dyn IDisposable>
    

    Occurs when the safe area for the current window changes.

    Disposing the returned value removes the handler.

    Source

    Trait implementations

    Availability

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