Function glfwSetWindowPosCallback

  • This function sets the position callback of the specified window, which is called when the window is moved. The callback is provided with the position, in screen coordinates, of the upper-left corner of the content area of the window.

    Parameters

    • window: GLFWwindow

      The window whose callback to set.

    • callback: GLFWwindowposfun

      The new callback, or NULL to remove the currently set callback.

    Returns GLFWwindowposfun

    The previously set callback, or NULL if no callback was set or the library had not been initialized.

Generated using TypeDoc