mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
readme changes
This commit is contained in:
parent
cbb9a4c17a
commit
d81c1a3ead
11
Readme.md
11
Readme.md
@ -263,10 +263,17 @@ bg_color | background color, tuple: (light_color, dark_color) or single color
|
||||
</details>
|
||||
|
||||
### 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!)
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user