Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2011-05-17 17:45:55
Size: 697
Editor: SheenaSmith
Comment: minor change
Revision 5 as of 2014-01-09 00:47:19
Size: 725
Editor: urkle
Comment: add related function
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:
 .[[SDL_HasClipboardText]]

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