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