本文整理汇总了Python中pitivi.undo.undo.UndoableAction类的典型用法代码示例。如果您正苦于以下问题:Python UndoableAction类的具体用法?Python UndoableAction怎么用?Python UndoableAction使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了UndoableAction类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, track_element,
control_source, keyframe, property_name):
UndoableAction.__init__(self)
self.control_source = control_source
self.keyframe = keyframe
self.property_name = property_name
self.track_element = track_element
示例2: __init__
def __init__(self, clip, effect, properties_watcher):
UndoableAction.__init__(self)
self.clip = clip
self.effect = effect
self.asset = effect.get_asset()
self.effect_props = []
self.gnl_obj_props = []
self._properties_watcher = properties_watcher
self._props_changed = []
示例3: __init__
def __init__(self, asset, project, proxy_manager):
UndoableAction.__init__(self)
self.asset = asset
self.project = project
self.proxy_manager = proxy_manager
示例4: __init__
def __init__(self, track_element, keyframe):
UndoableAction.__init__(self)
self.track_element = track_element
self.keyframe = keyframe
示例5: __init__
def __init__(self, n):
UndoableAction.__init__(self)
self.n = n
示例6: __init__
def __init__(self, medialibrary, uri, source):
UndoableAction.__init__(self)
self.medialibrary = medialibrary
self.uri = uri
self.source = source
示例7: __init__
def __init__(self, track_element, binding):
UndoableAction.__init__(self)
self.track_element = track_element
self.control_source = binding.props.control_source
self.property_name = binding.props.name
self.binding_type = "direct-absolute" if binding.props.absolute else "direct"