[go: up one dir, main page]

glfwSetX11SelectionString

Function glfwSetX11SelectionString 

Source
pub unsafe extern "C" fn glfwSetX11SelectionString(string: *const i8)
Expand description

@brief Sets the current primary selection to the specified string.

@param string A UTF-8 encoded string.

@errors Possible errors include @ref GLFW_NOT_INITIALIZED, @ref GLFW_PLATFORM_UNAVAILABLE and @ref GLFW_PLATFORM_ERROR.

@pointer_lifetime The specified string is copied before this function returns.

@thread_safety This function must only be called from the main thread.

@sa @ref clipboard @sa glfwGetX11SelectionString @sa glfwSetClipboardString

@since Added in version 3.3.

@ingroup native