[Previous]
[Up]
[Next]
NSPopUpButton
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSPopUpButton.h
Inherits from: NSButton
Conforms to: NSCoding
Instance Variables
Methods
Instances Methods
- (void) addItemWithTitle: (NSString*)title;
- (void) addItemsWithTitles: (NSArray*)itemTitles;
- (BOOL) autoenablesItems;
- (int) indexOfItem: (id<NSMenuItem>)anObject;
- (int) indexOfItemWithRepresentedObject: (id)anObject;
- (int) indexOfItemWithTag: (int)tag;
- (int) indexOfItemWithTarget: (id)target andAction: (SEL)actionSelector;
- (int) indexOfItemWithTitle: (NSString*)title;
- (int) indexOfSelectedItem;
- (id) initWithFrame: (NSRect)frameRect;
- (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
- (NSArray*) itemArray;
- (id<NSMenuItem>) itemAtIndex: (int)index;
- (NSString*) itemTitleAtIndex: (int)index;
- (NSArray*) itemTitles;
- (id<NSMenuItem>) itemWithTitle: (NSString*)title;
- (id<NSMenuItem>) lastItem;
- (NSMenu*) menu;
- (int) numberOfItems;
- (NSRectEdge) preferredEdge;
- (BOOL) pullsDown;
- (void) removeAllItems;
- (void) removeItemAtIndex: (int)index;
- (void) removeItemWithTitle: (NSString*)title;
- (id<NSMenuItem>) selectedItem;
- (void) selectItem (id <NSMenuItem>)anObject;
- (void) selectItemAtIndex: (int)index;
- (void) selectItemWithTitle: (NSString*)title;
- (void) setAutoenablesItems: (BOOL)flag;
- (void) setFont: (NSFont*)fontObject;
- (void) setMenu: (NSMenu*)menu;
- (void) setPreferredEdge: (NSRectEdge)edge;
- (void) setPullsDown: (BOOL)flag;
- (int) setTitle: (NSString*)aString;
- (void) synchronizeTitleAndSelectedItem;
- (NSString*) titleOfSelectedItem;