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

Method callback

gui/builtinViewColumns/price.py:76–80  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

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

Callers 3

do_GETMethod · 0.80
handleProgressMethod · 0.80
DoCallbackMethod · 0.80

Calls 1

formatPriceFunction · 0.85

Tested by

no test coverage detected