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'
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