model_server/gala/src/dis_cmds.cxx
//----------------------------------------------------------------------------------------------------
// <void>  <-  <name>
// This function will set the SelectionChanged callback to the spesified spinner.
//----------------------------------------------------------------------------------------------------
  <-  
This function will set the SelectionChanged callback to the spesified spinner.
< - This function will set the SelectionChanged callback to the spesified spinner .
int dis_gdTextSpinSetChangeCallback(ClientData, Tcl_Interp* interp, int argc, char *argv[]) {
   if (argc != 3) {
	  Tcl_SetResult (interp, (char *)"wrong number of arguments", TCL_STATIC);
	  return TCL_ERROR;
   }
   gdTextSpinner *spinner = (gdTextSpinner *)dis_findItem(interp, (vchar*) argv[1]);
   if(!spinner)  TCL_EXECERR1 ((char *)"Text spinner was not found", argv[1]);
   spinner->SetChangeCallback((char *)argv[2]);
   return TCL_OK;
}
int dis_gdTextSpinSetChangeCallback ( ClientData , Tcl_Interp * interp , int argc , char * argv [ ] ) { if ( argc != 3 ) { Tcl_SetResult ( interp , ( char * ) " " , TCL_STATIC ) ; return TCL_ERROR ; } gdTextSpinner * spinner = ( gdTextSpinner * ) dis_findItem ( interp , ( vchar * ) argv [ 1 ] ) ; if ( ! spinner ) TCL_EXECERR1 ( ( char * ) " " , argv [ 1 ] ) ; spinner -> SetChangeCallback ( ( char * ) argv [ 2 ] ) ; return TCL_OK ; }
<void>  <-  <name>
This function will set the SelectionChanged callback to the spesified spinner.
<void > < - <name > This function will set the SelectionChanged callback to the spesified spinner .