Contents

autoenablesItems

A Boolean value that indicates if the button automatically enables and disables its items every time a user event occurs.

Declaration

var autoenablesItems: Bool { get set }

Discussion

When the value of this property is true, the button automatically enables and disables items. The default value is true. For more information about enabling and disabling menu items, see NSMenuValidation.

See Also

Accessing menu attributes