def METHOD_NAME(self, flist):
    self.flist = flist
    # reset pyclbr
    pyclbr._modules.clear()
    # create top
    self.top = top = ListedToplevel(flist.root)
    top.protocol("WM_DELETE_WINDOW", self.close)
    top.bind("<Escape>", self.close)
    self.settitle()
    top.focus_set()
    # create scrolled canvas
    theme = idleConf.GetOption('main','Theme','name')
    background = idleConf.GetHighlight(theme, 'normal')['background']
    sc = ScrolledCanvas(top, bg=background, highlightthickness=0, takefocus=1)
    sc.frame.pack(expand=1, fill="both")
    item = self.rootnode()
    self.node = node = TreeNode(sc.canvas, None, item)
    node.update()
    node.expand()