Function glfwGetClipboardString

  • This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string. If the clipboard is empty or if its contents cannot be converted, NULL is returned and a GLFW_FORMAT_UNAVAILABLE error is generated.

    Parameters

    • window: GLFWwindow

      Deprecated. Any valid window or NULL.

    Returns string

    The contents of the clipboard as a UTF-8 encoded string, or NULL if an error occurred.

Generated using TypeDoc