Package theme
[hide private]
[frames] | no frames]

Package theme


Package for theming. Themes are subdirectories in this package and are detected automatically.

Import the theme object from this package for accessing the elements of the current theme by name:

 from theme import theme
 icon = theme.foo_icon
Submodules [hide private]

Classes [hide private]
Singleton class for loading themes.
Functions [hide private]
Variables [hide private]
  _THEMES_DIR = os.path.dirname(__file__)
  _USER_THEMES_DIR = os.path.join(values.USER_DIR, "themes")
  _DEFAULT_THEME_DIR = os.path.join(_THEMES_DIR, "default")
  _TYPE_PBUF = 0
  _TYPE_FONT = 2
  theme = _Theme()
the theme singleton object