Contents

menuDidClose(_:)

Invoked after a menu closed.

Declaration

@MainActor optional func menuDidClose(_ menu: NSMenu)

Parameters

  • menu:

    The menu that closed.

Discussion

Don’t modify the structure of the menu or the menu items during this method.

See Also

Handling Open and Close Events