PEATDB/plugins/exampleplugin.py
def _createMenuBar(self):
        """Create the menu bar for the application. """
        self.menu=Menu(self.mainwin)
        self.file_menu={ '01Quit':{'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.mainwin.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.mainwin)
        self.file_menu={ '01Quit':{'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.mainwin.config(menu=self.menu)
        return
def _createMenuBar ( self ) : self . menu = Menu ( self . mainwin ) self . file_menu = { '01Quit' : { '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 . mainwin . 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