Instance Method


Dismisses the pop-up button’s menu by ordering its window out.


func dismissPopUp()


If the pop-up button was not displaying its menu, this method does nothing.

You normally do not call this method explicitly. It is called by the Application Kit automatically to dismiss the menu for the pop-up button.

See Also

Handling events and action messages

func attachPopUp(withFrame: NSRect, in: NSView)

Sets up the receiver to display a menu.

func performClick(withFrame: NSRect, in: NSView)

Displays the receiver’s menu and track mouse events in it.