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

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

src/m/u/music-player-HEAD/mac/pyobjc-framework-Cocoa/Examples/AppKit/FieldGraph/CGraphModel.py   music-player(Download)
from Foundation import NSObject
from objc import *
from AppKit import NSBezierPath
 
from fieldMath import *

src/p/y/pyobjc-framework-ScreenSaver-2.5.1/Examples/SillyBallsSaver/SillyBalls.py   pyobjc-framework-ScreenSaver(Download)
import objc
 
from AppKit import NSBezierPath, NSColor
from ScreenSaver import ScreenSaverView
from random import random, randrange

src/p/y/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/FieldGraph/CGraphModel.py   pyobjc-framework-Cocoa(Download)
from Foundation import NSObject
from objc import *
from AppKit import NSBezierPath
 
from fieldMath import *

src/p/y/pyobjc-HEAD/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/FieldGraph/CGraphModel.py   pyobjc(Download)
from Foundation import NSObject
from objc import *
from AppKit import NSBezierPath
 
from fieldMath import *

src/f/o/fonttools-HEAD/Lib/fontTools/pens/cocoaPen.py   fonttools(Download)
	def __init__(self, glyphSet, path=None):
		BasePen.__init__(self, glyphSet)
		if path is None:
			from AppKit import NSBezierPath
			path = NSBezierPath.bezierPath()

src/v/a/vanilla-HEAD/Lib/vanilla/test/testGeometry.py   vanilla(Download)
from AppKit import NSView, NSColor, NSBezierPath
from vanilla import VanillaBaseObject, Window, Button
 
 
class SimpleRectView(NSView):

src/v/a/vanilla-HEAD/Lib/vanilla/test/testAll.py   vanilla(Download)
    def drawRect_(self, rect):
        from AppKit import NSRectFill, NSBezierPath, NSColor
        self.color.set()
        NSRectFill(self.bounds())
        NSColor.blackColor().set()

src/n/o/nodebox-pyobjc-HEAD/libs/polymagic/polymagic_test.py   nodebox-pyobjc(Download)
from AppKit import NSBezierPath, NSFont, NSApplication
 
# Force NSApp initialisation.
NSApplication.sharedApplication().activateIgnoringOtherApps_(0)