Put UTF-8 text into the clipboard.
Defined in <SDL3/SDL_clipboard.h>
bool SDL_SetClipboardText(const char *text);
const char * | text | the text to store in the clipboard. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
This function should only be called on the main thread.
This function is available since SDL 3.1.3.