Function SDL_HasClipboardText
pub unsafe extern "C" fn SDL_HasClipboardText() -> bool
Available on crate feature dep_sdl3
only.
Expand description
Query whether the clipboard exists and contains a non-empty text string.
§Return value
Returns true if the clipboard has text, or false if it does not.
§Thread safety
This function should only be called on the main thread.
§Availability
This function is available since SDL 3.2.0.
§See also