Re: Getting rows for contextual menu of NSTableView
Christiaan Hofman <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Feb 2, 2010, at 20:40, Benjamin Stiglitz wrote: >> In SL Apple has added some custom highlighting (blue outline) for rows for which a contextual menu is called. These rows are generically not the same as the selected rows (blue background). However, I can't find anything in the API to retrieve these outlined rows. Anyone knows how to get them? > > You’re looking for -clickedRow. If the row is in selectedRowIndexes, then they’re all highlighted; otherwise, you’re just looking at the one under the mouse. > > -Ben Thanks. That's weird. So you say there is no single accessor for it? Christiaan