3 summary:: A view displaying a text item selectable from a drop-down menu.
8 When clicked, this view opens a menu containing several text items, then closes the menu and displays one of the items after it is selected.
24 The list of items displayed in a menu when the view is clicked.
27 An Array of Strings or Symbols.
30 The currently selected item.
36 The index of the currently selected item.
39 An integer, or nil meaning no selected item.
42 Sets link::#-value:: and triggeres link::#-action::.
45 An integer, or nil meaning no selected item.
49 SUBSECTION:: Appearance
52 The color used to display text.
58 Setting this variable colors the area of the view under the text with the given color.
65 SUBSECTION:: Interaction
67 METHOD:: allowsReselection
68 Determines whether the action is triggered when selecting already selected item. Defaults to false.
78 The action object evaluated whenever the user changes the selected item from the menu. See link::#-allowsReselection:: for customization.
82 SUBSECTION:: Drag and drop
84 METHOD:: defaultGetDrag
88 METHOD:: defaultCanReceiveDrag
90 True if the current drag data is a number.
92 METHOD:: defaultReceiveDrag
93 Sets link::#-valueAction:: to the current drag data.