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

Method selectChar

gui/characterSelection.py:203–212  ·  view source on GitHub ↗
(self, charID)

Source from the content-addressed store, hash-verified

201 self.btnRefresh.Enable(False)
202
203 def selectChar(self, charID):
204 choice = self.charChoice
205 numItems = len(choice.GetItems())
206 for i in range(numItems):
207 id_ = choice.GetClientData(i)
208 if id_ == charID:
209 choice.SetSelection(i)
210 return True
211
212 return False
213
214 def fitChanged(self, event):
215 """

Callers 2

refreshCharacterListMethod · 0.95
fitChangedMethod · 0.95

Calls 1

SetSelectionMethod · 0.80

Tested by

no test coverage detected