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
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")
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