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

Class Window

pydevd_attach_to_process/winappdbg/window.py:69–753  ·  view source on GitHub ↗

Interface to an open window in the current desktop. @group Properties: get_handle, get_pid, get_tid, get_process, get_thread, set_process, set_thread, get_classname, get_style, get_extended_style, get_text, set_text, get_placement, set_placem

Source from the content-addressed store, hash-verified

67
68
69class Window(object):
70 """
71 Interface to an open window in the current desktop.
72
73 @group Properties:
74 get_handle, get_pid, get_tid,
75 get_process, get_thread,
76 set_process, set_thread,
77 get_classname, get_style, get_extended_style,
78 get_text, set_text,
79 get_placement, set_placement,
80 get_screen_rect, get_client_rect,
81 screen_to_client, client_to_screen
82
83 @group State:
84 is_valid, is_visible, is_enabled, is_maximized, is_minimized, is_child,
85 is_zoomed, is_iconic
86
87 @group Navigation:
88 get_parent, get_children, get_root, get_tree,
89 get_child_at
90
91 @group Instrumentation:
92 enable, disable, show, hide, maximize, minimize, restore, move, kill
93
94 @group Low-level access:
95 send, post
96
97 @type hWnd: int
98 @ivar hWnd: Window handle.
99
100 @type dwProcessId: int
101 @ivar dwProcessId: Global ID of the process that owns this window.
102
103 @type dwThreadId: int
104 @ivar dwThreadId: Global ID of the thread that owns this window.
105
106 @type process: L{Process}
107 @ivar process: Process that owns this window.
108 Use the L{get_process} method instead.
109
110 @type thread: L{Thread}
111 @ivar thread: Thread that owns this window.
112 Use the L{get_thread} method instead.
113
114 @type classname: str
115 @ivar classname: Window class name.
116
117 @type text: str
118 @ivar text: Window text (caption).
119
120 @type placement: L{win32.WindowPlacement}
121 @ivar placement: Window placement in the desktop.
122 """
123
124 def __init__(self, hWnd=None, process=None, thread=None):
125 """
126 @type hWnd: int or L{win32.HWND}

Callers 7

get_windowsMethod · 0.90
find_windowMethod · 0.90
get_window_atMethod · 0.90
get_foreground_windowMethod · 0.90
get_desktop_windowMethod · 0.90
get_shell_windowMethod · 0.90
__get_windowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected