windows_clipboard library

Wrapper around the clipboard windows api.

Functions

getClipboardString() String
Get the current clipboard as String. Throws a ClipboardException if this fails.
setClipboardString(String str) → void
Set the current clipboard as String. Throws a ClipboardException if this fails.
tryGetClipboardString() String
Get the current clipboard as String. Returns null if this fails.

Enums

ClipboardErrorId
Info about the clipboard error.

Exceptions / Errors

ClipboardException
Exception throw when a clipboard operation fails.