Append STRING to the Tk clipboard. A widget specified at the optional displayof keyword argument specifies the target display. The clipboard can be retrieved with selection_get.
(self, string, **kw)
| 1047 | self.tk.call(('clipboard', 'clear') + self._options(kw)) |
| 1048 | |
| 1049 | def clipboard_append(self, string, **kw): |
| 1050 | """Append STRING to the Tk clipboard. |
| 1051 | |
| 1052 | A widget specified at the optional displayof keyword |
| 1053 | argument specifies the target display. The clipboard |
| 1054 | can be retrieved with selection_get.""" |
| 1055 | if 'displayof' not in kw: kw['displayof'] = self._w |
| 1056 | self.tk.call(('clipboard', 'append') + self._options(kw) |
| 1057 | + ('--', string)) |
| 1058 | # XXX grab current w/o window argument |
| 1059 | |
| 1060 | def grab_current(self): |