• 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: Handling Right Mouse Event for NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handling Right Mouse Event for NSTableView


  • Subject: Re: Handling Right Mouse Event for NSTableView
  • From: Lon Giese <email@hidden>
  • Date: Tue, 16 May 2006 01:35:06 -0700

NSTableView inherits rightMouseDown: from NSResponder... who simply passes the event to the next responder... So looks like you'll have to subclass NSTableview and override rightMouseDown: if you want to capture that event...

On May 15, 2006, at 3:04 AM, David Chan wrote:

Hi all..

I understand that you can use setAction and setDoubleAction to handle
left mouse click and doubleclick on NSTableView but I have problem
with handling right mouse event.

I was wondering if there is a simple workaround that allow NSTableView
to take action on NSRightMouseDown event without needing to
subclassing the NSTableView. Any thought on this? Thanks in advance.

Cheers
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


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
References: 
 >Handling Right Mouse Event for NSTableView (From: "David Chan" <email@hidden>)

  • Prev by Date: Re: File Output from Python to Obj-C
  • Next by Date: no public API for the standard slideshow, I guess?
  • Previous by thread: Re: Handling Right Mouse Event for NSTableView
  • Next by thread: File Output from Python to Obj-C
  • Index(es):
    • Date
    • Thread