Contents

NSPopUpButton

A control for selecting an item from a list.

Declaration

class NSPopUpButton

Overview

An NSPopUpButton object uses an NSPopUpButtonCell object to implement its user interface.

Note that while a menu is tracking user input, programmatic changes to the menu, such as adding, removing, or changing items on the menu, is not reflected.

Topics

Initializing an NSPopUpButton

Configuring the Cell

Setting the type of menu

Inserting and deleting items

Getting the user’s selection

Setting the current selection

Getting menu items

Getting the indices of menu items

Setting the cell edge to pop out in restricted situations

Setting the title

Setting the state

Notifications

Instance Methods

Initializers

Instance Properties

See Also

Controls