MCPcopy Index your code
hub / github.com/python/cpython / selection_clear

Method selection_clear

Lib/tkinter/__init__.py:1121–1124  ·  view source on GitHub ↗

Clear the current X selection.

(self, **kw)

Source from the content-addressed store, hash-verified

1119 self.tk.call('option', 'readfile', fileName, priority)
1120
1121 def selection_clear(self, **kw):
1122 """Clear the current X selection."""
1123 if 'displayof' not in kw: kw['displayof'] = self._w
1124 self.tk.call(('selection', 'clear') + self._options(kw))
1125
1126 def selection_get(self, **kw):
1127 """Return the contents of the current X selection.

Callers 4

test_curselectionMethod · 0.45
selectMethod · 0.45

Calls 2

_optionsMethod · 0.95
callMethod · 0.45

Tested by 3

test_curselectionMethod · 0.36