From c2fc0d6bf3acf41e8338aa8e81dea17b198a413f Mon Sep 17 00:00:00 2001 From: pythonboi Date: Mon, 20 Mar 2023 12:18:24 -0400 Subject: [PATCH] added a new inner frame window --- PassManager.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/PassManager.py b/PassManager.py index 59f95d1..bb4cc00 100644 --- a/PassManager.py +++ b/PassManager.py @@ -11,6 +11,28 @@ def login(): showLogin.config(text="login successful") print("login successful") + app.destroy() + + newapp = Tk() + + newapp.geometry("800x550") + newapp.title("User Entry") + + vLabel = Label(newapp, font="Monaco, 10", text="View Account") + vLabel.place(x=20, y=20) + + vBtn = Button(newapp, font="Arial, 10", fg="black", text="View Account", bg="orange", width=12, height=2) + vBtn.place(x=20, y=50) + + cLabel = Label(newapp, font="Monaco, 10", text="Create Account") + cLabel.place(x=650, y=20) + + cBtn = Button(newapp, font="Arial, 10", fg="black", text="Add Account", bg="green", width=12, height=2) + cBtn.place(x=650, y=50) + + # else: + # showLogin.config(text="wrong password") + app.title("My Password Manager")