diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebb226c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +.idea/ +__pycache__/ \ No newline at end of file diff --git a/Readme.md b/Readme.md index 8bc42be..c10ccc5 100644 --- a/Readme.md +++ b/Readme.md @@ -1,2 +1,14 @@ # 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.... diff --git a/main.py b/simple_test.py similarity index 93% rename from main.py rename to simple_test.py index a1b40c2..1f99e10 100644 --- a/main.py +++ b/simple_test.py @@ -2,11 +2,11 @@ import tkinter import customtkinter customtkinter.enable_macos_darkmode() -customtkinter.deactivate_threading() +#customtkinter.set_appearance_mode("Light") app = tkinter.Tk() app.geometry("400x240") -app.title("TkinterCustomButton") +app.title("CustomTkinter Test") def button_function():