Enum DisplayServer.WindowEvent
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum DisplayServer.WindowEvent : long
Fields
CloseRequest = 4Sent when the user has attempted to close the window (e.g. close button is pressed).
DpiChange = 6Sent when the window is moved to the display with different DPI, or display DPI is changed.
Note: This flag is implemented only on macOS.
FocusIn = 2Sent when the window grabs focus.
FocusOut = 3Sent when the window loses focus.
GoBackRequest = 5Sent when the device "Back" button is pressed.
Note: This event is implemented only on Android.
MouseEnter = 0Sent when the mouse pointer enters the window.
MouseExit = 1Sent when the mouse pointer exits the window.
TitlebarChange = 7Sent when the window title bar decoration is changed (e.g. ExtendToTitle is set or window entered/exited full screen mode).
Note: This flag is implemented only on macOS.