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)
| 1148 | self._options(kw) + (self._w,)) |
| 1149 | |
| 1150 | def selection_own_get(self, **kw): |
| 1151 | """Return owner of X selection. |
| 1152 | |
| 1153 | The following keyword parameter can |
| 1154 | be provided: |
| 1155 | selection - name of the selection (default PRIMARY), |
| 1156 | type - type of the selection (e.g. STRING, FILE_NAME).""" |
| 1157 | if 'displayof' not in kw: kw['displayof'] = self._w |
| 1158 | name = self.tk.call(('selection', 'own') + self._options(kw)) |
| 1159 | if not name: return None |
| 1160 | return self._nametowidget(name) |
| 1161 | |
| 1162 | def send(self, interp, cmd, *args): |
| 1163 | """Send Tcl command CMD to different interpreter INTERP to be executed.""" |