PEATDB/PILView.py
def createMenuBar(self):
        """Create the menu bar for the application. """
        self.menu=Menu(self.pilwin)
        self.file_menu={                      
                        '01Quit':{'cmd':self.quit}}
        
        self.file_menu = {'01Open Image':{'cmd':self.openFile},
                          '02Save As':{'cmd':self.saveFile}}
        self.file_menu=self.create_pulldown(self.menu,self.file_menu)
        self.menu.add_cascade(label='File',menu=self.file_menu['var'])

                     
        self.help_menu={'01Online Help':{'cmd':self.online_documentation},
                        '02About':{'cmd':self.about_PIL}}        
        self.help_menu=self.create_pulldown(self.menu,self.help_menu)
        self.menu.add_cascade(label='Help',menu=self.help_menu['var'])
        
        self.pilwin.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.pilwin)
        self.file_menu={                      
                        '01Quit':{'cmd':self.quit}}
        self.file_menu = {'01Open Image':{'cmd':self.openFile},
                          '02Save As':{'cmd':self.saveFile}}
        self.file_menu=self.create_pulldown(self.menu,self.file_menu)
        self.menu.add_cascade(label='File',menu=self.file_menu['var'])
        self.help_menu={'01Online Help':{'cmd':self.online_documentation},
                        '02About':{'cmd':self.about_PIL}}        
        self.help_menu=self.create_pulldown(self.menu,self.help_menu)
        self.menu.add_cascade(label='Help',menu=self.help_menu['var'])
        self.pilwin.config(menu=self.menu)
        return
def createMenuBar ( self ) : self . menu = Menu ( self . pilwin ) self . file_menu = { '01Quit' : { 'cmd' : self . quit } } self . file_menu = { '01Open Image' : { 'cmd' : self . openFile } , '02Save As' : { 'cmd' : self . saveFile } } self . file_menu = self . create_pulldown ( self . menu , self . file_menu ) self . menu . add_cascade ( label = 'File' , menu = self . file_menu [ 'var' ] ) self . help_menu = { '01Online Help' : { 'cmd' : self . online_documentation } , '02About' : { 'cmd' : self . about_PIL } } self . help_menu = self . create_pulldown ( self . menu , self . help_menu ) self . menu . add_cascade ( label = 'Help' , menu = self . help_menu [ 'var' ] ) self . pilwin . 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