pets/visao/frames/frame_pessoa.py

18 lines
476 B
Python

import tkinter as tk
class FramePessoas(tk.Frame):
def __init__(self, master=None, bd=None):
super().__init__(master, bg="#1e1e1e")
self.bd = bd
self._criar_layout()
def _criar_layout(self):
# Título da seção
titulo_label = tk.Label(
self,
text="GERENCIAR PESSOAS",
font=("Arial", 24, "bold"),
bg="#1e1e1e",
fg="white"
)
titulo_label.pack(pady=20)