[docs]classIconCls:"""Icon commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("icon",core,parent)
[docs]defset(self,icon_path:str,icon_index:str)->None:"""SCPI: SYSTem:PLUGin:APPStarter:ICON \n Snippet: driver.system.plugin.appStarter.icon.set(icon_path = 'abc', icon_index = 'abc') \n Defines an icon for the selected application to be displayed in the 'Application Starter' dialog box. \n :param icon_path: Path and file name for icon :param icon_index: Position of the icon as an ordered number within the dialog box. """param=ArgSingleList().compose_cmd_string(ArgSingle('icon_path',icon_path,DataType.String),ArgSingle('icon_index',icon_index,DataType.String))self._core.io.write(f'SYSTem:PLUGin:APPStarter:ICON {param}'.rstrip())
# noinspection PyTypeChecker
[docs]classIconStruct(StructBase):"""Response structure. Fields: \n - Icon_Path: str: Path and file name for icon - Icon_Index: str: Position of the icon as an ordered number within the dialog box."""__meta_args_list=[ArgStruct.scalar_str('Icon_Path'),ArgStruct.scalar_str('Icon_Index')]def__init__(self):StructBase.__init__(self,self)self.Icon_Path:str=Noneself.Icon_Index:str=None
[docs]defget(self)->IconStruct:"""SCPI: SYSTem:PLUGin:APPStarter:ICON \n Snippet: value: IconStruct = driver.system.plugin.appStarter.icon.get() \n Defines an icon for the selected application to be displayed in the 'Application Starter' dialog box. \n :return: structure: for return value, see the help for IconStruct structure arguments."""returnself._core.io.query_struct(f'SYSTem:PLUGin:APPStarter:ICON?',self.__class__.IconStruct())