glfwSetWindowPos¶
Sets the position of the content area of the specified window.
This function sets the position, in screen coordinates, of the upper-left corner of the content area of the specified windowed mode window. If the window is a full screen window, this function does nothing.
Do not use this function to move an already visible window unless you have very good reasons for doing so, as it will confuse and annoy the user.
The window manager may put limits on what positions are allowed. GLFW cannot and should not override these limits.
- arguments
-
\GLFWwindow
$window
The window to query.int
$xpos
The x-coordinate of the upper-left corner of the content area.int
$ypos
The y-coordinate of the upper-left corner of the content area.
- returns
-
void