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

Method GetPageIndex

gui/chrome_tabs.py:174–175  ·  view source on GitHub ↗
(self, page)

Source from the content-addressed store, hash-verified

172 return self._active_page
173
174 def GetPageIndex(self, page):
175 return self._pages.index(page) if page in self._pages else None
176
177 def GetSelection(self):
178 return self.GetPageIndex(self._active_page)

Callers 5

GetSelectionMethod · 0.95
DisablePageMethod · 0.95
handleDragMethod · 0.80
fitRemovedMethod · 0.80
updateTabMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected