(self)
return EditorWindow.close(self)
Extend EditorWindow.close()
Extend EditorWindow.close()
Extend EditorWindow . close ()
def close(self):
        "Extend EditorWindow.close()"
        if self.executing:
            response = messagebox.askokcancel(
                "Kill?",
                "Your program is still running!\n Do you want to kill it?",
                default="ok",
                parent=self.text)
            if response is False:
                return "cancel"
        self.stop_readline()
        self.canceled = True
        self.closing = True
        return EditorWindow.close(self)
def close ( self ) : if self . executing : response = messagebox . askokcancel ( "Kill?" , "Your program is still running!\n Do you want to kill it?" , default = "ok" , parent = self . text ) if response is False : return "cancel" self . stop_readline ( ) self . canceled = True self . closing = True return EditorWindow . close ( self )