One of the constants that indicates the display style for a grouped toolbar item.
The system dynamically changes the display mode based on the available space.
ControlRepresentationExpanded
1
One of the constants that indicates the display style for a grouped toolbar item.
The system displays the subitems of a grouped toolbar item horizontally.
Display Styles
Constant
Value
Description
ControlRepresentationCollapsed
2
The system displays the subitems of a grouped toolbar item as a menu.
Roles
Constant
Value
Description
RoleAutomatic
0
Automatic
RoleTabs
1
Tabs
RoleValueSelection
2
Value Selection
Selection Modes
Constant
Value
Description
SelectionModeMomentary
2
The system temporarily highlights the select group item when the user selects the item.
SelectionModeSelectAny
1
The system toggles a highlight on any item selected.
SelectionModeSelectOne
0
The system displays a highlighted mode on the most recent item selected.
One of the visibility priority constants.
When a toolbar does not have enough space to fit all its items, it must push some items into the overflow menu. These values allow you to suggest a priority for a toolbar item.
more
One of the visibility priority constants.
When a toolbar does not have enough space to fit all its items, it must push some items into the overflow menu. These values allow you to suggest a priority for a toolbar item.
more
One of the visibility priority constants.
When a toolbar does not have enough space to fit all its items, it must push some items into the overflow menu. These values allow you to suggest a priority for a toolbar item.
more
One of the visibility priority constants.
When a toolbar does not have enough space to fit all its items, it must push some items into the overflow menu. These values allow you to suggest a priority for a toolbar item.
more
Styles
Constant
Value
Description
NSToolbarItemStylePlain
0
A plain style maintains the item’s standard appearance.