Window.keyboardGrab

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

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

Return Value

Type: bool

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

Meta