model_server/gala/src/dis_cmds.cxx
// this function is inserted callback function name into the gdListView
// this function will be called every time the current row or column changed.
this function is inserted callback function name into the gdListView
this function will be called every time the current row or column changed.
this function is inserted callback function name into the gdListView this function will be called every time the current row or column changed .
int dis_gdListViewSetCellChange (ClientData,
				    Tcl_Interp* interp, int argc, char* argv[])
{
    gInit (dis_gdSetChangeCallback);
    if (argc != 3) {
	   Tcl_SetResult (interp, "wrong number of arguments", TCL_STATIC);
	   return TCL_ERROR;
    }
    gdListView *item = (gdListView *)dis_findItem(interp, (vchar*) argv[1]);
    if(!item) TCL_EXECERR1 ("listview not found", argv[1]);
    item->SetCellChangeCallback(argv[2]);
    return TCL_OK;
}
int dis_gdListViewSetCellChange ( ClientData , Tcl_Interp * interp , int argc , char * argv [ ] ) { gInit ( dis_gdSetChangeCallback ) ; if ( argc != 3 ) { Tcl_SetResult ( interp , " " , TCL_STATIC ) ; return TCL_ERROR ; } gdListView * item = ( gdListView * ) dis_findItem ( interp , ( vchar * ) argv [ 1 ] ) ; if ( ! item ) TCL_EXECERR1 ( " " , argv [ 1 ] ) ; item -> SetCellChangeCallback ( argv [ 2 ] ) ; return TCL_OK ; }
this function is inserted callback function name into the gdListView
this function will be called every time the current row or column changed.
this function is inserted callback function name into the gdListView this function will be called every time the current row or column changed .