Hide NSWindowToolbarButton
Question
What do I have to do for hiding this NSWindowToolbarButton
in windows with a NSToolbar
?
Solution
There's a checkbox for this in the appearance section of the attributes tab of the inspector for a window in Interface Builder.
OTHER TIPS
I have it...
[NSWindow setShowsToolbarButton:NO]
FYI, if you ever need access to any of the window buttons, or to find out if a particular window even has a certain button, you can use standardWindowButton:
Take a look at the corresponding Apple Docs
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow