C++ Complementary Library
A close event occurs when a user tries to close a window. Call set_should_close(false) on the close event to specify that the window should not be closed.
Constructs a close event with the given decision as to whether the associated window should be closed.
The value that indicates whether the associated window should be closed.
Copy-constructs a close_event from an existing one.
The close_event to copy from.
Copy-assigns a close_event into this one.
The close_event to copy from.
Move-constructs a close_event from an existing one.
The close_event to move from.
Move-assigns a close_event into this one.
The close_event to move from.
Returns true if the window associated with this event should be closed. Otherwise, returns false. This is something you can change by calling set_should_close.
Records whether the window associated with this event should be closed.
The value that indicates whether the associated window should be closed.
Copyright © 2022-2025 Daniel T. McGinnis