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

Method SetSelected

gui/chrome_tabs.py:961–966  ·  view source on GitHub ↗

Set tab as selected given its index

(self, tabIndex)

Source from the content-addressed store, hash-verified

959 return None
960
961 def SetSelected(self, tabIndex):
962 """Set tab as selected given its index"""
963 old_sel_tab = self.GetSelectedTab()
964 old_sel_tab.SetSelected(False)
965 self.tabs[tabIndex].SetSelected(True)
966 self.Refresh()
967
968 def CheckTabSelected(self, tab, x, y):
969 """

Callers

nothing calls this directly

Calls 3

GetSelectedTabMethod · 0.95
SetSelectedMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected