Mark the nodes as having been updated.
(self)
| 72 | return widget in self._nodes |
| 73 | |
| 74 | def updated(self) -> None: |
| 75 | """Mark the nodes as having been updated.""" |
| 76 | self._updates += 1 |
| 77 | node = None if self._parent is None else self._parent() |
| 78 | while node is not None and (node := node._parent) is not None: |
| 79 | node._nodes._updates += 1 |
| 80 | |
| 81 | def _sort( |
| 82 | self, |