class
#include <Magnum/Platform/GlfwApplication.h>
ExitEvent Exit event.
Constructors, destructors, conversion operators
Public functions
- auto operator=(const ExitEvent&) -> ExitEvent& deleted
- Copying is not allowed.
- auto operator=(ExitEvent&&) -> ExitEvent& deleted
- Moving is not allowed.
- auto isAccepted() const -> bool
- Whether the event is accepted.
- void setAccepted(bool accepted = true)
- Set event as accepted.
Function documentation
void Magnum:: Platform:: GlfwApplication:: ExitEvent:: setAccepted(bool accepted = true)
Set event as accepted.
If the event is ignored (i.e., not set as accepted) in exitEvent(), the application won't exit. Default implementation of exitEvent() accepts the event.