Created
April 6, 2015 17:09
-
-
Save aGupieWare/43444a6707769f974bbd to your computer and use it in GitHub Desktop.
PyGest Code Snippet 4-2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class View(): | |
| """ | |
| The main view class for the PyGest tkinter interface. | |
| """ | |
| . | |
| . | |
| . | |
| def configure_outputs(self): | |
| """ | |
| Configure output widgets: hash value, match value. | |
| """ | |
| logging.info("We're in the configure_outputs method") | |
| outputs_frame = tkinter.Frame(self.mainframe, background="green", borderwidth=2, relief='flat') | |
| outputs_frame.grid(row=2, column=0, sticky=('N', 'S', 'E', 'W')) | |
| outputs_frame.rowconfigure(0, weight=1) | |
| outputs_frame.rowconfigure(1, weight=1) | |
| outputs_frame.columnconfigure(0, weight=1) | |
| outputs_frame.columnconfigure(1, weight=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment