SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_clipboard.h File Reference

SDL_clipboard.h File Reference

Include file for SDL clipboard handling. More...

Go to the source code of this file.

Functions

DECLSPEC int SDLCALL SDL_SetClipboardText (const char *text)
 Put UTF-8 text into the clipboard.
DECLSPEC char *SDLCALL SDL_GetClipboardText (void)
 Get UTF-8 text from the clipboard, which must be freed with SDL_free()
DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText (void)
 Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty.

Detailed Description

Include file for SDL clipboard handling.

Definition in file SDL_clipboard.h.


Function Documentation

DECLSPEC char* SDLCALL SDL_GetClipboardText ( void   )

Get UTF-8 text from the clipboard, which must be freed with SDL_free()

See also:
SDL_SetClipboardText()
DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText ( void   )

Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty.

See also:
SDL_GetClipboardText()
DECLSPEC int SDLCALL SDL_SetClipboardText ( const char *  text )

Put UTF-8 text into the clipboard.

See also:
SDL_GetClipboardText()