class_docstr: A dialog for "selecting" items on a tree by checking them
class_docstr_tok: ["A","dialog","for","``","selecting","''","items","on","a","tree","by","checking","them"]
docstr: Set the "parent_reflects_child" flag
  
  If you uncheck all of a parent's children, maybe that means
  that the parent should be unchecked too. But imagine the case
  where the user is checking and unchecking subdirectories. Perhaps
  they want the files in the parent, but not in the child. Set this
  to False to make the parent state be "None" if all children are False.
  This drives the parent to None instead of False, indicating that
  files should be picked up from the currenet directory, but not kids.
docstr_tok: ["Set","the","``","parent_reflects_child","''","flag","If","you","uncheck","all","of","a","parent","'s","children",",","maybe","that","means","that","the","parent","should","be","unchecked","too",".","But","imagine","the","case","where","the","user","is","checking","and","unchecking","subdirectories",".","Perhaps","they","want","the","files","in","the","parent",",","but","not","in","the","child",".","Set","this","to","False","to","make","the","parent","state","be","``","None","''","if","all","children","are","False",".","This","drives","the","parent","to","None","instead","of","False",",","indicating","that","files","should","be","picked","up","from","the","currenet","directory",",","but","not","kids","."]
code: def set_parent_reflects_child(self, value):
      """Set the "parent_reflects_child" flag
  
      If you uncheck all of a parent's children, maybe that means
      that the parent should be unchecked too. But imagine the case
      where the user is checking and unchecking subdirectories. Perhaps
      they want the files in the parent, but not in the child. Set this
      to False to make the parent state be "None" if all children are False.
      This drives the parent to None instead of False, indicating that
      files should be picked up from the currenet directory, but not kids.
      """
      self.parent_reflects_child = value
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/_tree_checkbox_dialog.py
imports: import wx
label_desc: Use image node_id 2 for calling the TreeCheckboxDialog obj's underlying member method code with example usage: obj.set_parent_reflects_child(value) without return types