Function glfwSetMonitorCallback

  • This function sets the monitor configuration callback, or removes the currently set callback.

    This function allows you to set a callback that will be called when a monitor is connected to or disconnected from the system. On some systems, only changes to the primary monitor (the one with the taskbar) will trigger this callback.

    This function may be called from any thread. Access is not synchronized.

    Parameters

    Returns GLFWmonitorfun

    The previously set monitor configuration callback, or null if no callback was set or an error occurred.

Generated using TypeDoc