MCPcopy Create free account
hub / github.com/geekcomputers/Python / back_to_main2

Function back_to_main2

bank_managment_system/frontend.py:1107–1123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1105# mai page for admin
1106def page1():
1107 def back_to_main2():
1108 admin_frame.grid_forget()
1109 global frame
1110 frame = Frame(tk, bg="black")
1111 frame.grid(padx=500, pady=250)
1112
1113 button = Button(frame, text="Admin", command=admin_login)
1114 button.grid(row=0, pady=20)
1115
1116 button = Button(frame, text="Employee", command=employee_login)
1117 button.grid(row=1, pady=20)
1118
1119 button = Button(frame, text="Exit", command=tk.destroy)
1120 button.grid(row=2, pady=20)
1121 tk.mainloop()
1122
1123 mainloop()
1124
1125 name = entry1.get()
1126 password = entry2.get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected