WindowEvent class
A window state change.
There should be subclasses for each member of SDL_WindowEventId.
- Inheritance
- Implementers
- DisplayChangedEvent
- IccprofChangedEvent
- WindowClosedEvent
- WindowEnterEvent
- WindowExposedEvent
- WindowFocusGainedEvent
- WindowFocusLostEvent
- WindowHiddenEvent
- WindowHitTestEvent
- WindowLeaveEvent
- WindowMaximizedEvent
- WindowMinimizedEvent
- WindowMovedEvent
- WindowResizedEvent
- WindowRestoredEvent
- WindowShownEvent
- WindowSizeChangedEvent
- WindowTakeFocusEvent
Constructors
- WindowEvent(Sdl sdl, int timestamp, int windowId)
-
Create the event.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdl → Sdl
-
The SDL bindings to use for this event.
finalinherited
- timestamp → int
-
The time this event was emitted.
finalinherited
- window → Window?
-
Get the window which emitted this event.
no setter
- windowId → int
-
The ID of the window which emitted this event.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited