MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / parameters_changed

Method parameters_changed

pyxrf/model/parameters.py:313–319  ·  view source on GitHub ↗

Run callback functions in the list. This method is expected to be called after the parameters are update to initiate necessary updates in the GUI.

(self)

Source from the content-addressed store, hash-verified

311 self.parameters_changed_cb = [_ for _ in self.parameters_changed_cb if _ != cb]
312
313 def parameters_changed(self):
314 """
315 Run callback functions in the list. This method is expected to be called after the parameters
316 are update to initiate necessary updates in the GUI.
317 """
318 for cb in self.parameters_changed_cb:
319 cb()
320
321 def default_param_update(self, default_parameters):
322 """

Callers 2

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected