Function SDL_HasPrimarySelectionText

pub unsafe extern "C" fn SDL_HasPrimarySelectionText() -> bool
Available on crate feature dep_sdl3 only.
Expand description

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

§Return value

Returns true if the primary selection 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