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

Method selection_includes

Lib/tkinter/__init__.py:3529–3532  ·  view source on GitHub ↗

Return True if INDEX is part of the selection.

(self, index)

Source from the content-addressed store, hash-verified

3527 select_clear = selection_clear
3528
3529 def selection_includes(self, index):
3530 """Return True if INDEX is part of the selection."""
3531 return self.tk.getboolean(self.tk.call(
3532 self._w, 'selection', 'includes', index))
3533
3534 select_includes = selection_includes
3535

Callers 2

up_eventMethod · 0.80
down_eventMethod · 0.80

Calls 2

getbooleanMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected