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

Method delayedText

gui/builtinViewColumns/price.py:73–82  ·  view source on GitHub ↗
(self, mod, display, colItem)

Source from the content-addressed store, hash-verified

71 return formatPrice(stuff, priceObj)
72
73 def delayedText(self, mod, display, colItem):
74 sPrice = ServicePrice.getInstance()
75
76 def callback(item):
77 priceObj = item[0]
78 colItem.SetText(formatPrice(mod, priceObj))
79
80 display.SetItem(colItem)
81
82 sPrice.getPrices([mod.item], callback, waitforthread=True)
83
84 def getImageId(self, mod):
85 return -1

Callers

nothing calls this directly

Calls 2

getPricesMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected