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

Method SetPageIcon

gui/chrome_tabs.py:319–324  ·  view source on GitHub ↗
(self, i, icon, refresh=True)

Source from the content-addressed store, hash-verified

317 self.Refresh()
318
319 def SetPageIcon(self, i, icon, refresh=True):
320 tab = self.tabs_container.tabs[i]
321 tab.tab_img = icon
322 if refresh:
323 self.tabs_container.AdjustTabsSize()
324 self.Refresh()
325
326 def SetPageTextIcon(self, i, text=wx.EmptyString, icon=None):
327 self.SetPageTitle(i, text, False)

Callers 1

SetPageTextIconMethod · 0.95

Calls 2

RefreshMethod · 0.95
AdjustTabsSizeMethod · 0.80

Tested by

no test coverage detected