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/m/u/music-player-HEAD/notifications.py   music-player(Download)
 
	appDelegate = AppKit.NSApplication.sharedApplication().delegate()	
	notifCenter = AppKit.NSUserNotificationCenter.defaultUserNotificationCenter()
	notifCenter.setDelegate_(appDelegate)
 

src/m/a/macosx-shell-scripts-HEAD/usernotification.py   macosx-shell-scripts(Download)
            image = AppKit.NSImage.alloc().initByReferencingFile_(self.image_path)
 
        center = AppKit.NSUserNotificationCenter.defaultUserNotificationCenter()
        center.scheduleNotification_(notification)