application/main.c

changeset 106
a4f4123ca12a
parent 104
3efe0210e27e
child 107
9aff1dc3990d
--- a/application/main.c	Sat Jan 23 18:37:30 2016 +0100
+++ b/application/main.c	Sat Jan 23 20:47:07 2016 +0100
@@ -37,6 +37,11 @@
     printf("action_menu test: {%s}\n", data);
     printf("text: {%s}\n", ui_gettext(event->obj, "text"));
     fflush(stdout);
+    
+    char *file = ui_openfiledialog(event->obj);
+    printf("file: %s\n", file);
+    fflush(stdout);
+    free(file);
 }
 
 void action_button(UiEvent *event, void *data) {

mercurial