• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Capture "Space" key event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capture "Space" key event


  • Subject: Re: Capture "Space" key event
  • From: Matt Jaffa <email@hidden>
  • Date: Fri, 5 Mar 2004 10:07:43 -0700

Thanks
Allan, Shawn, and anyone else I didn't mention.
Hmm it does in the online documentation say it is subclassed my NSFirstResponder.
My mistake,

thanks a bunch,
Matt


On Mar 5, 2004, at 9:06 AM, Shawn Erickson wrote:

On Mar 5, 2004, at 7:41 AM, Matt Jaffa wrote:

Allan,

I looked at the online documentation,
There is no keyDown or sendEvent Method in the NSTableView.
So How can I overide by subclassing the NSTableView, when it does not exist?

Matt

Consider what NSTableView is a subclass of [1]... look up the chain at those classes documentation, in this case NSResponder [2].

It is best to get an understanding of the overall design of AppKit to work best in it. The following page helps to give an overview...

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Intro/IntroAppKit.html>

...and in this case...

<http://developer.apple.com/documentation/Cocoa/Conceptual/ BasicEventHandling/index.html>

-Shawn

[1] Inherits from: NSText : NSView : NSResponder : NSObject
[2] <http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSResponder.html>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Capture "Space" key event (From: Mathew Peterson <email@hidden>)
 >Re: Capture "Space" key event (From: Allan Odgaard <email@hidden>)
 >Re: Capture "Space" key event (From: Matt Jaffa <email@hidden>)
 >Re: Capture "Space" key event (From: Allan Odgaard <email@hidden>)
 >Re: Capture "Space" key event (From: Matt Jaffa <email@hidden>)
 >Re: Capture "Space" key event (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Passing C Style Function Callbacks in Cocoa
  • Next by Date: Re: small or mini NSSegmentedControl in textured windows
  • Previous by thread: Re: Capture "Space" key event
  • Next by thread: Re: Capture "Space" key event
  • Index(es):
    • Date
    • Thread