Skip to main content

CustomTkinter

A modern and customizable python UI-library based on Tkinter

CustomTkinter complex UI example on macOS dark mode

CustomTkinter is a python desktop UI-library based on Tkinter, which provides modern looking and fully customizable widgets. With CustomTkinter you'll get a consistent look across all desktop platforms (Windows, macOS, Linux).

import customtkinter

def button_callback():
print("button clicked")

app = customtkinter.CTk()
app.geometry("400x150")

button = customtkinter.CTkButton(app, text="my button", command=button_callback)
button.pack(padx=20, pady=20)

app.mainloop()

With just a few lines of code, you already get a fully working program:

CustomTkinter simple button example