Window.position - multiple declarations
Function Window.position
Wraps SDL_GetWindowPosition
which gets the top-left coordinate position of the window in
the desktop environment
int[2] position() @property @trusted const;
Returns
top-left coordinate position of the window in the desktop environment
Function Window.position
Wraps SDL_SetWindowPosition
which sets the position of the window in the desktop environment
void position
(
int[2] newPosition
) @property @trusted;
Parameters
Name | Description |
---|---|
newPosition | top-left coordinate of the new window position in the desktop environment |