This commit is contained in:
Tom Schimansky 2021-03-04 19:10:12 +01:00
parent d43a35e670
commit 94bb7461a0
3 changed files with 17 additions and 2 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.DS_Store
.idea/
__pycache__/

View File

@ -1,2 +1,14 @@
# CustomTkinter # CustomTkinter
![](documentation_images/customtkinter_comparison.png)
With CustomTkinter you can create modern looking user
interfaces in python with tkinter. CustomTkinter is a
tkinter extension which provides extra ui-elements like
the CTkButton, which can be used like a normal tkinter.Button,
but can be customized with a border and corner_radius.
CustomTkinter also supports a light and dark theme,
which can be either set manually or gets controlled by
the system appearance mode (only macOS).
Detailed documentation is coming soon....

View File

@ -2,11 +2,11 @@ import tkinter
import customtkinter import customtkinter
customtkinter.enable_macos_darkmode() customtkinter.enable_macos_darkmode()
customtkinter.deactivate_threading() #customtkinter.set_appearance_mode("Light")
app = tkinter.Tk() app = tkinter.Tk()
app.geometry("400x240") app.geometry("400x240")
app.title("TkinterCustomButton") app.title("CustomTkinter Test")
def button_function(): def button_function():