Function sdl2_sys::SDL_HasPrimarySelectionText

source ยท
pub unsafe extern "C" fn SDL_HasPrimarySelectionText() -> SDL_bool
Expand description

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

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

\since This function is available since SDL 2.26.0.

\sa SDL_GetPrimarySelectionText \sa SDL_SetPrimarySelectionText