-
Notifications
You must be signed in to change notification settings - Fork 1
/
testView.py
37 lines (31 loc) · 836 Bytes
/
testView.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import tkinter as tk
import views.listtxt
import views.cleaning
import views.filter
import views.qp
import views.europresse
import views.wordreplace
import views.qpmap
import views.scopus
import views.factiva
import views.lexis
import views.newton
import views.cited_years
import views.heatmap
import views.capitals
import views.openbooks
class MainView(tk.Toplevel):
def __init__(self, parent):
tk.Toplevel.__init__(self, parent)
self.parent = parent
self.title("T2:MVC")
self.protocol('WM_DELETE_WINDOW', self.
parent.destroy)
# views.newton.ViewNewton(self)
# views.uncapitalise.ViewReplacer(self)
views.openbooks.ViewOpenbooks(self)
if __name__ == '__main__':
root = tk.Tk()
root.withdraw()
app = MainView(root)
root.mainloop()