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/c/l/client-HEAD/client/plugins/ui/cocoa/app.py   client(Download)
def start_taskbar():
    t = NSStatusBar.systemStatusBar()
    icon = t.statusItemWithLength_(NSVariableStatusItemLength)
    icon.setHighlightMode_(1)
 

src/l/i/lightning-HEAD/link/Lightning/PMController.py   lightning(Download)
    def setupStatusBar(self):
        statusbar = NSStatusBar.systemStatusBar()
        statusitem = statusbar.statusItemWithLength_(20).retain()
 
        icon = NSImage.imageNamed_('status')

src/a/p/APAF-HEAD/apaf/ui/darwin.py   APAF(Download)
    def applicationDidFinishLaunching_(self, notification):
        statusbar = AppKit.NSStatusBar.systemStatusBar()
        # Create the statusbar item
        self.statusitem = statusbar.statusItemWithLength_(AppKit.NSVariableStatusItemLength)
        # set title

src/c/a/cartel-HEAD/cartel.py   cartel(Download)
    def finishLaunching(self):
        # Make statusbar item
        statusbar = NSStatusBar.systemStatusBar()
        self.statusitem = statusbar.statusItemWithLength_(
            NSVariableStatusItemLength)