Contents

NSToolbarItem.VisibilityPriority

Constants that indicate which toolbar items to keep in the toolbar when space is limited.

Declaration

struct VisibilityPriority

Overview

When a toolbar doesn’t have enough space to fit all its items, it pushes items into the overflow menu to make space. Use these constants to suggest a priority for individual toolbar items. The toolbar pushes low-priority items to the overflow menu first, followed by standard items and high-priority items. When two or more items share the same priority, the toolbar pushes the one closest to the trailing edge first.

Topics

Visibility priorities

Initializers

See Also

Getting the item’s configuration