void GrDestroyWindow ( GR_WINDOW_ID wid );
void GrDestroyWindow
This function unmaps and frees the data structures associated with the specified window and all of its children.
This function is also used to destroy pixmaps allocated with the GrNewPixmap() function.
GrNewWindow(), GrNewPixmap(), GrNewInputWindow(), GrUnmapWindow(), GrCloseWindow(), GrKillWindow().