Get the parent folder of this folder :return: Folder that contains this folder, or None if it is a root folder
(self)
| 279 | |
| 280 | @property |
| 281 | def parent(self) -> Optional['ProjectFolder']: |
| 282 | """ |
| 283 | Get the parent folder of this folder |
| 284 | |
| 285 | :return: Folder that contains this folder, or None if it is a root folder |
| 286 | """ |
| 287 | folder_handle = core.BNProjectFolderGetParent(self._handle) |
| 288 | if folder_handle is None: |
| 289 | return None |
| 290 | return ProjectFolder(handle=folder_handle) |
| 291 | |
| 292 | @parent.setter |
| 293 | def parent(self, new_parent: Optional['ProjectFolder']) -> bool: |
nothing calls this directly
no test coverage detected