Re: [Pyobjc-dev] Interface builder?
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-10-24 01:24:11
|
If you grab the Project Builder template from the CVS repository (or my installer package-- though out of date, this part works) and create a new "Cocoa-Python Project", the resulting project will launch and run a simple application that has a button that, when clicked, fills a text field full of information. As such, it demonstrates both how to write action methods and how to create IBOutlets from which a connection can be made to a UI object in IB. As Ronald indicated, you have to manually create the subclass of NSObject (or whatever) in IB. Unfortunately, we don't currently have a "create source files" that'll create Python source from within IB. Well, maybe not true -- I saw in the repository that Ronald has another bit of magic in the works. :-) b.bum |