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

Method isValid

gui/utils/inputs.py:84–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

82 self.SetForegroundColour(wx.RED)
83
84 def isValid(self):
85 if self._validator is None:
86 return True
87 return self._validator.validate(self.GetValue())
88
89 def getInvalidationReason(self):
90 if self._validator is None:

Callers 4

updateColorMethod · 0.95
fetchPricesMethod · 0.45
validateFieldsMethod · 0.45
getTextMethod · 0.45

Calls 2

validateMethod · 0.45
GetValueMethod · 0.45

Tested by

no test coverage detected