class_docstr: Container for measurement controls
class_docstr_tok: ["Container","for","measurement","controls"]
code: def __get_selected_choice(control):
      assert isinstance(control, wx.Choice)
      if not control.IsShown():
          return None
      selection = control.GetSelection()
      if selection == wx.NOT_FOUND:
          return None
      return control.GetItems()[selection]
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/workspace_view/_workspace_view_measurement_row.py
imports: import wx
  import wx.lib
  import wx.lib.colourselect
  from ..constants.workspace_view import C_CHOOSER
  from ..constants.workspace_view import C_COLOR
  from ..constants.workspace_view import C_SHOW
label_desc: Use image node_id 4 for calling the WorkspaceViewMeasurementRow obj's underlying member method code with example usage: obj.__get_selected_choice(control) and returns: control, None, None