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

Method HighlightRow

gui/builtinItemStatsViews/itemCompare.py:95–106  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

93 self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.HighlightRow)
94
95 def HighlightRow(self, event):
96 itemIdx = event.GetIndex()
97 name = self.paramList.GetItem(itemIdx).Text
98 if name in self.highlightedNames:
99 self.highlightedNames.remove(name)
100 else:
101 self.highlightedNames.append(name)
102 self.Freeze()
103 self.paramList.ClearAll()
104 self.PopulateList()
105 self.Thaw()
106 event.Skip()
107
108 def SortCompareCols(self, event):
109 self.Freeze()

Callers

nothing calls this directly

Calls 3

PopulateListMethod · 0.95
removeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected