Functions | |
void | glfwSetClipboardString (GLFWwindow *window, const char *string) |
Sets the clipboard to the specified string. More... | |
const char * | glfwGetClipboardString (GLFWwindow *window) |
Retrieves the contents of the clipboard as a string. More... | |
const char* glfwGetClipboardString | ( | GLFWwindow * | window | ) |
This function returns the contents of the system clipboard, if it contains or is convertible to a UTF-8 encoded string.
[in] | window | The window that will request the clipboard contents. |
NULL
if an error occurred.void glfwSetClipboardString | ( | GLFWwindow * | window, |
const char * | string | ||
) |
This function sets the system clipboard to the specified, UTF-8 encoded string. The string is copied before returning, so you don't have to retain it afterwards.
[in] | window | The window that will own the clipboard contents. |
[in] | string | A UTF-8 encoded string. |
Last update on Sun Nov 4 2018 for GLFW 3.0.4