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

Method populateSearch

gui/builtinViews/implantEditor.py:314–323  ·  view source on GitHub ↗
(self, itemIDs)

Source from the content-addressed store, hash-verified

312 sMkt.searchItems(search, self.populateSearch, 'implants')
313
314 def populateSearch(self, itemIDs):
315 if not self.IsShown():
316 self.parent.availableImplantsTree.Hide()
317 self.Show()
318 self.parent.Layout()
319 items = Market.getItems(itemIDs)
320 items = [i for i in items if i.group.name != 'Booster']
321 self.items = sorted(list(items), key=lambda i: i.name)
322
323 self.update(self.items)
324
325 def OnMouseMove(self, event):
326 event.Skip()

Callers

nothing calls this directly

Calls 4

HideMethod · 0.80
getItemsMethod · 0.80
ShowMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected