docstr: Inform the item that its selection state has changed. 
  ============== =========================================================
  **Arguments:**
  sel            (bool) whether the item is currently selected
  multi          (bool) whether there are multiple items currently 
                 selected
  ============== =========================================================
docstr_tok: ["Inform","the","item","that","its","selection","state","has","changed",".","==============","=========================================================","*","*","Arguments",":","*","*","sel","(","bool",")","whether","the","item","is","currently","selected","multi","(","bool",")","whether","there","are","multiple","items","currently","selected","==============","========================================================="]
code: def selectionChanged(self, sel, multi):
      """
      Inform the item that its selection state has changed.
      ============== =========================================================
      **Arguments:**
      sel            (bool) whether the item is currently selected
      multi          (bool) whether there are multiple items currently
                     selected
      ============== =========================================================
      """
      self.selectedAlone = sel and not multi
      self.showSelectBox()
      if self.selectedAlone:
          self.ctrlWidget().show()
      else:
          self.ctrlWidget().hide()
  
imports: import importlib
  from ..None import ItemGroup, SRTTransform, debug
  from ..None import functions
  from ..graphicsItems.ROI import ROI
  from ..Qt import QT_LIB, QtCore, QtWidgets
  from .None import TransformGuiTemplate_generic
label_desc: Use image node_id 38 for calling the CanvasItem obj's underlying member method code with example usage: obj.selectionChanged(sel, multi) without return types