Enum CloseRequestResponse¶
Defined in File slint_generated_public.h
Enum Documentation¶
-
enum class slint::CloseRequestResponse : uint8_t¶
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].
Values:
-
enumerator KeepWindowShown¶
The close request is rejected and the window will be kept shown.
-
enumerator KeepWindowShown¶