Window class
An SDL Window.
Constructors
Properties
- bordered ← bool
-
Set whether or not this window has a border.
no getter
- bordersSize → BordersSize
-
Get the size of the window's borders.
no setter
- brightness ↔ double
-
Get the brightness of this window.
getter/setter pair
- display → Display
-
Gets the display this window is associated with.
no setter
- displayIndex → int
-
Get the index of the display this window is associated with.
no setter
- displayMode ↔ DisplayMode
-
Get the display mode for this window.
getter/setter pair
- flags → int
-
Get the flags for this window.
no setter
- fullscreen ← FullScreenMode
-
Set this window full screen.
no getter
- grab ↔ bool
-
Get the input grab mode for this window.
getter/setter pair
-
handle
→ Pointer<
SDL_Window> -
The pointer for this object.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Get the ID of this window.
no setter
- isScreenKeyboardShown → bool
-
Check whether the screen keyboard is shown for given window.
no setter
- maximumSize ↔ WindowSize
-
Get the maximum size of a window's client area.
getter/setter pair
- minimumSize ↔ WindowSize
-
Get the minimum size of a window's client area.
getter/setter pair
- modalFor ← Window
-
Set this window as modal for another window.
no getter
- opacity ↔ double
-
Get the opacity of this window.
getter/setter pair
-
position
↔ Point<
int> -
Get the position of this window.
getter/setter pair
- resizeable ← bool
-
Set the window resizeable.
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdl → Sdl
-
The SDL bindings to use.
finalinherited
- size ↔ WindowSize
-
Get the size of this window.
getter/setter pair
- title ↔ String
-
The title of this window.
getter/setter pair
Methods
-
destroy(
) → void - Destroy this window.
-
hide(
) → void - Hide this window.
-
maximise(
) → void - Maximise this window.
-
minimise(
) → void - Minimise this window.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
raise(
) → void - Raise this window.
-
restoreWindow(
) → void - Restore this window.
-
setInputFocus(
) → void - Set input focus.
-
show(
) → void - Show this window.
-
toString(
) → String -
A string representation of this object.
inherited
-
warpMouse(
int x, int y) → void - Move the mouse cursor to the given position within the window.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited