'Create a window for browsing a module\'s structure.
Args:
flist: filelist.FileList instance used as the root for the window.
name: Python module to parse.
path: Module search path.
_htest - bool, change box when location running htest.
Global variables:
file_open: Function used for opening a file.
Instance variables:
name: Module name.
file: Full path and module with .py extension.  Used in
creating ModuleBrowserTreeItem as the rootnode for
the tree and subsequently in the children.'

def __init__(self, flist, name, path, _htest=False):

    global file_open
    if (not _htest):
        file_open = pyshell.flist.open
    self.name = name
    self.file = os.path.join(path[0], (self.name + '.py'))
    self._htest = _htest
    self.init(flist)
