class_docstr: Wraps a :class:`GroupParameterItem` to manage function parameters created by
  an interactor. Provies a button widget which mimics an ``action`` parameter.
class_docstr_tok: ["Wraps","a",":","class",":","`","GroupParameterItem","`","to","manage","function","parameters","created","by","an","interactor",".","Provies","a","button","widget","which","mimics","an","``","action","``","parameter","."]
code: def __init__(self, param, depth):
      self.itemWidget = QtWidgets.QWidget()
      self.button = ParameterControlledButton(parent=self.itemWidget)
      self.button.clicked.connect(param.activate)
  
      self.itemWidget.setLayout(layout := QtWidgets.QHBoxLayout())
      layout.setContentsMargins(0, 0, 0, 0)
      layout.addWidget(self.button)
  
      super().__init__(param, depth)
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/actiongroup.py
imports: import warnings
  from ...Qt import QtCore
  from .action import ParameterControlledButton
  from .basetypes import GroupParameter, GroupParameterItem
  from ..ParameterItem import ParameterItem
  from ...Qt import QtCore, QtWidgets
label_desc: Use image node_id 1 to create a new ActionGroupParameterItem object from inherited base classes: GroupParameterItem with example: obj = ActionGroupParameterItem(param, depth)