class_docstr: The Table setting displays a table of values
class_docstr_tok: ["The","Table","setting","displays","a","table","of","values"]
docstr: Constructor
  
  text - text label to display to the left of the table
  min_size - initial size of the table before user stretches it
  max_field_size - any field with more than this # of characters will
                   be truncated using an ellipsis.
  use_sash - if True, place the table in the bottom resizable sash.
             if False, place the table inline
  corner_button - if defined, consists of keyword arguments for the corner
                  button mixin: dict(fn_clicked=<function>, label=<label>,
                  tooltip=<tooltip>)
docstr_tok: ["Constructor","text","-","text","label","to","display","to","the","left","of","the","table","min_size","-","initial","size","of","the","table","before","user","stretches","it","max_field_size","-","any","field","with","more","than","this","#","of","characters","will","be","truncated","using","an","ellipsis",".","use_sash","-","if","True",",","place","the","table","in","the","bottom","resizable","sash",".","if","False",",","place","the","table","inline","corner_button","-","if","defined",",","consists","of","keyword","arguments","for","the","corner","button","mixin",":","dict","(","fn_clicked=","<","function",">",",","label=","<","label",">",",","tooltip=","<","tooltip",">",")"]
code: def __init__(
      self,
      text,
      min_size=(400, 300),
      max_field_size=30,
      use_sash=False,
      corner_button=None,
      **kwargs,
  ):
      """Constructor
  
      text - text label to display to the left of the table
      min_size - initial size of the table before user stretches it
      max_field_size - any field with more than this # of characters will
                       be truncated using an ellipsis.
      use_sash - if True, place the table in the bottom resizable sash.
                 if False, place the table inline
      corner_button - if defined, consists of keyword arguments for the corner
                      button mixin: dict(fn_clicked=<function>, label=<label>,
                      tooltip=<tooltip>)
      """
      super(self.__class__, self).__init__(text, "", **kwargs)
      self.column_names = []
      self.data = []
      self.row_attributes = {}
      self.cell_attributes = {}
      self.min_size = min_size
      self.max_field_size = max_field_size
      self.use_sash = use_sash
      self.corner_button = corner_button
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/setting/_table.py
imports: import cellprofiler_core.utilities.legacy
  from ._setting import Setting
label_desc: Use image node_id 1 to create a new Table object from inherited base classes: Setting with example: obj = Table(text, min_size, max_field_size, use_sash, corner_button)