application/window.c

changeset 60
ee4e4742391e
parent 59
6bd37fe6d905
equal deleted inserted replaced
59:6bd37fe6d905 60:ee4e4742391e
71 } 71 }
72 72
73 // main content 73 // main content
74 UiModel* model = ui_model(obj->ctx, UI_ICON_TEXT, "Name", UI_STRING, "Type", UI_STRING_FREE, "Last Modified", UI_STRING_FREE, "Size", -1); 74 UiModel* model = ui_model(obj->ctx, UI_ICON_TEXT, "Name", UI_STRING, "Type", UI_STRING_FREE, "Last Modified", UI_STRING_FREE, "Size", -1);
75 model->getvalue = (ui_getvaluefunc) window_resource_table_getvalue; 75 model->getvalue = (ui_getvaluefunc) window_resource_table_getvalue;
76 ui_table(obj, .fill = UI_ON, .model = model, .onactivate = action_list_activate, .ondrop = action_dnd_drop, .varname = "reslist"); 76 ui_table(obj, .fill = UI_ON, .model = model, .onactivate = action_list_activate, .ondrop = action_dnd_drop, .varname = "reslist", .multiselection = TRUE);
77 77
78 // status bar 78 // status bar
79 79
80 ui_hbox(obj, .fill = UI_OFF) { 80 ui_hbox(obj, .fill = UI_OFF) {
81 ui_label(obj, .label = ""); 81 ui_label(obj, .label = "");

mercurial