mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Choice.cxx
int Fl_Choice::value(int v) {
  if (v == -1) return value((const Fl_Menu_Item *)0);
  if (v < 0 || v >= (size() - 1)) return 0;
  if (!Fl_Menu_::value(v)) return 0;
  redraw();
  return 1;
}
/**
  Sets the currently selected value using the index into the menu item array.
  Changing the selected value causes a redraw().
  \param[in] v index of value in the menu item array.
  \returns non-zero if the new value is different to the old one.
 */
Sets the currently selected value using the index into the menu item array.
Changing the selected value causes a redraw().
\param[in] v index of value in the menu item array.
\returns non-zero if the new value is different to the old one.
Sets the currently selected value using the index into the menu item array . Changing the selected value causes a redraw () . \ param [ in ] v index of value in the menu item array . \ returns non - zero if the new value is different to the old one .
int Fl_Choice::value(int v) {
  if (v == -1) return value((const Fl_Menu_Item *)0);
  if (v < 0 || v >= (size() - 1)) return 0;
  if (!Fl_Menu_::value(v)) return 0;
  redraw();
  return 1;
}
int Fl_Choice :: value ( int v ) { if ( v == -1 ) return value ( ( const Fl_Menu_Item * ) 0 ) ; if ( v < 0 || v >= ( size ( ) - 1 ) ) return 0 ; if ( ! Fl_Menu_ :: value ( v ) ) return 0 ; redraw ( ) ; return 1 ; }
Sets the currently selected value using the index into the menu item array.
Sets the currently selected value using the index into the menu item array .