Get the window's client area coordinates in the desktop. @rtype: L{win32.Rect} @return: Rectangle occupied by the window's client area in the desktop. @raise WindowsError: An error occured while processing this request.
(self)
| 351 | return win32.GetWindowRect(self.get_handle()) |
| 352 | |
| 353 | def get_client_rect(self): |
| 354 | """ |
| 355 | Get the window's client area coordinates in the desktop. |
| 356 | |
| 357 | @rtype: L{win32.Rect} |
| 358 | @return: Rectangle occupied by the window's client area in the desktop. |
| 359 | |
| 360 | @raise WindowsError: An error occured while processing this request. |
| 361 | """ |
| 362 | cr = win32.GetClientRect(self.get_handle()) |
| 363 | cr.left, cr.top = self.client_to_screen(cr.left, cr.top) |
| 364 | cr.right, cr.bottom = self.client_to_screen(cr.right, cr.bottom) |
| 365 | return cr |
| 366 | |
| 367 | # XXX TODO |
| 368 | # * properties x, y, width, height |
nothing calls this directly
no test coverage detected