Ttk is the themed widget set for the Tk toolkit, previously known as Tile.
Ttk refers to the themed widgets, originally part of the Tile extension to Tk, which were integrated into Tk, starting with version 8.5.
Ttk aims to separate the code implementing a widget’s behavior from the code implementing its appearance. It includes 17 widgets that use the native look and feel across platforms. Some are very similar to widgets already existing in normal Tk, while others provide new functionality.
Related tags:
- tk - the GUI toolkit that Ttk is a part of
- tkinter - questions related to using Tk from Python
- perltk - questions related to using Tk from Perl
References:
- ttk::intro man page - the Ttk man pages describe the Tcl library
- TkDocs - tutorials and reference for Tk with a focus on Ttk, covering usage in Tcl, Ruby, Perl, and Python
tkinter.ttk
package in Python 3, andttk
in Python 2- Tkinter 8.5: Themed widgets and Using and customizing ttk styles, which cover usage in Python 2, Tk version 8.5