I've been looking at this apple document:
In the Window-Frame Controls
section it deescribes
window-frame controls in the Mail toolbar
(source: apple.com)
However, there's no description on how to actually create this interface. I've tried using NSToolBar
but it doesn't seem to be used for this purpose and there doesn't seem to be a way to drag a NSButton
into this area in InterfaceBuilder.
Any pointers on how to create this type of toolbar?
Drag object Toolbar from Object Library to you window. Double click on toolbar. Drag button from the Object library into the Allowed Toolbar Item section. 1-click on button in toolbar manage attributes toolbar item section, double click manage button attributes. Connect action with your new toolbar item.