code: def runOnBtnOrChange_listOpts(a=5):
      return a
  
file_path: pyqtgraph/pyqtgraph/examples/InteractiveParameter.py
imports: from functools import wraps
  import pyqtgraph
  from pyqtgraph.Qt import QtWidgets
  from pyqtgraph.parametertree import Parameter, ParameterTree, RunOptions, InteractiveFunction, Interactor
label_desc: Use image node_id 8 for calling a global function with example usage: runOnBtnOrChange_listOpts(a) and returns: a