code: def addNew(self, typ):
      val = {"str": "", "float": 0.0, "int": 0}[typ]
      self.addChild(
          dict(
              name="ScalableParam %d" % (len(self.childs) + 1),
              type=typ,
              value=val,
              removable=True,
              renamable=True,
          )
      )
  
file_path: pyqtgraph/pyqtgraph/examples/parametertree.py
imports: from _buildParamTypes import makeAllParamTypes
  import pyqtgraph
  from pyqtgraph.Qt import QtWidgets
  import pyqtgraph.parametertree.parameterTypes
  from pyqtgraph.parametertree import Parameter, ParameterTree
label_desc: Use image node_id 2 for calling the ScalableGroup obj's underlying member method code with example usage: obj.addNew(typ) without return types