model_server/gala/src/controlObjects.cxx
//A number spinner. Don't stop event processing in hte TCL callback, as an infinity of button select messages
// seem to hit the spinner...
A number spinner. Don't stop event processing in hte TCL callback, as an infinity of button select messages
seem to hit the spinner
A number spinner . Don ' t stop event processing in hte TCL callback as an infinity of button select messages seem to hit the spinner
void gdNumberSpinner::Open()
{
	vspinner::Open();
	int x=GetValue();
	SetValue(x+1);
	SetValue(x);
	MarkContentDirty();
	dialog_ = GDialog::CastDown(DetermineDialog());
	InitgdWidget((vchar*)GetTag(), this);
	UpdateDisplay();
}
void gdNumberSpinner :: Open ( ) { vspinner :: Open ( ) ; int x = GetValue ( ) ; SetValue ( x + 1 ) ; SetValue ( x ) ; MarkContentDirty ( ) ; dialog_ = GDialog :: CastDown ( DetermineDialog ( ) ) ; InitgdWidget ( ( vchar * ) GetTag ( ) , this ) ; UpdateDisplay ( ) ; }
A number spinner.
A number spinner .
//this stupid hack may solve the annoying bug of the initialization changing the min/max values not succeeding...