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

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

src/l/i/Lightningbeam-HEAD/GUI/Cocoa/Menu.py   Lightningbeam(Download)
        else:
            key = key.lower()
        ns_item = NSMenuItem.alloc()
        #ns_action = _ns_standard_actions.get(command, 'menuSelection:')
        ns_action = 'menuSelection:'

src/l/i/Lightningbeam-HEAD/GUI/Cocoa/Application.py   Lightningbeam(Download)
        menu_list = self._effective_menus()
        for menu in menu_list:
            ns_item = NSMenuItem.alloc()
            ns_item.initWithTitle_action_keyEquivalent_(menu.title, '', "")
            ns_menubar.addItem_(ns_item)