Window.mouseGrab - multiple declarations

Function Window.mouseGrab

Wraps SDL_GetWindowMouseGrab (from SDL 2.0.16) which gets the status of the window grabbing onto mouse input

bool mouseGrab() @property @trusted const;

Returns

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

Function Window.mouseGrab

Wraps SDL_SetWindowMouseGrab (from SDL 2.0.16) which sets the status of the window grabbing onto mouse input

void mouseGrab (
  bool newMouseGrab
) @property @trusted;

Parameters

NameDescription
newMouseGrab true to enable mouse grab, otherwise false