mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
readme
This commit is contained in:
parent
d43a35e670
commit
94bb7461a0
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.DS_Store
|
||||||
|
.idea/
|
||||||
|
__pycache__/
|
12
Readme.md
12
Readme.md
@ -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....
|
||||||
|
@ -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():
|
Loading…
Reference in New Issue
Block a user