Re: How to capture Key event in a NSApp?
Re: How to capture Key event in a NSApp?
- Subject: Re: How to capture Key event in a NSApp?
- From: Apparao <email@hidden>
- Date: Wed, 18 Oct 2006 11:09:40 +0530
Use currentEvent method in NSAplication,
[[NSApplication sharedApplication] currentEvent] --- Returns the
last event the receiver retrieved from the event queue.
On 18-Oct-06, at 2:04 AM, Raul wrote:
Hi to all ,
I want to capture the key press "p" event inside NSWindow to print the
NSTextField Text.
I know how to print NSTextField Text but i don't know how to capture
the key press "p" inside NSWindow.
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40effigent.net
This email sent to email@hidden
_______________________________________________
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