Module dsdl2.clipboard
Functions
Name | Description |
getClipboard()
|
Wraps SDL_GetClipboardText which gets the text stored in the clipboard
|
getPrimarySelection()
|
Wraps SDL_GetPrimarySelectionText (from SDL 2.26) which gets the text stored in the primary selection
|
hasClipboard()
|
Wraps SDL_HasClipboardText which checks whether the clipboard exists and contains a non-empty text string
|
hasPrimarySelection()
|
Wraps SDL_HasPrimarySelectionText (from SDL 2.26) which checks whether the primary selection exists
and contains a non-empty text string
|
setClipboard(text)
|
Wraps SDL_SetClipboardText which puts a string of text into the clipboard
|
setPrimarySelection(text)
|
Wraps SDL_SetPrimarySelectionText (from SDL 2.26) which puts a string of text into the primary
selection
|