TTkClipboard

TTkClipboard🌶️

class TTkClipboard[source]🌶️

Bases: object

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()

Methods🌶️

static setText(text)[source]🌶️
static text()[source]🌶️