Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-05-17 18:06:27
Size: 643
Editor: SheenaSmith
Comment: minor change
Revision 4 as of 2014-01-09 00:46:55
Size: 671
Editor: urkle
Comment: add related function
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:


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


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


You can add useful comments here

CategoryAPI, CategoryClipboard

None: SDL_GetClipboardText (last edited 2015-10-29 22:22:56 by PhilippWiesemann)

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