create_with_component#

classmethod ComponentGroup.create_with_component(layout, name, comp_name)#

Create a component group with a component.

Parameters:
layoutLayout

Layout to create the component group in.

namestr

Name of the component group.

comp_namestr

Name of the ComponentDef instance that the component group refers to.

Returns:
ComponentGroup

Component group created.