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

Method GetSelected

gui/chrome_tabs.py:955–959  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

953 return None
954
955 def GetSelected(self):
956 for tab in self.tabs:
957 if tab.GetSelected():
958 return self.tabs.index(tab)
959 return None
960
961 def SetSelected(self, tabIndex):
962 """Set tab as selected given its index"""

Callers 2

OnMiddleUpMethod · 0.95
CheckTabCloseMethod · 0.95

Calls 1

GetSelectedMethod · 0.45

Tested by

no test coverage detected