ui/gtk/list.c

branch
newapi
changeset 392
df62b7205bd3
parent 391
fc0df448dfbc
child 394
bedd499b640d
equal deleted inserted replaced
391:fc0df448dfbc 392:df62b7205bd3
373 tableview); 373 tableview);
374 374
375 // bind var 375 // bind var
376 list->update = ui_listview_update; 376 list->update = ui_listview_update;
377 list->getselection = ui_listview_getselection; 377 list->getselection = ui_listview_getselection;
378 list->setselection = ui_listview_setselection;
378 list->obj = tableview; 379 list->obj = tableview;
379 380
380 // add callback 381 // add callback
381 UiTreeEventData *event = ui_malloc(obj->ctx, sizeof(UiTreeEventData)); 382 UiTreeEventData *event = ui_malloc(obj->ctx, sizeof(UiTreeEventData));
382 event->obj = obj; 383 event->obj = obj;

mercurial