MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / GetTabAtRight

Method GetTabAtRight

gui/chrome_tabs.py:1106–1110  ·  view source on GitHub ↗
(self, tab_index)

Source from the content-addressed store, hash-verified

1104 return self.tabs[tab_index - 1] if tab_index > 0 else None
1105
1106 def GetTabAtRight(self, tab_index):
1107 if tab_index < self.GetTabsCount() - 1:
1108 return self.tabs[tab_index + 1]
1109 else:
1110 return None
1111
1112 def SwitchTabs(self, src, dst, dragged_tab=None):
1113 self.tabs[src], self.tabs[dst] = self.tabs[dst], self.tabs[src]

Callers 1

OnMotionMethod · 0.95

Calls 1

GetTabsCountMethod · 0.95

Tested by

no test coverage detected