Closed annie-xd-wang closed 4 months ago
Register a custom event in a controller or plugin_controller in the following way:
@property def custom_events(self): return { "autofocus": self.display_plot }
Send data back in a feature to the controller:
self.model.event_queue.put(("autofocus", [fit_data, True, False]))
You can read model/features/autofocus.py and controller/sub_controllers/autofocus.py as an example.
Register a custom event in a controller or plugin_controller in the following way:
Send data back in a feature to the controller:
You can read model/features/autofocus.py and controller/sub_controllers/autofocus.py as an example.