class_docstr: Returns a slice from a 1-D array. Connect the 'widget' output to a plot to display a region-selection widget.
class_docstr_tok: ["Returns","a","slice","from","a","1-D","array",".","Connect","the","'widget","'","output","to","a","plot","to","display","a","region-selection","widget","."]
code: def displayToggled(self, b):
      for item in self.items.values():
          item.setVisible(b)
  
imports: import numpy
  from ...graphicsItems.LinearRegionItem import LinearRegionItem
  from ...Qt import QtCore, QtWidgets
  from ...widgets.TreeWidget import TreeWidget
  from ..Node import Node
  from .None import functions
  from .common import CtrlNode
label_desc: Use image node_id 2 for calling the RegionSelectNode obj's underlying member method code with example usage: obj.displayToggled(b) without return types