MCPcopy Index your code
hub / github.com/RustPython/RustPython / selection_own_get

Method selection_own_get

Lib/tkinter/__init__.py:1150–1160  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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."""

Callers

nothing calls this directly

Calls 2

_optionsMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected