Function setClipboard

Wraps SDL_SetClipboardText which puts a string of text into the clipboard

void setClipboard (
  string text
) @trusted;

Parameters

NameDescription
text string to put into the clipboard

Throws

dsdl2.SDLException on fail when putting the string into the clipboard