def __init__(self, hwnd): """Initializes attributes and sets up the window. """ self.hwnd = hwnd self.original_rect = window_api.get_window_rect(hwnd) self.setup_window()
def get_rect(self): return window_api.get_window_rect(self.hwnd)