Re: [Pyobjc-dev] Attempt at writing Cocoa services with pyobjc
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@cw...> - 2003-01-06 15:52:27
|
On Monday, Jan 6, 2003, at 16:16 Europe/Amsterdam, Ronald Oussoren wrote: > Dinu, > > The attached files implement a simple service. It implements two menu > items, but only 'Evaluate expression' is functional at the moment. Ronald, this looks really cool, but could you explain how things are tied together (or point me to the right documentation?). For instance, in the plist file you have the NSServices dict, which maps menu entries to calls to be made in the service. I assume that the mapping from <string>doPythonExec</string> to doPythonExec:userData:error: is defined somewhere, right? But it looks as though I miss an argument? Or does the NSServiceFunc magic have something to do with this? And what is the NSPortName=PythonService used for? -- Jack Jansen, <Jac...@cw...>, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman |