I have a NSBox with some labels inside it, that I want to act as a button. Is this possible, or do I have to find some other way to make large areas of an application clickable?
Is it possible to make a NSBox clickable (like a NSButton) in Swift macOS?
503 views Asked by frankwolffnl At
2
As a subclass of
NSView,NSBoxresponds to themouseDownevent. More information at https://developer.apple.com/documentation/appkit/nsresponder/1524634-mousedown