MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / SetupImageList

Method SetupImageList

gui/builtinItemStatsViews/itemAttributes.py:189–195  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 self.stuff = event.new
188
189 def SetupImageList(self):
190 self.imageList.RemoveAll()
191
192 self.blank_icon = self.imageList.Add(BitmapLoader.getBitmap("transparent16x16", "gui"))
193 self.unknown_icon = self.imageList.Add(BitmapLoader.getBitmap("0", "icons"))
194
195 self.paramList.AssignImageList(self.imageList)
196
197 def AddAttribute(self, parent, attr):
198 display = None

Callers 1

PopulateListMethod · 0.95

Calls 1

getBitmapMethod · 0.45

Tested by

no test coverage detected