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

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

src/l/i/Lightningbeam-HEAD/GUI/Cocoa/Menu.py   Lightningbeam(Download)
    def _add_separator_to_platform_menu(self):
        ns_item = NSMenuItem.separatorItem()
        self._ns_menu.addItem_(ns_item)
 
    def _add_item_to_platform_menu(self, item, name, command = None, index = None):

src/l/i/lightning-HEAD/link/Lightning/PMController.py   lightning(Download)
 
 
        menu.addItem_(NSMenuItem.separatorItem())
 
        previewMenu = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_('Update Preview', 'doPreview:', '')
        menu.addItem_(publishMenuItem)
 
        menu.addItem_(NSMenuItem.separatorItem())
 
        quitMenu = NSMenuItem.alloc().initWithTitle_action_keyEquivalent_('Quit', 'terminate:', '')

src/r/u/rumps-HEAD/rumps/rumps.py   rumps(Download)
    def __init__(self):
        self._menuitem = NSMenuItem.separatorItem()
 
 
class Timer(object):

src/q/u/quotefixformac-HEAD/quotefix/menu.py   quotefixformac(Download)
 
            # add separator and new item
            appmenu.insertItem_atIndex_(NSMenuItem.separatorItem(), 1)
            appmenu.insertItem_atIndex_(self.item, 2)