|
SDL
2.0
|
Include dependency graph for SDL_clipboard.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| int | SDL_SetClipboardText (const char *text) |
| char * | SDL_GetClipboardText (void) |
| SDL_bool | SDL_HasClipboardText (void) |
Include file for SDL clipboard handling
Definition in file SDL_clipboard.h.
| char* SDL_GetClipboardText | ( | void | ) |
Get UTF-8 text from the clipboard, which must be freed with SDL_free().
This functions returns empty string if there was not enough memory left for a copy of the clipboard's content.
| SDL_bool SDL_HasClipboardText | ( | void | ) |
Query whether the clipboard exists and contains a non-empty text string.
| int SDL_SetClipboardText | ( | const char * | text | ) |
Put UTF-8 text into the clipboard.
| text | the text to store in the clipboard |