def _needs_update(self):
    if self._parent:
        self._parent._needs_update()
    if self._callback:
        self._callback()
def _needs_update(self):
    if self._parent:
        self._parent._needs_update()
    if self._callback:
        self._callback()