Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(32) | Call(32) | Derive(0) | Import(0)
src/x/b/xbmc-addon-tvtumbler-HEAD/tvtumbler/gui/shows.py xbmc-addon-tvtumbler(Download)
def onAction(self, action): logger.debug("ACTION: " + str(action.getId()) + " FOCUS: " + str(self.getFocusId()) + " BC: " + str(action.getButtonCode())) if action == ACTION_CONTEXT_MENU: self.doMenu() elif action == ACTION_SELECT_ITEM: if self.getFocusId() == 205: # follow/ignore button self.toggleFollow() elif self.getFocusId() == 120: # select a line on the list itself
elif self.getFocusId() == 120: # select a line on the list itself self.toggleFollow() elif self.getFocusId() == 200: self.add_show() elif self.getFocusId() == 201:
src/x/b/xbmc-addon-tvtumbler-HEAD/tvtumbler/gui/downloads.py xbmc-addon-tvtumbler(Download)
def onAction(self, action): logger.debug("ACTION: " + str(action.getId()) + " FOCUS: " + str(self.getFocusId()) + " BC: " + str(action.getButtonCode())) if action == ACTION_CONTEXT_MENU: self.doMenu() elif action == ACTION_SELECT_ITEM: if self.getFocusId() == 205: # follow/ignore button # self.toggleFollow() pass elif self.getFocusId() == 120: # select a line on the list itself
# self.toggleFollow() pass elif self.getFocusId() == 200: # self.add_show() pass elif self.getFocusId() == 201:
src/x/b/xbmc-addon-tvtumbler-HEAD/tvtumbler/gui/calendar.py xbmc-addon-tvtumbler(Download)
def onAction(self, action): logger.debug("ACTION: " + str(action.getId()) + " FOCUS: " + str(self.getFocusId()) + " BC: " + str(action.getButtonCode())) if action == ACTION_CONTEXT_MENU: self.doMenu() elif action in (ACTION_SELECT_ITEM, ACTION_MOUSE_LEFT_CLICK): if self.getFocusId() == 200: # Shows self.open_shows() elif self.getFocusId() == 201: # Calendar
elif self.getFocusId() == 201: # Calendar self.open_calender() elif self.getFocusId() == 202: # Downloads self.open_downloads() elif self.getFocusId() == 203: # status
src/x/b/xbmc-addon-tvtumbler-HEAD/tvtumbler/gui/main.py xbmc-addon-tvtumbler(Download)
def onAction(self, action): logger.debug("ACTION: " + str(action.getId()) + " FOCUS: " + str(self.getFocusId()) + " BC: " + str(action.getButtonCode())) if action == ACTION_CONTEXT_MENU: self.doMenu() elif action in (ACTION_SELECT_ITEM, ACTION_MOUSE_LEFT_CLICK): if self.getFocusId() == 200: # Shows self.open_shows() elif self.getFocusId() == 201: # Calendar
elif self.getFocusId() == 201: # Calendar self.open_calender() elif self.getFocusId() == 202: # Downloads self.open_downloads() elif self.getFocusId() == 203: # status