cf_clipboard_get_data¶
Category: input
GitHub: cute_clipboard.h
Gets clipboard data for the given MIME type.
| Parameters | Description |
|---|---|
mime_type |
The MIME type to request (e.g. "image/png"). |
size |
Output parameter for the size of the returned data in bytes. |
Return Value¶
Returns a malloc'd buffer with the clipboard data. Caller must free with cf_free. Returns NULL on failure.