scottc@net-community.com
)mhanni@sprintmail.com
)Popup list class
Copyright: (C) 1996 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSPopUpButton.h
Inserts a new item with title as its title at the end of the list and synchronizes the NSPopUpButton's title with the title of the selected item.
See Also: [NSPopUpButtonCell -addItemWithTitle:] -synchronizeTitleAndSelectedItem
Inserts a new list of items with titles as titles at the end of the list and synchronizes the NSPopUpButton's title with the title of the selected item.
See Also: [NSPopUpButtonCell -addItemsWithTitles:] -synchronizeTitleAndSelectedItem
Returns the index of the item with tag as its tag. Returns -1 if the cell is not found
See Also: [NSPopUpButtonCell -indexOfItemWithTag:] -indexOfItemWithTitle: -indexOfItemWithRepresentedObject:
Returns the index of the item with title as its title. Returns -1 if the cell is not found
See Also: [NSPopUpButtonCell -indexOfItemWithTitle:] -indexOfItemWithTag: -indexOfItemWithRepresentedObject:
Initialize and returns a new NSPopUpButton into the frame frameRect and specified by flag if the NSPopUpButton is a pull-down list
See Also: -setPullsDown: [NSView -initWithFrame:]
Inserts a new item with title as its title at the specified index and synchronizes the NSPopUpButton's title with the title of the selected item.
See Also: [NSPopUpButtonCell -insertItemWithTitle:atIndex:] -synchronizeTitleAndSelectedItem
Returns the NSMenuItem at index
index or nil
if
index is out of range
See Also: [NSPopUpButtonCell -itemAtIndex:]
Returns the item's title at index index
Returns an array containing the items's titles
Returns the NSMenuItem with title as its title
Returns the last NSMenuItem of the list
Returns whether the NSPopUpButton's cell has a
pulls-down list (YES
) or a pop-up
list (NO
)
See Also: -setPullsDown: [NSPopUpButtonCell -pullsDown]
Removes all items from the item list and synchronizes the NSPopUpButton's title with the title of the selected
See Also: [NSPopUpButtonCell -removeAllItems] -removeItemWithTitle: -synchronizeTitleAndSelectedItem
Removes the item at the specified index index from the item list and synchronizes the NSPopUpButton's title with the title of the selected
See Also: [NSPopUpButtonCell -removeItemAtIndex:] -removeAllItems -removeItemWithTitle: -synchronizeTitleAndSelectedItem
Removes the item specified with title as its title from the item list and synchronizes the NSPopUpButton's title with the title of the selected
See Also: [NSPopUpButtonCell -removeItemWithTitle:] -removeAllItems -removeItemAtIndex: -synchronizeTitleAndSelectedItem
Select the item at index index and synchronizes the NSPopUpButton's title with the title of the selected
See Also: [NSPopUpButtonCell -selectItemAtIndex:] -synchronizeTitleAndSelectedItem
Select the item with title title and synchronizes the NSPopUpButton's title with the title of the selected
See Also: [NSPopUpButtonCell -selectItemWithTitle:] -synchronizeTitleAndSelectedItem
Sets whether the NSPopUpButton's cell has a
pulls-down list (YES
) or a pop-up
list (NO
)
See Also: -pullsDown [NSPopUpButtonCell -setPullsDown:]