|
⇤ ← Revision 1 as of 2011-04-13 21:00:22
Size: 948
Comment: create page - 4/8 05af1b9ff46d
|
Size: 755
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||'''text'''||the desired text|| | ||'''text'''||the text to store in the clipboard|| |
| Line 19: | Line 19: |
| Returns 0 on success,,, or a negative error code on failure; call [[SDL_GetError]]() for more information,,. <<Color2(green,I don't think it returns a negative error code on failure but I haven't come up with a better general description yet. This one may not have a failure value (other than empty string?).)>> |
Returns 0 on success, or a negative error code on failure; call [[SDL_GetError]]() for more information. |
DRAFT |
SDL_SetClipboardText
Use this function to put UTF-8 text into the clipboard.
Contents
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
