The component that contains this component, if it exists.
(self)
| 160 | |
| 161 | @property |
| 162 | def parent(self) -> Optional['Component']: |
| 163 | """ |
| 164 | The component that contains this component, if it exists. |
| 165 | """ |
| 166 | bn_component = core.BNComponentGetParent(self.handle) |
| 167 | if bn_component is not None: |
| 168 | return Component(bn_component) |
| 169 | return None |
| 170 | |
| 171 | @property |
| 172 | def view(self): |
no test coverage detected