SDL_HasClipboardText

Query whether the clipboard exists and contains a non-empty text string.

extern (C) nothrow @nogc extern
bool
SDL_HasClipboardText
()

Return Value

Type: bool

true if the clipboard has text, or false if it does not.

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

See Also

Meta