Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/u/l/ulipad-HEAD/mixins/MainFrame.py   ulipad(Download)
 
        makemenu.setmenutext(self, a)
        Accelerator.initaccelerator(self, MainFrame.accellist)
 
        self.statusbar = MyStatusBar.MyStatusBar(self)
        self.editorkeycodes = {}
        Accelerator.getkeycodes(self.editoraccellist, self.editorkeycodes)
        Accelerator.initaccelerator(self, MainFrame.accellist)
 
    def removeAccel(self, accel, editoraccel={}):
        self.editorkeycodes = {}
        Accelerator.getkeycodes(self.editoraccellist, self.editorkeycodes)
        Accelerator.initaccelerator(self, MainFrame.accellist)
 
    def insertAccel(self, accel, editoraccel={}):
        MainFrame.accellist.update(accel)
        MainFrame.editoraccellist.update(editoraccel)
        self.editorkeycodes = {}
        Accelerator.getkeycodes(self.editoraccellist, self.editorkeycodes)
        Accelerator.initaccelerator(self, MainFrame.accellist)