Package muntjac :: Package addon :: Package codemirror :: Package client :: Module code_theme :: Class CodeTheme
[hide private]
[frames] | no frames]

Class CodeTheme

source code

object --+
         |
        CodeTheme

Instance Methods [hide private]
 
__init__(self, name, Id, theme)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
setTheme(self, theme) source code
 
getTheme(self) source code
 
getId(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]
 
byId(cls, Id) source code
 
values(cls) source code
Class Variables [hide private]
  DEFAULT = CodeTheme('Default', 1, 'default')
  COBALT = CodeTheme('Cobalt', 2, 'cobalt')
  ECLIPSE = CodeTheme('Eclipse', 3, 'eclipse')
  ELEGANT = CodeTheme('Elegant', 4, 'elegant')
  MONOKAI = CodeTheme('Monokai', 5, 'monokai')
  NEAT = CodeTheme('Neat', 6, 'neat')
  NIGHT = CodeTheme('Night', 7, 'night')
  RUBYBLUE = CodeTheme('Ruby Blue', 8, 'rubyblue')
  _values = [CodeTheme.DEFAULT, CodeTheme.COBALT, CodeTheme.ECLI...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, Id, theme)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

_values

Value:
[CodeTheme.DEFAULT, CodeTheme.COBALT, CodeTheme.ECLIPSE, CodeTheme.ELE\
GANT, CodeTheme.MONOKAI, CodeTheme.NEAT, CodeTheme.NIGHT, CodeTheme.RU\
BYBLUE]