DataPipeline/PipelineApp.py
def createMenuBar(self):
        """Create the menu bar for the application. """
        self.menu=Menu(self.main)
        self.file_menu={'01Open Raw File(s)':{'cmd':self.openRaw},
                         '02Load Config File':{'cmd':self.loadConfig},
                         '03Edit Current Config':{'cmd':self.editConfig},
                         '04Create Config':{'cmd':self.createConfig},
                         '05Quit':{'cmd':self.quit}}
        self.file_menu=self.create_pulldown(self.menu,self.file_menu)
        self.menu.add_cascade(label='File',menu=self.file_menu['var'])
        self.project_menu={'01Load Project':{'cmd': self.loadProject},
                            '02Save Project':{'cmd': self.saveProject}}
        self.project_menu=self.create_pulldown(self.menu,self.project_menu)
        self.menu.add_cascade(label='Project',menu=self.project_menu['var'])
        self.run_menu={'01Execute':{'cmd': self.execute}}
        self.run_menu=self.create_pulldown(self.menu,self.run_menu)
        self.menu.add_cascade(label='Run',menu=self.run_menu['var'])
        self.queue_menu={'01Add files to queue':{'cmd': self.addtoQueue},
                          '02Add folder to queue':{'cmd': self.addFolder},
                          '03Clear queue':{'cmd': self.clearQueue}}
        self.queue_menu=self.create_pulldown(self.menu,self.queue_menu)
        self.menu.add_cascade(label='Queue',menu=self.queue_menu['var'])
        self.utils_menu={'01Show Config Helper':{'cmd': self.launchHelper},
                         '02Model Design':{'cmd': self.launchModelDesigner},
                         '03Launch Ekin':{'cmd':self.openEkin},
                         '04Text Editor':{'cmd': self.startTextEditor},
                         '05Batch File Rename':{'cmd': self.batchFileRename},
                         '06Clear Log':{'cmd': self.clearLog},
                         '07Run Tests':{'cmd': self.runTests}}
        self.utils_menu=self.create_pulldown(self.menu,self.utils_menu)
        self.menu.add_cascade(label='Utilities',menu=self.utils_menu['var'])
        self.help_menu={ '01Online Help':{'cmd': self.help},
                          '02About':{'cmd': self.about},}
        self.help_menu=self.create_pulldown(self.menu,self.help_menu)
        self.menu.add_cascade(label='Help',menu=self.help_menu['var'])
        self.main.config(menu=self.menu)
        return
Create the menu bar for the application. 
Create the menu bar for the application.
Create the menu bar for the application .
def createMenuBar(self):
        self.menu=Menu(self.main)
        self.file_menu={'01Open Raw File(s)':{'cmd':self.openRaw},
                         '02Load Config File':{'cmd':self.loadConfig},
                         '03Edit Current Config':{'cmd':self.editConfig},
                         '04Create Config':{'cmd':self.createConfig},
                         '05Quit':{'cmd':self.quit}}
        self.file_menu=self.create_pulldown(self.menu,self.file_menu)
        self.menu.add_cascade(label='File',menu=self.file_menu['var'])
        self.project_menu={'01Load Project':{'cmd': self.loadProject},
                            '02Save Project':{'cmd': self.saveProject}}
        self.project_menu=self.create_pulldown(self.menu,self.project_menu)
        self.menu.add_cascade(label='Project',menu=self.project_menu['var'])
        self.run_menu={'01Execute':{'cmd': self.execute}}
        self.run_menu=self.create_pulldown(self.menu,self.run_menu)
        self.menu.add_cascade(label='Run',menu=self.run_menu['var'])
        self.queue_menu={'01Add files to queue':{'cmd': self.addtoQueue},
                          '02Add folder to queue':{'cmd': self.addFolder},
                          '03Clear queue':{'cmd': self.clearQueue}}
        self.queue_menu=self.create_pulldown(self.menu,self.queue_menu)
        self.menu.add_cascade(label='Queue',menu=self.queue_menu['var'])
        self.utils_menu={'01Show Config Helper':{'cmd': self.launchHelper},
                         '02Model Design':{'cmd': self.launchModelDesigner},
                         '03Launch Ekin':{'cmd':self.openEkin},
                         '04Text Editor':{'cmd': self.startTextEditor},
                         '05Batch File Rename':{'cmd': self.batchFileRename},
                         '06Clear Log':{'cmd': self.clearLog},
                         '07Run Tests':{'cmd': self.runTests}}
        self.utils_menu=self.create_pulldown(self.menu,self.utils_menu)
        self.menu.add_cascade(label='Utilities',menu=self.utils_menu['var'])
        self.help_menu={ '01Online Help':{'cmd': self.help},
                          '02About':{'cmd': self.about},}
        self.help_menu=self.create_pulldown(self.menu,self.help_menu)
        self.menu.add_cascade(label='Help',menu=self.help_menu['var'])
        self.main.config(menu=self.menu)
        return
def createMenuBar ( self ) : self . menu = Menu ( self . main ) self . file_menu = { '01Open Raw File(s)' : { 'cmd' : self . openRaw } , '02Load Config File' : { 'cmd' : self . loadConfig } , '03Edit Current Config' : { 'cmd' : self . editConfig } , '04Create Config' : { 'cmd' : self . createConfig } , '05Quit' : { 'cmd' : self . quit } } self . file_menu = self . create_pulldown ( self . menu , self . file_menu ) self . menu . add_cascade ( label = 'File' , menu = self . file_menu [ 'var' ] ) self . project_menu = { '01Load Project' : { 'cmd' : self . loadProject } , '02Save Project' : { 'cmd' : self . saveProject } } self . project_menu = self . create_pulldown ( self . menu , self . project_menu ) self . menu . add_cascade ( label = 'Project' , menu = self . project_menu [ 'var' ] ) self . run_menu = { '01Execute' : { 'cmd' : self . execute } } self . run_menu = self . create_pulldown ( self . menu , self . run_menu ) self . menu . add_cascade ( label = 'Run' , menu = self . run_menu [ 'var' ] ) self . queue_menu = { '01Add files to queue' : { 'cmd' : self . addtoQueue } , '02Add folder to queue' : { 'cmd' : self . addFolder } , '03Clear queue' : { 'cmd' : self . clearQueue } } self . queue_menu = self . create_pulldown ( self . menu , self . queue_menu ) self . menu . add_cascade ( label = 'Queue' , menu = self . queue_menu [ 'var' ] ) self . utils_menu = { '01Show Config Helper' : { 'cmd' : self . launchHelper } , '02Model Design' : { 'cmd' : self . launchModelDesigner } , '03Launch Ekin' : { 'cmd' : self . openEkin } , '04Text Editor' : { 'cmd' : self . startTextEditor } , '05Batch File Rename' : { 'cmd' : self . batchFileRename } , '06Clear Log' : { 'cmd' : self . clearLog } , '07Run Tests' : { 'cmd' : self . runTests } } self . utils_menu = self . create_pulldown ( self . menu , self . utils_menu ) self . menu . add_cascade ( label = 'Utilities' , menu = self . utils_menu [ 'var' ] ) self . help_menu = { '01Online Help' : { 'cmd' : self . help } , '02About' : { 'cmd' : self . about } , } self . help_menu = self . create_pulldown ( self . menu , self . help_menu ) self . menu . add_cascade ( label = 'Help' , menu = self . help_menu [ 'var' ] ) self . main . config ( menu = self . menu ) return
Create the menu bar for the application.
Create the menu bar for the application .
"""Create the menu bar for the application. """
self