SDL 2.0
|
Go to the source code of this file.
Functions | |
int | SDL_SetClipboardText (const char *text) |
char * | SDL_GetClipboardText (void) |
SDL_bool | SDL_HasClipboardText (void) |
int | SDL_SetPrimarySelectionText (const char *text) |
char * | SDL_GetPrimarySelectionText (void) |
SDL_bool | SDL_HasPrimarySelectionText (void) |
Include file for SDL clipboard handling
Definition in file SDL_clipboard.h.
|
extern |
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.
|
extern |
Get UTF-8 text from the primary selection, which must be freed with SDL_free().
This functions returns empty string if there was not enough memory left for a copy of the primary selection's content.
|
extern |
Query whether the clipboard exists and contains a non-empty text string.
|
extern |
Query whether the primary selection exists and contains a non-empty text string.
|
extern |
Put UTF-8 text into the clipboard.
text | the text to store in the clipboard |
|
extern |
Put UTF-8 text into the primary selection.
text | the text to store in the primary selection |