Home

Clipboard

Clipboard handling

Operations

GetClipboardText

Get UTF-8 text from the clipboard

function : public : GetClipboardText() ~ String
Return
TypeDescription
Stringclipboard text on success or NULL on failure

HasClipboardText

Flag indicating whether the clipboard exists and contains a text string that is non-empty

function : public : HasClipboardText() ~ Bool
Return
TypeDescription
Booltrue if the clipboard has text, or false if it does not

SetClipboardText

Put UTF-8 text into the clipboard.

function : public : SetClipboardText(text:String) ~ Int
Parameters
NameTypeDescription
textStringthe text to store in the clipboard

Return
TypeDescription
Int0 on success or a negative error code on failure