def init_for_kf_editor(self, editable_property): self.editor_type = KEYFRAME_EDITOR kfs_switcher = KeyframesToggler(self) self.kfeditor = keyframeeditor.KeyFrameEditor(editable_property, True, kfs_switcher) self.vbox.pack_start(self.kfeditor, False, False, 0)
def _get_keyframe_editor_release(editable_property): editor = keyframeeditor.KeyFrameEditor(editable_property) editor.connect_to_update_on_release() return editor
def _get_keyframe_editor_clip(editable_property): return keyframeeditor.KeyFrameEditor(editable_property, False)