Skip to content

Scene Window Events

WindowEvent

WindowEvent(engine: Engine)

Bases: SceneEvent

Base window event implementation.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowCloseEvent

WindowCloseEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has closed.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowDisplayChangedEvent

WindowDisplayChangedEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window's display has changed.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowFocusGainedEvent

WindowFocusGainedEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has gained focus.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowFocusLostEvent

WindowFocusLostEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has lost focus.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowHiddenEvent

WindowHiddenEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has been hidden.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowMaximizedEvent

WindowMaximizedEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has been maximized.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowMinimizedEvent

WindowMinimizedEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has been minimized.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowMouseEnterEvent

WindowMouseEnterEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the mouse has entered the window.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowMouseLeaveEvent

WindowMouseLeaveEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the mouse has left the window.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowMovedEvent

WindowMovedEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has moved.

position property

position: IntVector2

The position of the window.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowResizeEvent

WindowResizeEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has been resized.

size property

size: IntVector2

The size of the window.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowRestoredEvent

WindowRestoredEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has been restored.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.

WindowShownEvent

WindowShownEvent(engine: Engine)

Bases: WindowEvent

Dispatched when the scene recognizes that the window has been shown.

engine property

engine: Engine

The engine that is handling this plugin and dispatched this event.

scene property

scene: Scene

The active scene that dispatched this event.