SDL_SetClipboardText

Put UTF-8 text into the clipboard.

extern (C) nothrow @nogc extern
bool
SDL_SetClipboardText
(
const(char)* text
)

Parameters

text const(char)*

the text to store in the clipboard.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: This function should only be called on the main thread.

See_Also SDL_GetClipboardText SDL_HasClipboardText

Meta