We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c75f2a6 commit d03964dCopy full SHA for d03964d
src/pymodaq_plugins_template/app/custom_app_template.py
@@ -78,8 +78,21 @@ def setup_menu(self):
78
#todo create and populate menu using actions defined above in self.setup_actions
79
pass
80
81
-
82
+ def value_changed(self, param):
+ """ Actions to perform when one of the param's value in self.settings is changed from the
83
+ user interface
84
+
85
+ For instance:
86
+ if param.name() == 'do_something':
87
+ if param.value():
88
+ print('Do something')
89
+ self.settings.child('main_settings', 'something_done').setValue(False)
90
91
+ Parameters
92
+ ----------
93
+ param: (Parameter) the parameter whose value just changed
94
+ """
95
+ pass
96
97
98
def main():
0 commit comments