TermTk.TTkGui.clipboard

TTkClipboard

class TTkClipboard[source]

Clipboard

Example:

from TermTk import TTkClipboard

# Initialize the clipboard manager
clipboard = TTkClipboard()

# Push some text to the clipboard
clipboard.setText("Example")

# Get the text from the clipboard
text = clipboard.text()
static setText(text)[source]
static text()[source]