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

Method __init__

pydevd_attach_to_process/winappdbg/window.py:124–139  ·  view source on GitHub ↗

@type hWnd: int or L{win32.HWND} @param hWnd: Window handle. @type process: L{Process} @param process: (Optional) Process that owns this window. @type thread: L{Thread} @param thread: (Optional) Thread that owns this window.

(self, hWnd=None, process=None, thread=None)

Source from the content-addressed store, hash-verified

122 """
123
124 def __init__(self, hWnd=None, process=None, thread=None):
125 """
126 @type hWnd: int or L{win32.HWND}
127 @param hWnd: Window handle.
128
129 @type process: L{Process}
130 @param process: (Optional) Process that owns this window.
131
132 @type thread: L{Thread}
133 @param thread: (Optional) Thread that owns this window.
134 """
135 self.hWnd = hWnd
136 self.dwProcessId = None
137 self.dwThreadId = None
138 self.set_process(process)
139 self.set_thread(thread)
140
141 @property
142 def _as_parameter_(self):

Callers

nothing calls this directly

Calls 2

set_processMethod · 0.95
set_threadMethod · 0.95

Tested by

no test coverage detected