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

Method b1_enter_handler

Lib/idlelib/sidebar.py:256–261  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

254 self.main_widget.bind('<B1-Leave>', b1_leave_handler)
255
256 def b1_enter_handler(event):
257 # Cancel the scheduling of text_auto_scroll(), if it exists.
258 nonlocal auto_scrolling_after_id
259 if auto_scrolling_after_id is not None:
260 self.main_widget.after_cancel(auto_scrolling_after_id)
261 auto_scrolling_after_id = None
262 self.main_widget.bind('<B1-Enter>', b1_enter_handler)
263
264

Callers

nothing calls this directly

Calls 1

after_cancelMethod · 0.80

Tested by

no test coverage detected