[Pythonmac-SIG] Native Carbon drawing and PyObjC?

Ronald Oussoren ronaldoussoren at mac.com
Mon Aug 15 19:13:11 CEST 2005


On 15-aug-2005, at 17:43, Magnus Lie Hetland wrote:

> Does anyone know if it's possible to combine the Carbon interface that
> ships with OS X and PyObjC Cocoa programming (i.e. use the Apple
> Carbon interface to draw on views created with PyObjC)?

Why would you want to do that? Cocoa's drawing ablities are good  
enough for me, but then again I don't do much drawing anyway :-)

PyObjC NSWindow.windowRef will return a Carbon type, as will  
NSQuickDrawView.qdPort.

Ronald

>
> -- 
> Magnus Lie Hetland
> http://hetland.org
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>



More information about the Pythonmac-SIG mailing list