CustomTkinter is a Python UI library built on Tkinter. It adds modern, fully customizable widgets that work alongside standard Tkinter elements.
Overview
CustomTkinter targets developers who want desktop Python interfaces without replacing Tkinter entirely. New widgets are created and used like ordinary Tkinter controls and can be mixed with existing Tkinter layout and logic.
Appearance can follow the system light or dark mode or a manually chosen mode. Widgets and windows support high-DPI scaling on Windows and macOS, and the project aims for a consistent look across Windows, macOS, and Linux desktops.
Beyond basic controls, the library supports patterns such as scrollable frames in vertical or horizontal orientation, image buttons via PhotoImage, and integration with third-party Tkinter widgets such as tile-based map views. Example programs illustrate themes, scaling, and appearance mode changes.
Install the package with pip to use it in your own applications. Documentation and examples cover widgets, themes, scaling, and appearance settings.
Key features
- Modern Tkinter-compatible widgets
- Light and dark appearance modes
- High-DPI scaling on Windows and macOS
- Mix with standard Tkinter elements
- Scrollable vertical and horizontal frames
- Image support on buttons
- Consistent look across desktop OSes
- Pip installable Python module
Use cases
- Desktop utilities with a refreshed Tkinter look
- Internal tools needing dark mode and scaling
- Prototyping Python GUI layouts quickly
- Map or specialty widgets in Tkinter apps
- Cross-platform Python desktop interfaces