| SDL_HasClipboardData(3) | SDL3 FUNCTIONS | SDL_HasClipboardData(3) |
SDL_HasClipboardData - Query whether there is data in the clipboard for the provided mime type.
Defined in SDL3/SDL_clipboard.h
#include "SDL3/SDL.h"
bool SDL_HasClipboardData(const char *mime_type);
Returns true if there exists data in clipboard for the provided mime type, 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_SetClipboardData(3), •(3), SDL_GetClipboardData(3)
| SDL 3.2.10 | Simple Directmedia Layer |