glfwGetClipboardString¶
Returns the contents of the clipboard as a string.
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 @ref
GLFW_FORMAT_UNAVAILABLE error is generated.
- arguments
-
\GLFWwindow
$window
Deprecated. Any valid window orNULL
.
- returns
-
string
The contents of the clipboard as a UTF-8 encoded string, orNULL
if anerror
occurred.