SdlWindowPointerEx extension
Methods
-
createRenderer(
{String? name}) → Pointer< SdlRenderer> -
Available on Pointer<
Create a 2D rendering context for a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
destroy(
) → bool -
Available on Pointer<
Destroy a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
flash(
int operation) → bool -
Available on Pointer<
Request a window to demand attention from the user.SdlWindow> , provided by the SdlWindowPointerEx extension -
getBordersSize(
) → Rectangle< double> -
Available on Pointer<
Get the size of a window's borders (decorations) around the client area.SdlWindow> , provided by the SdlWindowPointerEx extension -
getDisplayFor(
) → int -
Available on Pointer<
Get the display associated with a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
getFlags(
) → int -
Available on Pointer<
Get the window flags.SdlWindow> , provided by the SdlWindowPointerEx extension -
getId(
) → int -
Available on Pointer<
Get the numeric ID of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
getKeyboardGrab(
) → bool -
Available on Pointer<
Get a window's keyboard grab mode.SdlWindow> , provided by the SdlWindowPointerEx extension -
getMaximumSize(
) → Point< double> -
Available on Pointer<
Get the maximum size of a window's client area.SdlWindow> , provided by the SdlWindowPointerEx extension -
getMinimumSize(
) → Point< double> -
Available on Pointer<
Get the minimum size of a window's client area.SdlWindow> , provided by the SdlWindowPointerEx extension -
getMouseGrab(
) → bool -
Available on Pointer<
Get a window's mouse grab mode.SdlWindow> , provided by the SdlWindowPointerEx extension -
getMouseRect(
) → Rectangle< double> ? -
Available on Pointer<
Get the mouse confinement rectangle of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
getOpacity(
) → double? -
Available on Pointer<
Get the opacity of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
getPosition(
) → Point< double> -
Available on Pointer<
Get the position of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
getRenderer(
) → Pointer< SdlRenderer> -
Available on Pointer<
Get the renderer associated with a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
getSize(
) → Point< double> -
Available on Pointer<
Get the size of a window's client area.SdlWindow> , provided by the SdlWindowPointerEx extension -
getSizeInPixels(
) → Point< double> -
Available on Pointer<
Get the size of a window's client area, in pixels.SdlWindow> , provided by the SdlWindowPointerEx extension -
getSurface(
) → Pointer< SdlSurface> -
Available on Pointer<
Get the SDL surface associated with the window.SdlWindow> , provided by the SdlWindowPointerEx extension -
getTitle(
) → String? -
Available on Pointer<
Get the title of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
glCreateContext(
) → Pointer< SdlGlContext> -
Available on Pointer<
Create an OpenGL context for an OpenGL window, and make it current.SdlWindow> , provided by the SdlWindowPointerEx extension -
hide(
) → bool -
Available on Pointer<
Hide a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
maximize(
) → bool -
Available on Pointer<
Request that the window be made as large as possible.SdlWindow> , provided by the SdlWindowPointerEx extension -
minimize(
) → bool -
Available on Pointer<
Request that the window be minimized to an iconic representation.SdlWindow> , provided by the SdlWindowPointerEx extension -
raise(
) → bool -
Available on Pointer<
Request that a window be raised above other windows and gain the input focus.SdlWindow> , provided by the SdlWindowPointerEx extension -
restore(
) → bool -
Available on Pointer<
Request that the size and position of a minimized or maximized window be restored.SdlWindow> , provided by the SdlWindowPointerEx extension -
setAlwaysOnTop(
bool onTop) → bool -
Available on Pointer<
Set the window to always be above the others.SdlWindow> , provided by the SdlWindowPointerEx extension -
setBordered(
bool bordered) → bool -
Available on Pointer<
Set the border state of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
setHitTest(
Pointer< NativeFunction< callback, Pointer<SdlHitTest> >NativeType> callbackData) → bool -
Available on Pointer<
Provide a callback that decides if a window region has special properties.SdlWindow> , provided by the SdlWindowPointerEx extension -
setIcon(
Pointer< SdlSurface> icon) → bool -
Available on Pointer<
Set the icon for a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
setKeyboardGrab(
bool grabbed) → bool -
Available on Pointer<
Set a window's keyboard grab mode.SdlWindow> , provided by the SdlWindowPointerEx extension -
setMaximumSize(
int w, int h) → bool -
Available on Pointer<
Set the maximum size of a window's client area.SdlWindow> , provided by the SdlWindowPointerEx extension -
setMinimumSize(
int w, int h) → bool -
Available on Pointer<
Set the minimum size of a window's client area.SdlWindow> , provided by the SdlWindowPointerEx extension -
setMouseGrab(
bool grabbed) → bool -
Available on Pointer<
Set a window's mouse grab mode.SdlWindow> , provided by the SdlWindowPointerEx extension -
setMouseRect(
Rectangle< double> rect) → bool -
Available on Pointer<
Confines the cursor to the specified area of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
setOpacity(
double opacity) → bool -
Available on Pointer<
Set the opacity for a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
setPosition(
int x, int y) → bool -
Available on Pointer<
Request that the window's position be set.SdlWindow> , provided by the SdlWindowPointerEx extension -
setResizable(
bool resizable) → bool -
Available on Pointer<
Set the user-resizable state of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
setSize(
int w, int h) → bool -
Available on Pointer<
Request that the size of a window's client area be set.SdlWindow> , provided by the SdlWindowPointerEx extension -
setTitle(
String title) → bool -
Available on Pointer<
Set the title of a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
setWindowFocasable(
bool focusable) → bool -
Available on Pointer<
Set whether the window may have input focus.SdlWindow> , provided by the SdlWindowPointerEx extension -
setWindowModal(
bool modal) → bool -
Available on Pointer<
Toggle the state of the window as modal.SdlWindow> , provided by the SdlWindowPointerEx extension -
setWindowParent(
Pointer< SdlWindow> parent) → bool -
Available on Pointer<
Set the window as a child of a parent window.SdlWindow> , provided by the SdlWindowPointerEx extension -
show(
) → bool -
Available on Pointer<
Show a window.SdlWindow> , provided by the SdlWindowPointerEx extension -
showWindowSystemMenu(
int x, int y) → bool -
Available on Pointer<
Display the system-level window menu.SdlWindow> , provided by the SdlWindowPointerEx extension -
updateSurface(
) → bool -
Available on Pointer<
Copy the window surface to the screen.SdlWindow> , provided by the SdlWindowPointerEx extension -
updateSurfaceRects(
List< Rectangle< rects) → booldouble> > -
Available on Pointer<
Copy areas of the window surface to the screen.SdlWindow> , provided by the SdlWindowPointerEx extension