コード例 #1
0
 def widgets(self):
     '''called from skinshortcuts to retrieve listing of all widgetss'''
     log_msg("skinhelperservice plugin allwidgets function", xbmc.LOGWARNING)
     if sys.version_info.major == 3:
         from . import skinshortcuts
     else:
         import skinshortcuts
     skinshortcuts.get_widgets(self.params.get("path", ""), self.params.get("sublevel", ""))
コード例 #2
0
    def widgets(self):
        """called from skinshortcuts to retrieve listing of all widgetss"""
        import skinshortcuts

        skinshortcuts.get_widgets(self.params.get("path", ""), self.params.get("sublevel", ""))
コード例 #3
0
 def widgets(self):
     '''called from skinshortcuts to retrieve listing of all widgetss'''
     import skinshortcuts
     skinshortcuts.get_widgets(self.params.get("path", ""),
                               self.params.get("sublevel", ""))