class_docstr: A base class for sidebars using Text.
docstr: Layout the widget, always using grid layout.
docstr_tok: ["Layout","the","widget",",","always","using","grid","layout","."]
code: def grid(self):
      """Layout the widget, always using grid layout."""
      raise NotImplementedError
  
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 5 for calling the BaseSideBar obj's underlying member method code with example usage: obj.grid() without return types