Example: nca_get_top_window

This example show the use of nca_get_top_window to get the name of the window to close it.

char topwin[1024];
nca_get_top_window(topwin);
if (strcmp(topwin, "Note")
    nca_win_close(topwin);