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

Method __init__

gui/builtinViewColumns/attributeDisplayGraph.py:40–45  ·  view source on GitHub ↗
(self, fittingView, iconID, formatSpec=(3, 0, 3))

Source from the content-addressed store, hash-verified

38 stickPrefixToValue = False
39
40 def __init__(self, fittingView, iconID, formatSpec=(3, 0, 3)):
41 ViewColumn.__init__(self, fittingView)
42 self.imageId = fittingView.imageList.GetImageIndex(iconID, 'icons')
43 self.bitmap = BitmapLoader.getBitmap(iconID, 'icons')
44 self.mask = wx.LIST_MASK_TEXT
45 self.formatSpec = formatSpec
46
47 @abstractmethod
48 def _getValue(self, fit):

Callers

nothing calls this directly

Calls 3

GetImageIndexMethod · 0.80
__init__Method · 0.45
getBitmapMethod · 0.45

Tested by

no test coverage detected