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

Method set_placement

pydevd_attach_to_process/winappdbg/window.py:329–340  ·  view source on GitHub ↗

Set the window placement in the desktop. @see: L{get_placement} @type placement: L{win32.WindowPlacement} @param placement: Window placement in the desktop. @raise WindowsError: An error occured while processing this request.

(self, placement)

Source from the content-addressed store, hash-verified

327 return win32.GetWindowPlacement(self.get_handle())
328
329 def set_placement(self, placement):
330 """
331 Set the window placement in the desktop.
332
333 @see: L{get_placement}
334
335 @type placement: L{win32.WindowPlacement}
336 @param placement: Window placement in the desktop.
337
338 @raise WindowsError: An error occured while processing this request.
339 """
340 win32.SetWindowPlacement(self.get_handle(), placement)
341
342 def get_screen_rect(self):
343 """

Callers

nothing calls this directly

Calls 1

get_handleMethod · 0.95

Tested by

no test coverage detected