If you want to destroy the windows of a widget and its descendants, use
void EZ_DestroyWidgetWindows(EZ_Widget *widget)
This function destroys the widget window and windows of all decendants. The widget, however, is still retained.