示例#1
0
 def help(self):
     """
     Open help of the selected module or a2 help
     """
     if self.main.mod is None:
         a2util.surf_to(self.a2.urls.help)
     else:
         self.main.mod.help()
示例#2
0
 def help(self):
     """
     Open help of the selected module or a2 help
     """
     if self.main.mod is None:
         a2util.surf_to(self.a2.urls.help)
     else:
         self.main.mod.help()
示例#3
0
文件: common.py 项目: cassinibk/a2
 def help(self):
     a2util.surf_to(self.helpUrl)
示例#4
0
文件: a2mod.py 项目: ewerybody/a2
 def help(self):
     try:
         a2util.surf_to(self.config[0].get('url'))
     except Exception as error:
         log.error('Error calling help() on module: %s\n:%s' % (self.name, error))
示例#5
0
 def goto_help(self):
     a2util.surf_to(self.help_map[self.sender().text()])
示例#6
0
 def on_help_action(self):
     text = self.sender().text()
     print('text: %s' % text)
     print('self.a2.urls.help: %s' % self.a2.urls.help)
     a2util.surf_to(self.a2.urls.help)
示例#7
0
 def help(self):
     try:
         a2util.surf_to(self.config[0].get('url'))
     except Exception as error:
         log.error('Error calling help() on module: %s\n:%s' %
                   (self.name, error))
示例#8
0
 def surf_to_help(self):
     label = self.sender().text()
     url = self.help_map[label]
     a2util.surf_to(url)
示例#9
0
 def goto_help(self):
     a2util.surf_to(self.a2.urls.wiki + HOTKEY_HELP_PAGE)
示例#10
0
文件: a2ui.py 项目: ewerybody/a2
 def on_help_action(self):
     text = self.sender().text()
     print('text: %s' % text)
     print('self.a2.urls.help: %s' % self.a2.urls.help)
     a2util.surf_to(self.a2.urls.help)
示例#11
0
 def goto_help(self):
     a2util.surf_to(self.help_map[self.sender().text()])
示例#12
0
文件: hotkey.py 项目: ewerybody/a2
 def help(self):
     a2util.surf_to(self.helpUrl)