class documentation
class Theme: (source)
A Theme is a set of HTML templates and configurations. This class supports both theme directory and theme archive (zipped theme).
Method | __init__ |
Undocumented |
Method | cleanup |
Remove temporary directories. |
Method | get |
Return the value for a theme configuration setting, searching the base theme chain. |
Method | get |
Return a dictionary of theme options and their values. |
Method | get |
Return a list of theme directories, beginning with this theme's, then the base theme's, then that one's base theme's, etc. |
Instance Variable | base |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | rootdir |
Undocumented |
Instance Variable | themedir |
Undocumented |
Undocumented
Parameters | |
name:str | Undocumented |
themestr | Undocumented |
factory:HTMLThemeFactory | Undocumented |