Still WIP
This commit is contained in:
14
classes/custom/themed_frame.py
Normal file
14
classes/custom/themed_frame.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from ttkthemes import ThemedTk
|
||||
from typing import Union
|
||||
import sv_ttk
|
||||
from tkinter.ttk import Frame
|
||||
|
||||
from modules.utils import get_string_mode
|
||||
|
||||
class ThemedFrame(Frame):
|
||||
|
||||
def __init__(self, master: ThemedTk, **kwargs) -> None:
|
||||
|
||||
super().__init__(master, **kwargs)
|
||||
|
||||
sv_ttk.set_theme(get_string_mode())
|
Reference in New Issue
Block a user