mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-07-01 03:04:52 +02:00
11 lines
311 B
Python
11 lines
311 B
Python
from __future__ import annotations
|
|
|
|
import tkinter as tk
|
|
from tkinter import ttk
|
|
|
|
|
|
def titled_frame(parent: tk.Misc, title: str) -> ttk.LabelFrame:
|
|
frame = ttk.LabelFrame(parent, padding=(12, 10))
|
|
frame.configure(labelwidget=ttk.Label(frame, text=title, style="TimelineHeader.TLabel"))
|
|
return frame
|