model_server/gala/src/controlObjects.cxx
// removes text and data assosiated with the specified cell. 
// removes the cell from the internal list
removes text and data assosiated with the specified cell.
removes the cell from the internal list
removes text and data assosiated with the specified cell . removes the cell from the internal list
void gdListView::RemoveAllRow(int row) {
	register i;
	int mycolumns=internal_list->GetColumnCount();
	for(i=0;i<mycolumns;i++) {
		ListViewCell *cell = GetCellInfo(row, i);
		if(cell==NULL) return;
		if(cell->value != NULL) {
			free(cell->value);
			cell->value=NULL;
		}
		if(cell->data  != NULL) {
			free(cell->data);
			cell->data=NULL;
		}
		if(cell->check_button!=NULL) {
			delete cell->check_button;
			cell->check_button=NULL;
		}
	}
	internal_list->RemoveRow(row);
}
void gdListView :: RemoveAllRow ( int row ) { register i ; int mycolumns = internal_list -> GetColumnCount ( ) ; for ( i = 0 ; i < mycolumns ; i ++ ) { ListViewCell * cell = GetCellInfo ( row , i ) ; if ( cell == NULL ) return ; if ( cell -> value != NULL ) { free ( cell -> value ) ; cell -> value = NULL ; } if ( cell -> data != NULL ) { free ( cell -> data ) ; cell -> data = NULL ; } if ( cell -> check_button != NULL ) { delete cell -> check_button ; cell -> check_button = NULL ; } } internal_list -> RemoveRow ( row ) ; }
removes text and data assosiated with the specified cell.
removes text and data assosiated with the specified cell .