Window.mouseRect

Wraps SDL_GetWindowMouseRect (from SDL 2.0.18) which gets the window's mouse confinement rectangle

  1. Nullable!Rect mouseRect()
    class Window
    const @property @trusted
    static if(sdlSupport >= SDLSupport.v2_0_18)
    Nullable!Rect
    mouseRect
    ()
  2. void mouseRect(Rect newMouseRect)
  3. void mouseRect(typeof(null) _)
  4. void mouseRect(Nullable!Rect newMouseRect)

Return Value

Type: Nullable!Rect

dsdl2.Rect of the mouse's confinement rectangle in the window

Meta