code: def childState(self, obj):
      if isinstance(obj, Dock):
          return ("dock", obj.name(), {})
      else:
          childs = []
          for i in range(obj.count()):
              childs.append(self.childState(obj.widget(i)))
          return (obj.type(), childs, obj.saveState())
  
imports: import weakref
  from ..Qt import QtWidgets
  from .Container import Container, HContainer, TContainer, VContainer
  from .Dock import Dock
  from .DockDrop import DockDrop
label_desc: Use image node_id 15 for calling the DockArea obj's underlying member method code with example usage: obj.childState(obj) and returns: str,  obj,  dict, obj,  childs,  obj