From d81c1a3eadd12737356bb39aa247e4e31b49da1f Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Fri, 5 Mar 2021 23:09:14 +0100 Subject: [PATCH] readme changes --- Readme.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 8960b99..04e1d1b 100644 --- a/Readme.md +++ b/Readme.md @@ -263,10 +263,17 @@ bg_color | background color, tuple: (light_color, dark_color) or single color ### Special commands +Change appearance mode: +```python +customtkinter.set_appearance_mode("Light") +customtkinter.set_appearance_mode("Dark") +customtkinter.set_appearance_mode("System") # macOS only + +print(customtkinter.get_appearance_mode()) +``` + Use macOS darkmode window style: ```python -import customtkinter - customtkinter.enable_macos_darkmode() # get darkmode window style customtkinter.disable_macos_darkmode() # disable darkmode (important!) ```