NSToolbarMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

NSToolbarMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Toolbar MBS MacControls Plugin 11.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
NSToolbar and NSToolbarItem provide the mechanism for a titled window to display a toolbar just below its title bar.

Display Mode Constants

Constant Value Description
NSToolbarDisplayModeDefault 0 The default display mode.
NSToolbarDisplayModeIconAndLabel 1 The toolbar will display icons and labels.
NSToolbarDisplayModeIconOnly 2 The toolbar will display only icons.
NSToolbarDisplayModeLabelOnly 3 The toolbar will display only labels.

SizeMode Constants

Constant Value Description
NSToolbarSizeModeDefault 0 The toolbar uses the system-defined default size, which is NSToolbarSizeModeRegular.
NSToolbarSizeModeRegular 1 The toolbar uses regular-sized controls and 32 by 32 pixel icons.
NSToolbarSizeModeSmall 2 The toolbar uses small-sized controls and 24 by 24 pixel icons.

Sub classes:

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS MacControls Plugin.


NSToolbarItemMBS   -   NSTouchBarItemMBS


💬 Ask a question or report a problem