Static variables

@:enum@:native("WINDOW_EVENT_DEICONIFIED")staticread onlyDeiconified:WindowEvent

  • Deiconified window event.

This event is sent to a window event listener when the game window or app screen is restored after being iconified.

@:enum@:native("WINDOW_EVENT_FOCUS_GAINED")staticread onlyFocusGained:WindowEvent

  • Focus gained window event.

This event is sent to a window event listener when the game window or app screen has gained focus. This event is also sent at game startup and the engine gives focus to the game.

@:enum@:native("WINDOW_EVENT_FOCUS_LOST")staticread onlyFocusLost:WindowEvent

  • Focus lost window event.

This event is sent to a window event listener when the game window or app screen has lost focus.

@:enum@:native("WINDOW_EVENT_ICONFIED")staticread onlyIconified:WindowEvent

  • Iconify window event.

This event is sent to a window event listener when the game window or app screen is iconified (reduced to an application icon in a toolbar, application tray or similar).

@:enum@:native("WINDOW_EVENT_RESIZED")staticread onlyResized:WindowEvent

  • Resized window event.

This event is sent to a window event listener when the game window or app screen is resized. The new size is passed along in the data field to the event listener.