Source code for RsFsw.Implementations.Display.Theme.Select

from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SelectCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("select", core, parent)

[docs] def set(self, theme: str) -> None: """ ``DISPlay:THEMe:SELect`` \n Snippet: ``driver.display.theme.select.set(theme = 'abc')`` \n This command selects the display theme. :param theme: String containing the name of theme. """ param = Conversions.value_to_quoted_str(theme) self._core.io.write(f'DISPlay:THEMe:SELect {param}')