[][src]Type Definition rs_glfw3::bindings::GLFWwindowfocusfun

type GLFWwindowfocusfun = Option<unsafe extern "C" fn(arg1: *mut GLFWwindow, arg2: c_int)>;

@brief The function signature for window focus/defocus callbacks.

This is the function signature for window focus callback functions.

@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 glfwSetWindowFocusCallback

@since Added in version 3.0.

@ingroup window