Table of Contents

Class: IAttachable ./src/peak/binding/interfaces.py

Object that can be told it has a parent component

Base Classes   
Interface
Methods   
setParentComponent
  setParentComponent 
setParentComponent (
        parentComponent,
        componentName=None,
        suggest=False,
        )

Set the object's parent to parentComponent (or suggest it)

If suggest is true, this should not change an already-specified parent. If suggest is false, and the current parent has already been used by the component for any purpose, this method should raise an AlreadyRead exception.

The component's componentName will only be set if the parent is successfully set.


Table of Contents

This document was automatically generated on Mon Jan 20 01:11:03 2025 by HappyDoc version 2.1