Documentation for attention request

This commit is contained in:
Felipe Ferreira da Silva 2017-04-07 03:51:19 -03:00
parent a3ad2537e2
commit 82afc48fab

View File

@ -2698,6 +2698,21 @@ GLFWAPI void glfwMaximizeWindow(GLFWwindow* window);
*/ */
GLFWAPI void glfwShowWindow(GLFWwindow* window); GLFWAPI void glfwShowWindow(GLFWwindow* window);
/*! @brief Request attention to the specified window.
*
* This function makes the specified window to request attention.
*
* @param[in] window The window to request attention.
*
* @errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref
* GLFW_PLATFORM_ERROR.
*
* @thread_safety This function must only be called from the main thread.
*
* @since Added in version 3.3.
*
* @ingroup window
*/
GLFWAPI void glfwRequestWindowAttention(GLFWwindow* window); GLFWAPI void glfwRequestWindowAttention(GLFWwindow* window);
/*! @brief Hides the specified window. /*! @brief Hides the specified window.