开发者

What to subclass for clickedRow (NSTableView)

Which method sho开发者_如何学Culd I subclass to change the drawing when a row is right-mouse clicked? (I want to change it in selecting the row).


It sounds to me like you want the highlightSelectionInClipRect: method.

If you're looking to make a source list (like in iTunes, Mail, and the Finder), you should use the setSelectionHighlightStyle: method (or set that property in IB) instead.


Implement the delegate method tableView:willDisplayCell:forTableColumn:row:

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜