NSWindow delegate handling keyboard events
NSWindow delegate handling keyboard events
- Subject: NSWindow delegate handling keyboard events
- From: "Andrew O'Laughlin" <email@hidden>
- Date: Fri, 18 Feb 2005 23:18:00 -0500
Apple's event handling says that a windows delegate is part of the
responder chain, and that the delegate doesn't need to inherit from
NSResponder.
I'm making a simple application, and subclassing NSWindow seems like
overkill for interpreting a few keyDown and keyUp events. How would my
window's delegate respond to those events? Implementing
keyDown:(NSEvent *)event in the delegate doesn't do the trick though
the documentation seems to imply that it would.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden