Window.mouseGrab

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

  1. bool mouseGrab()
    class Window
    const @property @trusted
    static if(sdlSupport >= SDLSupport.v2_0_16)
    bool
    mouseGrab
    ()
  2. void mouseGrab(bool newMouseGrab)

Return Value

Type: bool

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

Meta