NSPopUpButton
Authors
- Scott Christley(
scottc@net-community.com
)
-
- Michael Hanni(
mhanni@sprintmail.com
)
-
Popup list class
Copyright: (C) 1996 Free Software Foundation, Inc.
Software documentation for the NSPopUpButton class
Declared: AppKit/NSPopUpButton.h
addItemWithTitle:
- (void) addItemWithTitle: (NSString*)title;
addItemsWithTitles:
- (void) addItemsWithTitles: (NSArray*)itemTitles;
autoenablesItems
- (BOOL) autoenablesItems;
indexOfItem:
- (int) indexOfItem: (id)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:pullsDown:
- (id) initWithFrame: (NSRect)frameRect pullsDown: (BOOL)flag;
insertItemWithTitle:atIndex:
- (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
itemArray
- (NSArray*) itemArray;
itemAtIndex:
- (id) itemAtIndex: (int)index;
itemTitleAtIndex:
- (NSString*) itemTitleAtIndex: (int)index;
itemTitles
- (NSArray*) itemTitles;
itemWithTitle:
- (id) itemWithTitle: (NSString*)title;
lastItem
- (id) lastItem;
numberOfItems
- (int) numberOfItems;
preferredEdge
- (NSRectEdge) preferredEdge;
pullsDown
- (BOOL) pullsDown;
removeAllItems
- (void) removeAllItems;
removeItemAtIndex:
- (void) removeItemAtIndex: (int)index;
removeItemWithTitle:
- (void) removeItemWithTitle: (NSString*)title;
selectItem:
- (void) selectItem: (id)anObject;
selectItemAtIndex:
- (void) selectItemAtIndex: (int)index;
selectItemWithTitle:
- (void) selectItemWithTitle: (NSString*)title;
selectedItem
- (id) selectedItem;
setAutoenablesItems:
- (void) setAutoenablesItems: (BOOL)flag;
setPreferredEdge:
- (void) setPreferredEdge: (NSRectEdge)edge;
setPullsDown:
- (void) setPullsDown: (BOOL)flag;
setTitle:
- (void) setTitle: (NSString*)aString;
synchronizeTitleAndSelectedItem
- (void) synchronizeTitleAndSelectedItem;
titleOfSelectedItem
- (NSString*) titleOfSelectedItem;