Window.position

Wraps SDL_SetWindowPosition which sets the position of the window in the desktop environment

  1. int[2] position()
  2. void position(int[2] newPosition)
    class Window
    @property @trusted
    void
    position
    ()

Parameters

newPosition int[2]

top-left coordinate of the new window position in the desktop environment

Meta