def destroy(self):
<EOL>if self == App._main_app:<EOL><INDENT>App._main_app = None<EOL><DEDENT>self.tk.destroy()<EOL>
Destroy and close the App.

:return:
    None.

 :note:
    Once destroyed an App can no longer be used.