Clipboard handling
OperationsGet UTF-8 text from the clipboard
function : GetClipboardText() ~ String
Type | Description |
---|---|
String | clipboard text on success or NULL on failure |
Flag indicating whether the clipboard exists and contains a text string that is non-empty
function : HasClipboardText() ~ Bool
Type | Description |
---|---|
Bool | true if the clipboard has text, or false if it does not |
Put UTF-8 text into the clipboard.
function : SetClipboardText(text:String) ~ Int
Name | Type | Description |
---|---|---|
text | String | the text to store in the clipboard |
Type | Description |
---|---|
Int | 0 on success or a negative error code on failure |