Function SDL_HasClipboardText

pub unsafe extern "C" fn SDL_HasClipboardText() -> SDL_bool
Available on crate feature dep_sdl2 only.
Expand description

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

\returns SDL_TRUE if the clipboard has text, or SDL_FALSE if it does not.

\since This function is available since SDL 2.0.0.

\sa SDL_GetClipboardText \sa SDL_SetClipboardText