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

Method loadIconFile

gui/builtinViewColumns/baseIcon.py:52–56  ·  view source on GitHub ↗
(self, iconFile)

Source from the content-addressed store, hash-verified

50 return self.loadIconFile(item.iconID)
51
52 def loadIconFile(self, iconFile):
53 if iconFile:
54 return self.fittingView.imageList.GetImageIndex(iconFile, "icons")
55 else:
56 return -1
57
58
59BaseIcon.register()

Callers 1

getImageIdMethod · 0.95

Calls 1

GetImageIndexMethod · 0.80

Tested by

no test coverage detected