FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowClosingBehavior

    enum · ferroui-controls · v0.5.0

    enum WindowClosingBehavior
    

    Describes how the Window::closing event behaves in the presence of child windows.

    View source

    Members

    OwnerAndChildWindows

    OwnerAndChildWindows = 0
    

    When the owner window is closed, the child windows' closing event will be raised, followed by the owner window's closing events. A child canceling the close will result in the owner window's close being cancelled.

    Source

    OwnerWindowOnly

    OwnerWindowOnly = 1
    

    When the owner window is closed, only the owner window's closing event will be raised.

    Source

    Trait implementations

    Availability

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