Back to index

python3.2  3.2.2
Classes | Functions
idlelib.StackViewer Namespace Reference

Classes

class  StackTreeItem
class  FrameTreeItem
class  VariablesTreeItem

Functions

def StackBrowser

Function Documentation

def idlelib.StackViewer.StackBrowser (   root,
  flist = None,
  tb = None,
  top = None 
)

Definition at line 8 of file StackViewer.py.

00008 
00009 def StackBrowser(root, flist=None, tb=None, top=None):
00010     if top is None:
00011         from tkinter import Toplevel
00012         top = Toplevel(root)
00013     sc = ScrolledCanvas(top, bg="white", highlightthickness=0)
00014     sc.frame.pack(expand=1, fill="both")
00015     item = StackTreeItem(flist, tb)
00016     node = TreeNode(sc.canvas, None, item)
00017     node.expand()

Here is the caller graph for this function: