def mkAutoGui(self):
        """
        :summary: automatically generate simple gui in TCL
        """
        gui = GuiBuilder()
        p0 = gui.page("Main")
        handlers = []
        for p in self.iterParams(self.top):
            name = self.getParamPhysicalName(p)
            p0.param(name)
            for fn in paramManipulatorFns(name):
                handlers.append(fn)

        with open(self.guiFile, "w") as f:
            f.write(gui.asTcl())
            for h in handlers:
                f.write('\n\n')
                f.write(str(h))