class_docstr: Display html text, scrollbar, and toc.
class_docstr_tok: ["Display","html","text",",","scrollbar",",","and","toc","."]
docstr: Create table of contents as drop-down menu.
docstr_tok: ["Create","table","of","contents","as","drop-down","menu","."]
code: def toc_menu(self, text):
      "Create table of contents as drop-down menu."
      toc = Menubutton(self, text="TOC")
      drop = Menu(toc, tearoff=False)
      for lbl, dex in text.parser.toc:
          drop.add_command(
              label=lbl, command=lambda dex=dex: text.yview(dex)
          )
      toc["menu"] = drop
      return toc
  
imports: from HTMLParser import HTMLParser
  from os.path import abspath, dirname, isdir, isfile, join
  from platform import python_version
  from Tkinter import Tk, Toplevel, Frame, Text, Scrollbar, Menu, Menubutton
  import tkFont
  from idlelib.configHandler import idleConf
label_desc: Use image node_id 2 for calling the HelpFrame obj's underlying member method code with example usage: obj.toc_menu(text) and returns: toc