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 } |