class_docstr: A base class for sidebars using Text.
docstr: Redirect mouse wheel events to the editwin text widget.
docstr_tok: ["Redirect","mouse","wheel","events","to","the","editwin","text","widget","."]
code: def redirect_mousewheel_event(self, event):
      """Redirect mouse wheel events to the editwin text widget."""
      self.text.event_generate(
          "<MouseWheel>", x=0, y=event.y, delta=event.delta
      )
      return "break"
  
imports: import contextlib
  import functools
  import itertools
  import tkinter
  from tkinter.font import Font
  from idlelib.config import idleConf
  from idlelib.delegator import Delegator
  from idlelib import macosx
label_desc: Use image node_id 12 for calling the BaseSideBar obj's underlying member method code with example usage: obj.redirect_mousewheel_event(event) and returns: str