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

Method select

Lib/idlelib/scrolledlist.py:112–117  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

110 return "break"
111
112 def select(self, index):
113 self.listbox.focus_set()
114 self.listbox.activate(index)
115 self.listbox.selection_clear(0, "end")
116 self.listbox.selection_set(index)
117 self.listbox.see(index)
118
119 # Methods to override for specific actions
120

Callers 5

click_eventMethod · 0.95
double_click_eventMethod · 0.95
popup_eventMethod · 0.95
up_eventMethod · 0.95
down_eventMethod · 0.95

Calls 5

focus_setMethod · 0.45
activateMethod · 0.45
selection_clearMethod · 0.45
selection_setMethod · 0.45
seeMethod · 0.45

Tested by

no test coverage detected