Instance Method

performClickWithFrame:inView:

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

Declaration

- (void)performClickWithFrame:(NSRect)frame inView:(NSView *)controlView;

Parameters

frame

The cell's rectangle, specified in points in the coordinate system of the view in the controlView parameter.

controlView

The view in which to display the pop-up button's menu.

Discussion

You normally do not call this method explicitly. It is called by the Application Kit automatically to handle events in the pop-up button.

See Also

Handling events and action messages

- attachPopUpWithFrame:inView:

Sets up the receiver to display a menu.

- dismissPopUp

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