SDL_GetClipboardText

Use this function to get UTF-8 text from the clipboard, which must be freed with SDL_free().

Syntax

char* SDL_GetClipboardText(void)

Return Value

Returns the clipboard text on success or NULL on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryClipboard

SDL_GetClipboardText (last edited 2011-05-17 18:06:27 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit