Python-Menu/project/pembeli_menu.py

8 lines
308 B
Python

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