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

Method redirect_focusin_event

Lib/idlelib/sidebar.py:121–124  ·  view source on GitHub ↗

Redirect focus-in events to the main editor text widget.

(self, event)

Source from the content-addressed store, hash-verified

119 return self.yscroll_event(*args, **kwargs)
120
121 def redirect_focusin_event(self, event):
122 """Redirect focus-in events to the main editor text widget."""
123 self.text.focus_set()
124 return 'break'
125
126 def redirect_mousebutton_event(self, event, event_name):
127 """Redirect mouse button events to the main editor text widget."""

Callers

nothing calls this directly

Calls 1

focus_setMethod · 0.45

Tested by

no test coverage detected