Python-Menu/project/waiter_dashboard.py

8 lines
316 B
Python

import tkinter as tk
class WaiterDashboard(tk.Frame):
def __init__(self, parent, controller):
super().__init__(parent)
tk.Label(self, text="WAITER DASHBOARD", font=("Arial", 20, "bold")).pack(pady=20)
tk.Button(self, text="Logout", command=lambda: controller.show_frame("Login")).pack()