Function glfwSetWindowPos

  • 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.

    Parameters

    • window: GLFWwindow

      The window to query.

    • xpos: number

      The x-coordinate of the upper-left corner of the content area.

    • ypos: number

      The y-coordinate of the upper-left corner of the content area.

    Returns void

Generated using TypeDoc