MainLoop.Constants

Values

ValueMeaning
notificationWmMouseEnter1002

Notification received from the OS when the mouse enters the game window. Implemented on desktop and web platforms.

notificationWmMouseExit1003

Notification received from the OS when the mouse leaves the game window. Implemented on desktop and web platforms.

notificationWmFocusIn1004

Notification received from the OS when the game window is focused. Implemented on all platforms.

notificationWmFocusOut1005

Notification received from the OS when the game window is unfocused. Implemented on all platforms.

notificationWmQuitRequest1006

Notification received from the OS when a quit request is sent (e.g. closing the window with a "Close" button or Alt+F4). Implemented on desktop platforms.

notificationWmGoBackRequest1007

Notification received from the OS when a go back request is sent (e.g. pressing the "Back" button on Android). Specific to the Android platform.

notificationWmUnfocusRequest1008

Notification received from the OS when an unfocus request is sent (e.g. another OS window wants to take the focus). No supported platforms currently send this notification.

notificationOsMemoryWarning1009

Notification received from the OS when the application is exceeding its allocated memory. Specific to the iOS platform.

notificationTranslationChanged1010

Notification received when translations may have changed. Can be triggered by the user changing the locale. Can be used to respond to language changes, for example to change the UI strings on the fly. Useful when working with the built-in translation support, like GodotObject.tr.

notificationWmAbout1011

Notification received from the OS when a request for "About" information is sent. Specific to the macOS platform.

notificationCrash1012

Notification received from Godot's crash handler when the engine is about to crash. Implemented on desktop platforms if the crash handler is enabled.

notificationOsImeUpdate1013

Notification received from the OS when an update of the Input Method Engine occurs (e.g. change of IME cursor position or composition string). Specific to the macOS platform.

notificationAppResumed1014

Notification received from the OS when the app is resumed. Specific to the Android platform.

notificationAppPaused1015

Notification received from the OS when the app is paused. Specific to the Android platform.

Meta