• 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: Delegate for Double Click in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delegate for Double Click in NSTableView


  • Subject: Re: Delegate for Double Click in NSTableView
  • From: Andy Lee <email@hidden>
  • Date: Sun, 3 Mar 2002 10:35:23 -0500

At 4:17 PM +0100 3/3/02, Lukasz Kuczborski wrote:
>What is the delagate method used when you double click in NSTableView's row?
>PLEASE HELP! :)
>TIA
>

There isn't one. To set a table view's double-click behavior, use -setDoubleAction:. It's described, a bit sketchily, in the class doc for NSTableView. You can see how it's used in the "SimpleBrowser" example code. Basically, -setDoubleAction: expects a selector for a method of the form

- (void)myDoubleAction:(id)sender

where "sender" will the be NSTableView itself when this method is invoked.

--Andy
_______________________________________________
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.

  • Follow-Ups:
    • Re: Delegate for Double Click in NSTableView
      • From: Marco Scheurer <email@hidden>
References: 
 >Delegate for Double Click in NSTableView (From: Lukasz Kuczborski <email@hidden>)

  • Prev by Date: Delegate for Double Click in NSTableView
  • Next by Date: Re: cocoa file paths, / or :
  • Previous by thread: Delegate for Double Click in NSTableView
  • Next by thread: Re: Delegate for Double Click in NSTableView
  • Index(es):
    • Date
    • Thread