class theme.Theme(object)

Instances of the Theme class are used to construct the theme hierarchy in which the values of theme properties are looked up. See Theme Lookup for details of how the theme hierarchy is structured and how the lookup process works.


Theme(name, base = None)
Constructs a Theme object. The name is only used for debugging purposes; typically it will be the name of the class that the Theme instance is for. If a base is specified, it should be another Theme object to be searched if an attribute is not found in this Theme object.


Examples of the use of Theme objects can be found under Theme Lookup and FontProperty.