SyncTk/classes/custom/themed_frame.py
2023-01-23 00:13:30 +01:00

15 lines
286 B
Python

from tkinter import Misc
from tkinter.ttk import Frame
import sv_ttk
from modules.utils import get_string_mode
class ThemedFrame(Frame):
def __init__(self, master: Misc, **kwargs) -> None:
super().__init__(master, **kwargs)
sv_ttk.set_theme(get_string_mode())