grab property

bool grab

Get the input grab mode for this window.

SDL Docs

Implementation

bool get grab => sdl.getBool(sdl.sdl.SDL_GetWindowGrab(handle));
void grab=(bool value)

Set the grab mode of this window.

SDL Docs

Implementation

set grab(final bool value) =>
    sdl.sdl.SDL_SetWindowGrab(handle, sdl.boolToValue(value));