Re: [Pyobjc-dev] NSBeginAlertSheet trouble
Brought to you by:
ronaldoussoren
From: Dinu G. <gh...@da...> - 2003-06-18 14:33:58
|
Just van Rossum: > NSSelectorFromString() does nothing in PyObjC, just use the string, or=20= > a > method object. I've used NSSelectorFromString() before and it seemed to work, but in this case none of this works. > Re. you question: > a) Make sure you run PyObjC from CVS > b) check the archives, this was recently discussed: you need to = specify > the signature of your callbacks with objc.selector(). I reinstalled from CVS (after SF access troubles), but it's still not clear to me what the code for a void pointer should be. Isn't there some example to point to? The list archives mention this issue specifically for sheets, but also don't give any sample snippets. The code I posted before would make a good start for a sample, maybe. Dinu -- Dinu C. Gherman ...................................................................... "Un jour le jour viendra o=F9 le jour ne viendra pas." (Paul Val=E9ry) |