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

Method get_parent

pydevd_attach_to_process/winappdbg/window.py:425–434  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

get_handleMethod · 0.95
__get_windowMethod · 0.95

Tested by

no test coverage detected