MCPcopy Index your code
hub / github.com/python/cpython / curselection

Method curselection

Lib/tkinter/__init__.py:3471–3473  ·  view source on GitHub ↗

Return the indices of currently selected item.

(self)

Source from the content-addressed store, hash-verified

3469 return self._getints(self.tk.call(self._w, 'bbox', index)) or None
3470
3471 def curselection(self):
3472 """Return the indices of currently selected item."""
3473 return self._getints(self.tk.call(self._w, 'curselection')) or ()
3474
3475 def delete(self, first, last=None):
3476 """Delete items from FIRST to LAST (included)."""

Callers 10

test_curselectionMethod · 0.80
_selection_changedMethod · 0.80
listselect_eventMethod · 0.80
doubleclick_eventMethod · 0.80
keypress_eventMethod · 0.80
load_keys_listMethod · 0.80
extension_selectedMethod · 0.80
set_add_delete_stateMethod · 0.80
test_load_keys_listMethod · 0.80
showSelectedErrorMethod · 0.80

Calls 2

_getintsMethod · 0.80
callMethod · 0.45

Tested by 3

test_curselectionMethod · 0.64
test_load_keys_listMethod · 0.64
showSelectedErrorMethod · 0.64