235 list->iter = iter->user_data; |
235 list->iter = iter->user_data; |
236 //list->index = (int)(intptr_t)iter->user_data2; |
236 //list->index = (int)(intptr_t)iter->user_data2; |
237 //list->current = iter->user_data3; |
237 //list->current = iter->user_data3; |
238 if(model->info->getvalue) { |
238 if(model->info->getvalue) { |
239 void *data = model->info->getvalue(iter->user_data3, column); |
239 void *data = model->info->getvalue(iter->user_data3, column); |
240 printf("data[%d]: %s\n", column, data); |
|
241 ui_model_set_value(model->info->types[column], data, value); |
240 ui_model_set_value(model->info->types[column], data, value); |
242 } else { |
241 } else { |
243 value->g_type = G_TYPE_INVALID; |
242 value->g_type = G_TYPE_INVALID; |
244 } |
243 } |
245 } |
244 } |