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 editor changed the cell value
this function is inserted callback function name into the gdListView
this function will be called every time the editor changed the cell value
this function is inserted callback function name into the gdListView this function will be called every time the editor changed the cell value
int dis_gdListViewSetChangeCallback(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->SetChangeCallback(argv[2]);
    return TCL_OK;
}
int dis_gdListViewSetChangeCallback ( 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 -> SetChangeCallback ( argv [ 2 ] ) ; return TCL_OK ; }
this function is inserted callback function name into the gdListView
this function will be called every time the editor changed the cell value
this function is inserted callback function name into the gdListView this function will be called every time the editor changed the cell value