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)
| 1029 | self.tk.call(('clipboard', 'clear') + self._options(kw)) |
| 1030 | |
| 1031 | def clipboard_append(self, string, **kw): |
| 1032 | """Append STRING to the Tk clipboard. |
| 1033 | |
| 1034 | A widget specified at the optional displayof keyword |
| 1035 | argument specifies the target display. The clipboard |
| 1036 | can be retrieved with selection_get.""" |
| 1037 | if 'displayof' not in kw: kw['displayof'] = self._w |
| 1038 | self.tk.call(('clipboard', 'append') + self._options(kw) |
| 1039 | + ('--', string)) |
| 1040 | # XXX grab current w/o window argument |
| 1041 | |
| 1042 | def grab_current(self): |