views:

46

answers:

1

Hi all!

Is there a way to use a Cocoa IBOutlet in Python? Or do I need to do this in ObjC? Thanks in advance.

+1  A: 

This article (found by searching Google for “pyobjc iboutlet”) has an example. Basically, you create objc.IBOutlet objects and set them as the values of class variables.

Peter Hosey
Wow thanks! I'm a newbie to Python and this tutorial is just great!
Time Machine