application/main.c

branch
newapi
changeset 429
0921f8a5d535
parent 427
7ead63398a50
child 433
605bb5dc34f1
equal deleted inserted replaced
428:c7dcd2ab2d3d 429:0921f8a5d535
594 ui_list_append(wdata->list, "List Item 3"); 594 ui_list_append(wdata->list, "List Item 3");
595 ui_list_append(wdata->list, "List Item 4"); 595 ui_list_append(wdata->list, "List Item 4");
596 596
597 ui_button(obj, .label = "Add Menu Item", .onclick = action_button, .name = "mybutton1"); 597 ui_button(obj, .label = "Add Menu Item", .onclick = action_button, .name = "mybutton1");
598 ui_button(obj, .label = "Add List Item", .onclick = action_button2); 598 ui_button(obj, .label = "Add List Item", .onclick = action_button2);
599 ui_progressbar(obj, .name = "pb");
599 ui_listview(obj, .list = wdata->list, .fill = UI_ON, .multiselection = TRUE, 600 ui_listview(obj, .list = wdata->list, .fill = UI_ON, .multiselection = TRUE,
600 .onactivate = action_listevent, .onactivatedata = "activate", 601 .onactivate = action_listevent, .onactivatedata = "activate",
601 .onselection = action_listevent, .onselectiondata = "selection"); 602 .onselection = action_listevent, .onselectiondata = "selection");
602 603
603 604

mercurial