Ronald Oussoren wrote:
I don't know. Does Tkinter even work with Tcl/Tk 8.5? I don't use
Tkinter myself, but I'm pretty sure I've seen some messages about
problems with Tk 8.5 in the past. Those may have been resolved for
Python 2.6.
Yes, it works. I'm shipping a commercial application
I'm working my way through the excellent book "Cocoa Programming for Mac
OS X", but using PyObjC instead of ObjC. For the most part it's working
very well - a testament to the awesomeness of PyObjC!
However, I'm occasionally getting a crash from my application that gives
no errors - it just en
You need to wrap you alertEnded... method with
PyObjcTools.Apphelper.endSheetMethod:
@PyObjcTools.Apphelper.endSheetMethod
def alertEnded(self, alert, choice, context):
...
(Methods wrapped with endSheetMethod don't need the ObjC name
mangling, so you can name it whatever you want.)
I have a
Ahh, that did it. Awesome, thanks. These occasional "add a decorator to
avoid random crash" problems are very confusing... guess I'll figure it
all out as I go along.
dan
Gary Bernhardt wrote:
You need to wrap you alertEnded... method with
PyObjcTools.Apphelper.endSheetMethod:
@PyObjcTools
On 23 Jul, 2008, at 23:26, Gary Bernhardt wrote:
You need to wrap you alertEnded... method with
PyObjcTools.Apphelper.endSheetMethod:
@PyObjcTools.Apphelper.endSheetMethod
def alertEnded(self, alert, choice, context):
...
(Methods wrapped with endSheetMethod don't need the ObjC name
mangli