(self)
| 14 | def get_updated_area(self) -> tuple[int, int, int, int]: |
| 15 | """Return the last known model area and queue a refresh on the GTK thread.""" |
| 16 | GLib.idle_add(self._update_area) |
| 17 | return self.puppet.model_x, self.puppet.model_y, self.puppet.model_width, self.puppet.model_height |
| 18 | |
| 19 | def _update_area(self) -> bool: |
| 20 | self.puppet.update_area() |
| 21 | return GLib.SOURCE_REMOVE |
no test coverage detected