Package theme :: Class _Theme
[hide private]
[frames] | no frames]

Class _Theme

object --+
         |
        _Theme

Singleton class for loading themes.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__getattr__(self, name)
 
list_themes(self)
Lists the available themes.
 
set_theme(self, name)
Changes the current theme.
 
__set_theme(self, name)
 
__read_definitions(self, themepath)
 
__read_def_file(self, f)
 
__load_object(self, objtype, objdef)

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

list_themes(self)

 

Lists the available themes.

Returns:
list of (theme_path, preview_icon_path, name, description, author) tuples

set_theme(self, name)

 

Changes the current theme.

Parameters:
  • name - name of new theme