SdlWindowPointerEx extension

on

Methods

createRenderer({String? name}) Pointer<SdlRenderer>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Create a 2D rendering context for a window.
destroy() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Destroy a window.
flash(int operation) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Request a window to demand attention from the user.
getBordersSize() Rectangle<double>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the size of a window's borders (decorations) around the client area.
getDisplayFor() int

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the display associated with a window.
getFlags() int

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the window flags.
getId() int

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the numeric ID of a window.
getKeyboardGrab() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get a window's keyboard grab mode.
getMaximumSize() Point<double>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the maximum size of a window's client area.
getMinimumSize() Point<double>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the minimum size of a window's client area.
getMouseGrab() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get a window's mouse grab mode.
getMouseRect() Rectangle<double>?

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the mouse confinement rectangle of a window.
getOpacity() double?

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the opacity of a window.
getPosition() Point<double>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the position of a window.
getRenderer() Pointer<SdlRenderer>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the renderer associated with a window.
getSize() Point<double>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the size of a window's client area.
getSizeInPixels() Point<double>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the size of a window's client area, in pixels.
getSurface() Pointer<SdlSurface>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the SDL surface associated with the window.
getTitle() String?

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Get the title of a window.
glCreateContext() Pointer<SdlGlContext>

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Create an OpenGL context for an OpenGL window, and make it current.
hide() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Hide a window.
maximize() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Request that the window be made as large as possible.
minimize() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Request that the window be minimized to an iconic representation.
raise() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Request that a window be raised above other windows and gain the input focus.
restore() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Request that the size and position of a minimized or maximized window be restored.
setAlwaysOnTop(bool onTop) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the window to always be above the others.
setBordered(bool bordered) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the border state of a window.
setHitTest(Pointer<NativeFunction<SdlHitTest>> callback, Pointer<NativeType> callbackData) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Provide a callback that decides if a window region has special properties.
setIcon(Pointer<SdlSurface> icon) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the icon for a window.
setKeyboardGrab(bool grabbed) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set a window's keyboard grab mode.
setMaximumSize(int w, int h) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the maximum size of a window's client area.
setMinimumSize(int w, int h) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the minimum size of a window's client area.
setMouseGrab(bool grabbed) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set a window's mouse grab mode.
setMouseRect(Rectangle<double> rect) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Confines the cursor to the specified area of a window.
setOpacity(double opacity) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the opacity for a window.
setPosition(int x, int y) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Request that the window's position be set.
setResizable(bool resizable) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the user-resizable state of a window.
setSize(int w, int h) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Request that the size of a window's client area be set.
setTitle(String title) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the title of a window.
setWindowFocasable(bool focusable) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set whether the window may have input focus.
setWindowModal(bool modal) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Toggle the state of the window as modal.
setWindowParent(Pointer<SdlWindow> parent) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Set the window as a child of a parent window.
show() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Show a window.
showWindowSystemMenu(int x, int y) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Display the system-level window menu.
updateSurface() bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Copy the window surface to the screen.
updateSurfaceRects(List<Rectangle<double>> rects) bool

Available on Pointer<SdlWindow>, provided by the SdlWindowPointerEx extension

Copy areas of the window surface to the screen.