model_server/gala/src/controlObjects.cxx
// embagges the check control to the specified cell and set it's
// initial value. the embagged control vill be removed and memory 
// will be free when dialog item list will be removed
embagges the check control to the specified cell and set it's
initial value. the embagged control vill be removed and memory
will be free when dialog item list will be removed
embagges the check control to the specified cell and set it ' s initial value . the embagged control vill be removed and memory will be free when dialog item list will be removed
gdListCheck* gdListView::SetCellCheck(int row, int col, char* callback,int state) {
	ListViewCell *cell = GetCellInfo(row, col);
	if(cell == NULL)     return NULL;
	if(cell->check_button==NULL) {
		cell->read_only=vTRUE; 
		cell->check_button=CreateCheckButton(row,col);
		cell->check_button->SetValue(state);
		cell->check_button->SetCallback(callback);
		return cell->check_button;
	}
	return NULL;
}
gdListCheck * gdListView :: SetCellCheck ( int row , int col , char * callback , int state ) { ListViewCell * cell = GetCellInfo ( row , col ) ; if ( cell == NULL ) return NULL ; if ( cell -> check_button == NULL ) { cell -> read_only = vTRUE ; cell -> check_button = CreateCheckButton ( row , col ) ; cell -> check_button -> SetValue ( state ) ; cell -> check_button -> SetCallback ( callback ) ; return cell -> check_button ; } return NULL ; }
embagges the check control to the specified cell and set it's
initial value.
embagges the check control to the specified cell and set it ' s initial value .