FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowCloseReason

    enum · ferroui-controls · v0.5.0

    enum WindowCloseReason
    

    Specifies the reason that a window was closed.

    View source

    Members

    Undefined

    Undefined = 0
    

    The cause of the closure was not provided by the underlying platform.

    Source

    WindowClosing

    WindowClosing = 1
    

    The window itself was requested to close.

    Source

    OwnerWindowClosing

    OwnerWindowClosing = 2
    

    The window is closing due to a parent/owner window closing.

    Source

    ApplicationShutdown

    ApplicationShutdown = 3
    

    The window is closing due to the application shutting down.

    Source

    OSShutdown

    OSShutdown = 4
    

    The window is closing due to the operating system shutting down.

    Source

    Trait implementations

    Availability

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