application/main.c

changeset 16
a499c8a72c15
parent 15
7a36f91c22f7
child 18
06be29a56f8b
equal deleted inserted replaced
15:7a36f91c22f7 16:a499c8a72c15
62 TestWindowData *wd = event->window; 62 TestWindowData *wd = event->window;
63 printf("Text: {%s}\n", ui_getval(wd->text)); 63 printf("Text: {%s}\n", ui_getval(wd->text));
64 ui_setval(wd->text, "--------"); 64 ui_setval(wd->text, "--------");
65 65
66 ui_list_append(list, "abc"); 66 ui_list_append(list, "abc");
67 ui_notify(list->observers, NULL);
67 } 68 }
68 69
69 void action_close(UiEvent *event, void *data) { 70 void action_close(UiEvent *event, void *data) {
70 exit(0); 71 exit(0);
71 } 72 }

mercurial