setPrimarySelection

Wraps SDL_SetPrimarySelectionText (from SDL 2.26) which puts a string of text into the primary selection

@safe @trusted
static if(sdlSupport >= SDLSupport.v2_26)
void
setPrimarySelection
(
string text
)

Parameters

text string

string to put into the primary selection

Throws

dsdl2.SDLException on fail when putting the string into the primary selection

Meta