module theme

The theme module defines the theme-related classes and provides an attribute called root holding the root of the theme hierarchy.


A Theme instance constituting the root of the theme hierarchy. It holds other Theme objects corresponding to particular classes, and default values for any theme attributes not specified by the class-specific themes. See Theme Lookup for an example of a partial theme hierarchy.

Applications can modify the contents of the theme hierarchy, or replace it altogether by assigning to theme.root.