application/main.c

branch
newapi
changeset 317
b30415965ec3
parent 315
144c2b4683cb
equal deleted inserted replaced
316:e15ff2183b43 317:b30415965ec3
58 printf("selected file: %s\n", files->files[0]); 58 printf("selected file: %s\n", files->files[0]);
59 } 59 }
60 } 60 }
61 61
62 void action_button(UiEvent *event, void *userdata) { 62 void action_button(UiEvent *event, void *userdata) {
63 ui_openfiledialog(event->obj, 0, action_file_selected, NULL); 63 ui_savefiledialog(event->obj, "myfile.txt", action_file_selected, NULL);
64 } 64 }
65 65
66 void action_switch(UiEvent *event, void *userdata) { 66 void action_switch(UiEvent *event, void *userdata) {
67 67
68 } 68 }

mercurial