-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdriver.py
More file actions
27 lines (20 loc) · 821 Bytes
/
driver.py
File metadata and controls
27 lines (20 loc) · 821 Bytes
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
import tkinter as tk
from expensetracker.gui.add_gui import ADD_GUI
from expensetracker.gui.rep_gui import REP_GUI
from expensetracker.gui.bnc_gui import BNC_GUI
def run():
# driver window
driver = tk.Tk()
driver.geometry("229x297")
driver.title('Expense tracker')
btn_add = tk.Button(driver,text="Add Expenses",font=('Arial',20),command=ADD_GUI)
btn_add.pack(padx=20,pady=20)
btn_report = tk.Button(driver,text="See Report",font=('Arial',20),command=REP_GUI)
btn_report.pack(padx=20,pady=20)
btn_balance = tk.Button(driver,text="Pay Balance",font=('Arial',20),command=BNC_GUI)
btn_balance.pack(padx=20,pady=20)
btn_close = tk.Button(driver,text="Close",font=('Arial',18),command=driver.destroy)
btn_close.pack(padx=20,pady=20)
driver.mainloop()
if __name__ == "__main__":
run()