views:

50

answers:

3

What do I have to do for hiding this NSWindowToolbarButton in windows with a NSToolbar?

A: 

I have it...

[NSWindow setShowsToolbarButton:NO]
papr
+1  A: 

There's a checkbox for this in the appearance section of the attributes tab of the inspector for a window in Interface Builder.

A: 

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

Alex