sdl3/generated/lib_sdl_clipboard library
Functions
-
sdlClearClipboardData(
) → bool - Clear the clipboard data.
-
sdlGetClipboardData(
String? mimeType, Pointer< Uint32> size) → Pointer<NativeType> - Get the data from clipboard for a given mime type.
-
sdlGetClipboardMimeTypes(
Pointer< Uint32> numMimeTypes) → Pointer<Pointer< Int8> > - Retrieve the list of mime types available in the clipboard.
-
sdlGetClipboardText(
) → Pointer< Int8> - Get UTF-8 text from the clipboard.
-
sdlGetPrimarySelectionText(
) → Pointer< Int8> - Get UTF-8 text from the primary selection.
-
sdlHasClipboardData(
String? mimeType) → bool - Query whether there is data in the clipboard for the provided mime type.
-
sdlHasClipboardText(
) → bool - Query whether the clipboard exists and contains a non-empty text string.
-
sdlHasPrimarySelectionText(
) → bool - Query whether the primary selection exists and contains a non-empty text string.
-
sdlSetClipboardData(
Pointer< NativeFunction< callback, Pointer<SdlClipboardDataCallback> >NativeFunction< cleanup, Pointer<SdlClipboardCleanupCallback> >NativeType> userdata, Pointer<Pointer< mimeTypes, int numMimeTypes) → boolInt8> > - Offer clipboard data to the OS.
-
sdlSetClipboardText(
String? text) → bool - Put UTF-8 text into the clipboard.
-
sdlSetPrimarySelectionText(
String? text) → bool - Put UTF-8 text into the primary selection.