| SDL_HasClipboardText(3) | SDL3 FUNCTIONS | SDL_HasClipboardText(3) |
SDL_HasClipboardText - Query whether the clipboard exists and contains a non-empty text string.
Defined in SDL3/SDL_clipboard.h
#include "SDL3/SDL.h"
bool SDL_HasClipboardText(void);
Returns true if the clipboard has text, or false if it does not.
This function should only be called on the main thread.
This function is available since SDL 3.2.0.
•(3), SDL_GetClipboardText(3), •(3), SDL_SetClipboardText(3)
| SDL 3.2.10 | Simple Directmedia Layer |