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

Method toggleOptions

gui/copySelectDialog.py:172–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

170 self.Fit()
171
172 def toggleOptions(self):
173 for formatId in self.options:
174 for checkbox in self.options[formatId].values():
175 checkbox.Enable(self.GetSelected() == formatId)
176
177 def GetSelected(self):
178 return self.copyFormat

Callers 2

__init__Method · 0.95
SelectedMethod · 0.95

Calls 2

GetSelectedMethod · 0.95
valuesMethod · 0.80

Tested by

no test coverage detected