[Pythonmac-SIG] More on init

2005-07-06 Thread Aldo Bergamini
An update on my fiddling: from Foundation import * from AppKit import * from PyObjCTools import NibClassBuilder class PySayTextAppDelegate(NibClassBuilder.AutoBaseClass): #IB defined outlets #textField #speechSynthetizer # #IB defined actions #sayI

[Pythonmac-SIG] It Was A Typo! Question redressed...

2005-07-04 Thread Aldo Bergamini
Well, it works now; apparently somebody chose a strange name for the **synthetizer** class: NSSpeechSynthesizer !! The following method (actually copying more closely the spelling of Hillegass' example) works: def init(self): NSLog("init")

[Pythonmac-SIG] Right init method

2005-07-04 Thread Aldo Bergamini
Dear list, I have decided to try to practice pyObjC by translating (or trying to..) the Objective-C examples of Aaron Hillegass' Cocoa Programming for MacOS X, as I need to get up to date on Cocoa through Python. I am trying to figure out how to translate the obj-C init method of the SpeakLine ex