MCPcopy Index your code
hub / github.com/RustPython/RustPython / clipboard_clear

Method clipboard_clear

Lib/tkinter/__init__.py:1023–1029  ·  view source on GitHub ↗

Clear the data in the Tk clipboard. A widget specified for the optional displayof keyword argument specifies the target display.

(self, **kw)

Source from the content-addressed store, hash-verified

1021 return self.tk.call(('clipboard', 'get') + self._options(kw))
1022
1023 def clipboard_clear(self, **kw):
1024 """Clear the data in the Tk clipboard.
1025
1026 A widget specified for the optional displayof keyword
1027 argument specifies the target display."""
1028 if 'displayof' not in kw: kw['displayof'] = self._w
1029 self.tk.call(('clipboard', 'clear') + self._options(kw))
1030
1031 def clipboard_append(self, string, **kw):
1032 """Append STRING to the Tk clipboard.

Callers

nothing calls this directly

Calls 2

_optionsMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected