• 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: NSTableView Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView Question


  • Subject: Re: NSTableView Question
  • From: Cody Brimhall <email@hidden>
  • Date: Sat, 2 Aug 2003 06:14:27 -0700 (PDT)

Stefan-

Thanks for the example. I had indeed read about - setDoubleAction, but the
very basic definition in Apple's documentation left much to be desired for
someone who doesn't understand the inner-workings of selectors. This
clears things up a bit.


-Cody

> since your cells are uneditable you can use NSTableViews
> setDoubleAction method:
>
> - (void)doubleClick:(id)aTableView
> {
> NSLog( @"double-click on row #%d", [aTableView clickedRow] );
> }
>
> - (void)awakeFromNib
> {
> [yourTableView setTarget:self];
> [yourTableView setDoubleAction:@selector(doubleClick:)];
> }
_______________________________________________
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: 
 >Re: NSTableView Question (From: Stefan Schüßler <email@hidden>)

  • Prev by Date: what cell is being editing
  • Next by Date: Re: what cell is being editing
  • Previous by thread: Re: NSTableView Question
  • Next by thread: Re: NSTableView Question
  • Index(es):
    • Date
    • Thread