• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to attach actions in Python/Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Unable to attach actions in Python/Cocoa
      • From: "Jose R.C. Cruz" <email@hidden>
References: 
 >Unable to attach actions in Python/Cocoa (From: Jose R.C.Cruz <email@hidden>)

  • Prev by Date: Code sense with C++
  • Next by Date: Re: Unable to attach actions in Python/Cocoa
  • Previous by thread: Unable to attach actions in Python/Cocoa
  • Next by thread: Re: Unable to attach actions in Python/Cocoa
  • Index(es):
    • Date
    • Thread