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

Method updateExtraText

gui/additionsPane.py:127–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 self.updateExtraText()
126
127 def updateExtraText(self):
128 refresh = False
129 for i in range(self.notebook.GetPageCount()):
130 page = self.notebook.GetPage(i)
131 if hasattr(page, 'getTabExtraText'):
132 refresh = True
133 self.notebook.SetPageTitleExtra(i, page.getTabExtraText() or '', refresh=False)
134 if refresh:
135 self.notebook.tabs_container.AdjustTabsSize()
136 self.notebook.Refresh()

Callers 2

OnFitChangedMethod · 0.95
OnNotesChangedMethod · 0.95

Calls 6

GetPageCountMethod · 0.80
GetPageMethod · 0.80
SetPageTitleExtraMethod · 0.80
AdjustTabsSizeMethod · 0.80
getTabExtraTextMethod · 0.45
RefreshMethod · 0.45

Tested by

no test coverage detected