A top level interface can have a toolbar, which is typically displayed at the top of the window and follows platform-standard behavior. On Cocoa, this will be a standard foldable toolbar.
For the details see Adding Toolbars.
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017