SDL_SetPrimarySelectionText

Put UTF-8 text into the primary selection.

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

Parameters

text const(char)*

the text to store in the primary selection.

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

Meta