FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowResizeReason

    enum · ferroui-controls · v0.5.0

    enum WindowResizeReason
    

    Specifies the reason for a window resize.

    View source

    Members

    Unspecified

    Unspecified = 0
    

    The resize reason is unknown or unspecified.

    Source

    User

    User = 1
    

    The resize was due to the user resizing the window, for example by dragging the window frame.

    Source

    Application

    Application = 2
    

    The resize was initiated by the application, for example by setting one of the sizing-related properties on the window.

    Source

    Layout

    Layout = 3
    

    The resize was initiated by the layout system.

    Source

    DpiChange

    DpiChange = 4
    

    The resize was due to a change in DPI.

    Source

    Trait implementations

    Availability

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