#pragma section-numbers off #pragma camelcase off = SDL_GetClipboardText = Use this function to get UTF-8 text from the clipboard, which must be freed with SDL_free(). <> == Syntax == {{{#!highlight cpp char* SDL_GetClipboardText(void) }}} == Return Value == Returns the clipboard text on success or NULL on failure; call [[SDL_GetError]]() for more information. == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == This functions returns NULL if there was not enough memory left for a copy of the clipboard's content. == Related Functions == .[[SDL_HasClipboardText]] .[[SDL_SetClipboardText]] ---- [[CategoryAPI]], [[CategoryClipboard]]