Menu.Options
Options for configuring a menu’s appearance.
public struct Options: OptionSet
Inheritance
OptionSet
Nested Type Aliases
RawValue
public typealias RawValue = UInt
Initializers
init(rawValue:)
public init(rawValue: RawValue)
Properties
rawValue
public let rawValue: RawValue
displayInline
An option indicating the menu displays inline with its parent menu instead of displaying as a submenu.
public static var displayInline: Menu.Options
destructive
An Option indicating the menu’s appearance represents a destructive action.
public static var destructive: Menu.Options