Return owner of X selection. The following keyword parameter can be provided: selection - name of the selection (default PRIMARY), type - type of the selection (e.g. STRING, FILE_NAME).
(self, **kw)
| 1166 | self._options(kw) + (self._w,)) |
| 1167 | |
| 1168 | def selection_own_get(self, **kw): |
| 1169 | """Return owner of X selection. |
| 1170 | |
| 1171 | The following keyword parameter can |
| 1172 | be provided: |
| 1173 | selection - name of the selection (default PRIMARY), |
| 1174 | type - type of the selection (e.g. STRING, FILE_NAME).""" |
| 1175 | if 'displayof' not in kw: kw['displayof'] = self._w |
| 1176 | name = self.tk.call(('selection', 'own') + self._options(kw)) |
| 1177 | if not name: return None |
| 1178 | return self._nametowidget(name) |
| 1179 | |
| 1180 | def send(self, interp, cmd, *args): |
| 1181 | """Send Tcl command CMD to different interpreter INTERP to be executed.""" |