Exemplo n.º 1
0
    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()
Exemplo n.º 2
0
 def get_rect(self):
     return window_api.get_window_rect(self.hwnd)