MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / get_tree

Method get_tree

pydevd_attach_to_process/winappdbg/window.py:445–455  ·  view source on GitHub ↗

@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)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 1

get_childrenMethod · 0.95

Tested by

no test coverage detected