Example #1
0
	def theme(self, name):
		self._theme = theme.get(name)
Example #2
0
	def theme(self):
		_theme = getattr(self, '_theme', None)
		if isinstance(_theme, basestring):
			_theme = theme.get(_theme)
			self._theme = _theme
		return _theme