@see: L{get_children} @rtype: L{Window} or None @return: Parent window. Returns C{None} if the window has no parent. @raise WindowsError: An error occured while processing this request.
(self)
| 423 | # ------------------------------------------------------------------------------ |
| 424 | |
| 425 | def get_parent(self): |
| 426 | """ |
| 427 | @see: L{get_children} |
| 428 | @rtype: L{Window} or None |
| 429 | @return: Parent window. Returns C{None} if the window has no parent. |
| 430 | @raise WindowsError: An error occured while processing this request. |
| 431 | """ |
| 432 | hWnd = win32.GetParent(self.get_handle()) |
| 433 | if hWnd: |
| 434 | return self.__get_window(hWnd) |
| 435 | |
| 436 | def get_children(self): |
| 437 | """ |
nothing calls this directly
no test coverage detected