[Previous] [Up] [Next]

NSPopUpButton

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSPopUpButton

NSPopUpButton

Declared in: Gui/NSPopUpButton.h

Inherits from: NSButton

Conforms to: NSCoding


Instance Variables

Methods


Instances Methods

addItemWithTitle:

- (void) addItemWithTitle: (NSString*)title;

addItemsWithTitles:

- (void) addItemsWithTitles: (NSArray*)itemTitles;

autoenablesItems

- (BOOL) autoenablesItems;

indexOfItem:

- (int) indexOfItem: (id<NSMenuItem>)anObject;

indexOfItemWithRepresentedObject:

- (int) indexOfItemWithRepresentedObject: (id)anObject;

indexOfItemWithTag:

- (int) indexOfItemWithTag: (int)tag;

indexOfItemWithTarget:andAction:

- (int) indexOfItemWithTarget: (id)target andAction: (SEL)actionSelector;

indexOfItemWithTitle:

- (int) indexOfItemWithTitle: (NSString*)title;

indexOfSelectedItem

- (int) indexOfSelectedItem;

initWithFrame:

- (id) initWithFrame: (NSRect)frameRect;

insertItemWithTitle:atIndex:

- (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;

itemArray

- (NSArray*) itemArray;

itemAtIndex:

- (id<NSMenuItem>) itemAtIndex: (int)index;

itemTitleAtIndex:

- (NSString*) itemTitleAtIndex: (int)index;

itemTitles

- (NSArray*) itemTitles;

itemWithTitle:

- (id<NSMenuItem>) itemWithTitle: (NSString*)title;

lastItem

- (id<NSMenuItem>) lastItem;

menu

- (NSMenu*) menu;

numberOfItems

- (int) numberOfItems;

preferredEdge

- (NSRectEdge) preferredEdge;

pullsDown

- (BOOL) pullsDown;

removeAllItems

- (void) removeAllItems;

removeItemAtIndex:

- (void) removeItemAtIndex: (int)index;

removeItemWithTitle:

- (void) removeItemWithTitle: (NSString*)title;

selectedItem

- (id<NSMenuItem>) selectedItem;

selectItem

- (void) selectItem (id <NSMenuItem>)anObject;

selectItemAtIndex:

- (void) selectItemAtIndex: (int)index;

selectItemWithTitle:

- (void) selectItemWithTitle: (NSString*)title;

setAutoenablesItems:

- (void) setAutoenablesItems: (BOOL)flag;

setFont:

- (void) setFont: (NSFont*)fontObject;

setMenu:

- (void) setMenu: (NSMenu*)menu;

setPreferredEdge:

- (void) setPreferredEdge: (NSRectEdge)edge;

setPullsDown:

- (void) setPullsDown: (BOOL)flag;

setTitle:

- (int) setTitle: (NSString*)aString;

synchronizeTitleAndSelectedItem

- (void) synchronizeTitleAndSelectedItem;

titleOfSelectedItem

- (NSString*) titleOfSelectedItem;