Clear the data in the Tk clipboard. A widget specified for the optional displayof keyword argument specifies the target display.
(self, **kw)
| 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. |