(self, recurse=False)
Calls TakeOverOnlyChild for all groups in the main group.
Calls TakeOverOnlyChild for all groups in the main group.
Calls TakeOverOnlyChild for all groups in the main group .
def RootGroupsTakeOverOnlyChildren(self, recurse=False):
    """Calls TakeOverOnlyChild for all groups in the main group."""

    for group in self._properties['mainGroup']._properties['children']:
      if isinstance(group, PBXGroup):
        group.TakeOverOnlyChild(recurse)
def RootGroupsTakeOverOnlyChildren ( self , recurse = False ) : for group in self . _properties [ 'mainGroup' ] . _properties [ 'children' ] : if isinstance ( group , PBXGroup ) : group . TakeOverOnlyChild ( recurse )