Skip to content

slint::CloseRequestResponse

enum class CloseRequestResponse
ValueDescription
HideWindowThe Window will be hidden (default action)
KeepWindowShownThe close request is rejected and the window will be kept shown.

This enum describes whether a Window is allowed to be hidden when the user tries to close the window. It is the return type of the callback provided to [Window::on_close_requested].


© 2026 SixtyFPS GmbH