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

Method doubleclick_event

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

Source from the content-addressed store, hash-verified

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
319 cursel = int(self.listbox.curselection()[0])
320 self._change_start(self.completions[cursel])
321 self.hide_window()
322
323 def keypress_event(self, event):
324 if not self.is_active():

Callers

nothing calls this directly

Calls 3

_change_startMethod · 0.95
hide_windowMethod · 0.95
curselectionMethod · 0.80

Tested by

no test coverage detected