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)
    if self._htest: # place dialog below parent if running htest
        top.geometry("+%d+%d" %
            (flist.root.winfo_rootx(), flist.root.winfo_rooty() + 200))
    self.settitle()
    top.focus_set()
    # create scrolled canvas
    theme = idleConf.CurrentTheme()
    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()