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/m/u/music-player-HEAD/mac/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ToDos/PriorityToColourTransformer.py   music-player(Download)
            return NSColor.blueColor()
        elif priority > 1:
            return NSColor.greenColor()
        elif priority > 0:
            return NSColor.brownColor()

src/p/y/pyobjc-HEAD/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/ToDos/PriorityToColourTransformer.py   pyobjc(Download)
            return NSColor.blueColor()
        elif priority > 1:
            return NSColor.greenColor()
        elif priority > 0:
            return NSColor.brownColor()

src/p/y/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/CocoaBindings/ToDos/PriorityToColourTransformer.py   pyobjc-framework-Cocoa(Download)
            return NSColor.blueColor()
        elif priority > 1:
            return NSColor.greenColor()
        elif priority > 0:
            return NSColor.brownColor()

src/q/u/quotefixformac-HEAD/quotefix/preferences.py   quotefixformac(Download)
        try:
            re.compile(regex)
            feedback.setColor_(NSColor.greenColor())
            feedback.setToolTip_("")
        except re.error, e: