Show NSSegmentedControl menu when segment clicked, despite having set action
- by enchilada
My question is based on another question. Instead of repeating a bunch of stuff, I hope it's okay that I refer you to that other question instead:
http://stackoverflow.com/questions/1203698/show-nssegmentedcontrol-menu-when-segment-clicked-despite-having-set-action/
My question is: How would the code within [self showGearMenu] look like, i.e. how would one actually use the popUpContextMenu:withEvent:forView method to accomplish what the poster of the other question wants?
I ask because it seems that the question was resolved for the poster, but he never shared with us how he actually popped up the menu :)