Window.keyboardGrab - multiple declarations

Function Window.keyboardGrab

Wraps SDL_GetWindowKeyboardGrab (from SDL 2.0.16) which gets the status of the window grabbing onto keyboard input

bool keyboardGrab() @property @trusted const;

Returns

true if the window is grabbing onto keyboard input, otherwise false

Function Window.keyboardGrab

Wraps SDL_SetWindowKeyboardGrab (from SDL 2.0.16) which sets the status of the window grabbing onto keyboard input

void keyboardGrab (
  bool newKeyboardGrab
) @property @trusted;

Parameters

NameDescription
newKeyboardGrab true to enable keyboard grab, otherwise false