Contents

isTornOff

Indicates whether the menu is offscreen or attached to another menu (or if it’s the main menu).

Declaration

var isTornOff: Bool { get }

Discussion

This property has a value of false if the menu is offscreen, is attached to another menu, or is the main menu. Otherwise, this property has a value of true.

Special Considerations

This property has no effect in macOS 10.6 and later.

See Also

Managing Submenus