MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / clipboardIsTextAvailable

Method clipboardIsTextAvailable

platform/sdl/knativescreenSDL.cpp:352–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352bool KNativeScreenSDL::clipboardIsTextAvailable() {
353 return SDL_HasClipboardText() != SDL_FALSE;
354}
355
356BString KNativeScreenSDL::clipboardGetText() {
357 char* result = SDL_GetClipboardText();

Callers 1

initClipboardMethod · 0.80

Calls 1

SDL_HasClipboardTextFunction · 0.85

Tested by

no test coverage detected