class_docstr: Display html text, scrollbar, and toc.
class_docstr_tok: ["Display","html","text",",","scrollbar",",","and","toc","."]
code: def __init__(self, parent, filename):
      Frame.__init__(self, parent)
      self.text = text = HelpText(self, filename)
      self.style = Style(parent)
      self["style"] = "helpframe.TFrame"
      self.style.configure(
          "helpframe.TFrame", background=text["background"]
      )
      self.toc = toc = self.toc_menu(text)
      self.scroll = scroll = Scrollbar(self, command=text.yview)
      text["yscrollcommand"] = scroll.set
  
      self.rowconfigure(0, weight=1)
      self.columnconfigure(1, weight=1)  # Only expand the text widget.
      toc.grid(row=0, column=0, sticky="nw")
      text.grid(row=0, column=1, sticky="nsew")
      scroll.grid(row=0, column=2, sticky="ns")
  
imports: from html.parser import HTMLParser
  from os.path import abspath, dirname, isfile, join
  from platform import python_version
  from tkinter import Toplevel, Text, Menu
  from tkinter.ttk import Frame, Menubutton, Scrollbar, Style
  from tkinter import font
  from idlelib.config import idleConf
label_desc: Use image node_id 1 to create a new HelpFrame object from inherited base classes: Frame with example: obj = HelpFrame(parent, filename)