Questions tagged [nsbrowsercell]

2 questions
0
votes
0 answers

How to get a cell's frame in hitTestForEvent method in the NSBrowserCell subclass?

How do I get the button's rect in this method? In the below method the NSRect buttonRect = ??? is the place where I need to get the frame / rect of NSButtonCell object named _buttonCell. - (NSCellHitResult)hitTestForEvent:(NSEvent *)event …
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140
0
votes
1 answer

NSBrowser selection of row and action of NSBrowserCell

I am having an NSBrowser in one of my windows. It has a checkbox, image and textbox as you see in the screenshot. I am struggling to do two things: Change the row selection color. By default it is blue. Action on the checkbox The checkbox + image…
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140