objective c - Customize right click highlight on view-based NSTableView -


i have view-based nstableview custom nstablecellview , custom nstablerowview. customized both of classes because want change appearance of each row. implementing [nstablerowview draw...] methods can change background, selection, separator , drag destination highlight.

my question is: how can change highlight appears when row right clicked , menu appears?

for example, norm:

and want change square highlight round one, this:

i'd imagine done in nstablerowview calling method drawmenuhighlightinrect: or something, can't find it. also, how can nstablerowview class doing if customized, in subclass, of drawing methods, , don't call superclass? drawn table itself?

edit:

after more experimenting found out round highlight can achieved setting tableview source list. nonetheless, want know how customize if possible.

i'd take @ nstablerowview documentation. it's class responsible drawing selection , drag feedback in view-based nstableview.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -