class_docstr: A row of controls and a data item
code: def __init__(self, workspace_view, color, can_delete):
      self.workspace_view = workspace_view
      panel = workspace_view.panel
      self.chooser = wx.Choice(panel)
      self.color_ctrl = wx.lib.colourselect.ColourSelect(
          panel, colour=color
      )
      self.show_check = wx.CheckBox(panel)
      bitmap = wx.ArtProvider.GetBitmap(
          wx.ART_DELETE, wx.ART_TOOLBAR, (16, 16)
      )
      self.remove_button = wx.BitmapButton(panel, bitmap=bitmap)
      if not can_delete:
          self.remove_button.Hide()
      self.chooser.Bind(wx.EVT_CHOICE, self.on_choice)
      self.color_ctrl.Bind(
          wx.lib.colourselect.EVT_COLOURSELECT, self.on_color_change
      )
      self.show_check.Bind(wx.EVT_CHECKBOX, self.on_check_change)
      self.update_chooser(first=True)
      self.last_mode = None
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/workspace_view/_workspace_view_row.py
imports: import wx
  import wx.lib.colourselect
  from ..artist import MODE_HIDE
label_desc: Use image node_id 1 to create a new WorkspaceViewRow object  with example: obj = WorkspaceViewRow(workspace_view, color, can_delete)