ttk_intro
Name
ttk::intro — Introduction to the Tk theme engine
Overview
The Tk themed widget set is based on a revised and enhanced version of TIP #48 (
http://tip.tcl.tk/48) specified style engine. The main concepts are described below. The basic idea is to separate, to the extent possible, the code implementing a widget's behavior from the code implementing its appearance. Widget class bindings are primarily responsible for maintaining the widget state and invoking callbacks; all aspects of the widget's appearance are controlled by the style of the widget (i.e. the style of the elements of the widget).
Themes
A
theme is a collection of elements and styles that determine the look and feel of the widget set. Themes can be used to:
- isolate platform differences (X11 vs. classic Windows vs. XP vs. Aqua ...)