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

Method getLastItem

gui/display.py:167–176  ·  view source on GitHub ↗
(self, state=wx.LIST_STATE_DONTCARE)

Source from the content-addressed store, hash-verified

165 colItem.resized = True
166
167 def getLastItem(self, state=wx.LIST_STATE_DONTCARE):
168 lastFound = -1
169 while True:
170 index = self.GetNextItem(lastFound, wx.LIST_NEXT_ALL, state)
171 if index == -1:
172 break
173 else:
174 lastFound = index
175
176 return lastFound
177
178 def unselectAll(self):
179 sel = self.GetFirstSelected()

Callers 1

populateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected