SDL_HasClipboardData - Man Page
Query whether there is data in the clipboard for the provided mime type.
Header File
Defined in SDL3/SDL_clipboard.h
Synopsis
#include "SDL3/SDL.h" bool SDL_HasClipboardData(const char *mime_type);
Function Parameters
- mime_type
the mime type to check for data for.
Return Value
Returns true if there exists data in clipboard for the provided mime type, 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
·(3), SDL_SetClipboardData(3), ·(3), SDL_GetClipboardData(3)
Referenced By
SDL_GetClipboardData(3), SDL_SetClipboardData(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS