pub type GLFWwindowfocusfun = Option<unsafe extern "C" fn(*mut GLFWwindow, i32)>;Expand description
@brief The function pointer type for window focus callbacks.
This is the function pointer type for window focus callbacks. A window focus callback function has the following signature: @code void function_name(GLFWwindow* window, int focused) @endcode
@param[in] window The window that gained or lost input focus.
@param[in] focused GLFW_TRUE if the window was given input focus, or
GLFW_FALSE if it lost it.
@sa @ref window_focus @sa @ref glfwSetWindowFocusCallback
@since Added in version 3.0.
@ingroup window
Aliased Type§
pub enum GLFWwindowfocusfun {
None,
Some(unsafe extern "C" fn(*mut GLFWwindow, i32)),
}