SDL_HasClipboardData

Query whether there is data in the clipboard for the provided mime type.

extern (C) nothrow @nogc extern
bool
SDL_HasClipboardData
(
const(char)* mime_type
)

Parameters

mime_type const(char)*

the mime type to check for data for.

Return Value

Type: bool

true if there exists data in clipboard for the provided mime type, false if it does not.

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

See Also

Meta