Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2011-04-15 17:15:06
Size: 698
Editor: SheenaSmith
Comment: minor change
Revision 4 as of 2011-05-17 17:45:55
Size: 697
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
Returns 0 on success, or a negative error code on failure; call [[SDL_GetError]]() for more information. Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information.

SDL_SetClipboardText

Use this function to put UTF-8 text into the clipboard.

Syntax

int SDL_SetClipboardText(const char* text)

Function Parameters

text

the text to store in the clipboard

Return Value

Returns 0 on success or a negative error code 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_SetClipboardText (last edited 2014-01-09 00:47:19 by urkle)

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