artview.components.LayoutComponent.addWidget

LayoutComponent.addWidget(widget, *args, **kwargs)[source]

Add widget to the layout and to a list that keeps track of it there is no way to revert this, once added the widget shall not be removed, and when this component is closed all added widgets are closed as well.