Lines Matching defs:index
90 /*! \brief Gets the option at the given index.
91 \param index The option's index.
100 BOptionPopUp::GetOptionAt(int32 index, const char** outName, int32* outValue)
106 BMenuItem* item = menu->ItemAt(index);
121 /*! \brief Removes the option at the given index.
122 \param index The index of the option to remove.
125 BOptionPopUp::RemoveOptionAt(int32 index)
129 delete menu->RemoveItem(index);
146 \param index The index which the new option will have in the control.
148 \c B_BAD_VALUE if the given index was invalid.
152 BOptionPopUp::AddOptionAt(const char* name, int32 value, int32 index)
159 if (index < 0 || index > numItems)
172 if (!menu->AddItem(newItem, index)) {
321 \return The index of the selected option.