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

Method __init__

gui/builtinViewColumns/baseIcon.py:17–23  ·  view source on GitHub ↗
(self, fittingView, params)

Source from the content-addressed store, hash-verified

15 name = "Base Icon"
16
17 def __init__(self, fittingView, params):
18 ViewColumn.__init__(self, fittingView)
19 self.size = 24
20 self.maxsize = self.size
21 self.mask = wx.LIST_MASK_IMAGE
22 self.columnText = ""
23 self.shipImage = fittingView.imageList.GetImageIndex("ship_small", "gui")
24
25 def getImageId(self, stuff):
26 if isinstance(stuff, BaseWrapper):

Callers

nothing calls this directly

Calls 1

GetImageIndexMethod · 0.80

Tested by

no test coverage detected