(self)
return win_rect.dump()
Get the coordinates of a window.
Get the coordinates of a window.
Get the coordinates of a window .
def rect(self):
        """Get the coordinates of a window."""
        win_rect = _RECT()
        ctypes.windll.user32.GetWindowRect(self.hwnd, ctypes.byref(win_rect))
        return win_rect.dump()
def rect ( self ) : win_rect = _RECT ( ) ctypes . windll . user32 . GetWindowRect ( self . hwnd , ctypes . byref ( win_rect ) ) return win_rect . dump ( )