Re: Getting rows for contextual menu of NSTableView
Benjamin Stiglitz <[email protected]>
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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