Re: [pyobjc] Custom sheet and didEndSelector

2009-01-27 Thread Gorazd Krosl
From: Domenico Testa Subject: [pyobjc] Custom sheet and didEndSelector To: Cocoa development mailing list Message-ID: Content-Type: text/plain; charset=UTF-8 > I want to show a custom sheet asking user for a choice depending on the > button clicked. > > That'

[pyobjc] Custom sheet and didEndSelector

2009-01-27 Thread Domenico Testa
I want to show a custom sheet asking user for a choice depending on the button clicked. That's my code: class SignOptionsController(NSWindowController): @IBAction def showModalSheet_(self, parentWindow): didEndSelector = objc.selector(self.didEndSheet_retunCode_contextIn