def _add_callbacks(self):
    'Establish callbacks'
    self.keyframesListControlWidget.deleteButton.clicked.connect(self._delete_keyframe_callback)
    self.keyframesListControlWidget.captureButton.clicked.connect(self._capture_keyframe_callback)
    self.saveButton.clicked.connect(self._save_callback)
    self.animationsliderWidget.valueChanged.connect(self._move_animationslider_callback)
    self.viewer.events.theme.connect((lambda e: self.keyframesListWidget._update_theme(e.value)))
Establish callbacks
def _add_callbacks(self):
    
    self.keyframesListControlWidget.deleteButton.clicked.connect(self._delete_keyframe_callback)
    self.keyframesListControlWidget.captureButton.clicked.connect(self._capture_keyframe_callback)
    self.saveButton.clicked.connect(self._save_callback)
    self.animationsliderWidget.valueChanged.connect(self._move_animationslider_callback)
    self.viewer.events.theme.connect((lambda e: self.keyframesListWidget._update_theme(e.value)))