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

Method get_screen_rect

pydevd_attach_to_process/winappdbg/window.py:342–351  ·  view source on GitHub ↗

Get the window coordinates in the desktop. @rtype: L{win32.Rect} @return: Rectangle occupied by the window in the desktop. @raise WindowsError: An error occured while processing this request.

(self)

Source from the content-addressed store, hash-verified

340 win32.SetWindowPlacement(self.get_handle(), placement)
341
342 def get_screen_rect(self):
343 """
344 Get the window coordinates in the desktop.
345
346 @rtype: L{win32.Rect}
347 @return: Rectangle occupied by the window in the desktop.
348
349 @raise WindowsError: An error occured while processing this request.
350 """
351 return win32.GetWindowRect(self.get_handle())
352
353 def get_client_rect(self):
354 """

Callers 1

moveMethod · 0.95

Calls 1

get_handleMethod · 0.95

Tested by

no test coverage detected