I want to disable the user interaction of NSButton
. The only possible option seems to be setting isEnabled
to false:
button.isEnabled = false
...but the problem is that it's giving a white shade to the image of my button. Is there any way to get rid of that shade?