glfwRequestWindowAttention function
! @brief Requests user attention to the specified window.
This function requests user attention to the specified window. On platforms where this is not supported, attention is requested to the application as a whole.
Once the user has given attention, usually by focusing the window or application, the system will end the request automatically.
@paramin
window The window to request attention to.
@errors Possible errors include @ref GLFW_NOT_INITIALIZED and @ref GLFW_PLATFORM_ERROR.
@remark @macos Attention is requested to the application as a whole, not the specific window.
@thread_safety This function must only be called from the main thread.
@sa @ref window_attention
@since Added in version 3.3.
@ingroup window
GLFWAPI void glfwRequestWindowAttention(GLFWwindow* window)
Implementation
void glfwRequestWindowAttention(Pointer<GLFWwindow> window) {
final glfwRequestWindowAttentionLookupFunction = libglfw.lookupFunction<
Void Function(Pointer<GLFWwindow> window),
void Function(Pointer<GLFWwindow> window)>('glfwRequestWindowAttention');
return glfwRequestWindowAttentionLookupFunction(window);
}