Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created April 13, 2015 18:47
Show Gist options
  • Save aGupieWare/88702aa4736de4f63673 to your computer and use it in GitHub Desktop.
Save aGupieWare/88702aa4736de4f63673 to your computer and use it in GitHub Desktop.
PyGest Code Snippet 5-6
class View():
"""
The main view class for the PyGest tkinter interface.
"""
.
.
.
def clear(self):
"""
Clears all input and output fields.
"""
logging.info("Clear button pressed.")
self.hash_value.set("")
self.result_var.set("")
self.digest_entry.delete(0, 'end')
self.file_entry.delete(0, 'end')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment