@see: L{get_root} @rtype: dict( L{Window} S{->} dict( ... ) ) @return: Dictionary of dictionaries forming a tree of child windows. @raise WindowsError: An error occured while processing this request.
(self)
| 443 | return [self.__get_window(hWnd) for hWnd in win32.EnumChildWindows(self.get_handle())] |
| 444 | |
| 445 | def get_tree(self): |
| 446 | """ |
| 447 | @see: L{get_root} |
| 448 | @rtype: dict( L{Window} S{->} dict( ... ) ) |
| 449 | @return: Dictionary of dictionaries forming a tree of child windows. |
| 450 | @raise WindowsError: An error occured while processing this request. |
| 451 | """ |
| 452 | subtree = dict() |
| 453 | for aWindow in self.get_children(): |
| 454 | subtree[aWindow] = aWindow.get_tree() |
| 455 | return subtree |
| 456 | |
| 457 | def get_root(self): |
| 458 | """ |
nothing calls this directly
no test coverage detected