()
| 50 | theme_combobox.set("solarized-light") |
| 51 | |
| 52 | def switch_mode(): |
| 53 | if theme_switch.get(): |
| 54 | customtkinter.set_appearance_mode("Dark") |
| 55 | else: |
| 56 | customtkinter.set_appearance_mode("Light") |
| 57 | |
| 58 | theme_switch = customtkinter.CTkSwitch(app, text="Dark Mode", command=switch_mode) |
| 59 | theme_switch.pack(pady=10, expand=True) |
nothing calls this directly
no outgoing calls
no test coverage detected