Re: Unable to attach actions in Python/Cocoa
Re: Unable to attach actions in Python/Cocoa
- Subject: Re: Unable to attach actions in Python/Cocoa
- From: Bill Bumgarner <email@hidden>
- Date: Mon, 4 Feb 2008 15:38:37 -0800
On Feb 4, 2008, at 1:49 PM, Jose R.C.Cruz wrote:
Am I missing something here? The steps I used to bind each field
and control on the window to the class BMICalculate are the same
ones I used on pure Cocoa appl. Somehow, they do not work when
using PyCocoa.
In main.py, make sure you have the following line before control is
passed off to Cocoa.
import BMICalculate
When the main.py is executed as a part of bootstrapping Cocoa &
PyObjC, that will cause the class to be defined before the NIB is
loaded.
b.bum
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden