class_docstr: Code stack viewer for debugger GUI.
code: def __init__(self, master, flist, gui):
      if macosx.isAquaTk():
          # At least on with the stock AquaTk version on OSX 10.4 you'll
          # get a shaking GUI that eventually kills IDLE if the width
          # argument is specified.
          ScrolledList.__init__(self, master)
      else:
          ScrolledList.__init__(self, master, width=80)
      self.flist = flist
      self.gui = gui
      self.stack = []
  
imports: import bdb
  import os
  from tkinter import *
  from tkinter.ttk import Frame, Scrollbar
  from idlelib import macosx
  from idlelib.scrolledlist import ScrolledList
  from idlelib.window import ListedToplevel
label_desc: Use image node_id 1 to create a new StackViewer object from inherited base classes: ScrolledList with example: obj = StackViewer(master, flist, gui)