Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-04-13 21:14:47
Size: 759
Editor: SheenaSmith
Comment: create page - 4/8 05af1b9ff46d
Revision 2 as of 2011-04-15 17:10:31
Size: 644
Editor: SheenaSmith
Comment: update content - w/ Sam; remove draft
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 16: Line 15:
Returns the clipboard text on success,,, or a negative error code on failure; call [[SDL_GetError]]() for more information,,.

<<Color2(green,Not sure of RV.)>>
Returns the clipboard text on success, or NULL on failure; call [[SDL_GetError]]() for more information.

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

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

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