mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
moved base functionality of widgets to widget_base_class.py
This commit is contained in:
@ -10,9 +10,9 @@ app.title("CTkDialog Test")
|
||||
|
||||
|
||||
def change_mode():
|
||||
if customtkinter.get_appearance_mode().lower() == "dark":
|
||||
if c1.get() == 0:
|
||||
customtkinter.set_appearance_mode("light")
|
||||
elif customtkinter.get_appearance_mode().lower() == "light":
|
||||
else:
|
||||
customtkinter.set_appearance_mode("dark")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user