added iconify test

This commit is contained in:
Tom Schimansky
2022-05-06 14:33:38 +02:00
parent 3eb0d411c5
commit 72823a41bc
7 changed files with 309 additions and 13 deletions

View File

@ -5,6 +5,7 @@ import os
import platform
import ctypes
import re
from typing import Union
from ..appearance_mode_tracker import AppearanceModeTracker
from ..theme_manager import CTkThemeManager
@ -32,6 +33,8 @@ class CTk(tkinter.Tk):
self.current_width = 600 # initial window size, always without scaling
self.current_height = 500
self.minsize: Union[tuple, None] = None
self.maxsize: Union[tuple, None] = None
self.fg_color = CTkThemeManager.theme["color"]["window_bg_color"] if fg_color == "default_theme" else fg_color