Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
adding destroys for the GUI examples
Browse files Browse the repository at this point in the history
  • Loading branch information
shoeffner committed Jul 3, 2017
1 parent 335ef8b commit bff422b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions 13_GUINext/code/button_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ def __init__(self, root):
root = Tk()
SimpleWindow(root)
root.mainloop()
root.destroy()
1 change: 1 addition & 0 deletions 13_GUINext/code/grid_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ def __init__(self, root):
root = tk.Tk()
GridWindow(root)
root.mainloop()
root.destroy()
1 change: 1 addition & 0 deletions 13_GUINext/code/iris_viz/src/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def init_controls(self):

self._y_selection = tk.IntVar()
self._y_selection.set(1)

for row, label in enumerate(self.labels[:-1]):
radio = tk.Radiobutton(self.frame_y, variable=self._y_selection,
value=row, text=label,
Expand Down
1 change: 1 addition & 0 deletions 13_GUINext/code/tree_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ def __init__(self, root):
root = tk.Tk()
TreeWindow(root)
root.mainloop()
root.destroy()
1 change: 1 addition & 0 deletions 13_GUINext/code/update_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ def toggle(self):
root = tk.Tk()
ToggleWindow(root)
root.mainloop()
root.destroy()

0 comments on commit bff422b

Please sign in to comment.