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

Method listselect_event

Lib/idlelib/autocomplete_w.py:311–315  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

309 self.hide_window()
310
311 def listselect_event(self, event):
312 if self.is_active():
313 self.userwantswindow = True
314 cursel = int(self.listbox.curselection()[0])
315 self._change_start(self.completions[cursel])
316
317 def doubleclick_event(self, event):
318 # Put the selected completion in the text, and close the list

Callers

nothing calls this directly

Calls 3

is_activeMethod · 0.95
_change_startMethod · 0.95
curselectionMethod · 0.80

Tested by

no test coverage detected