本文整理汇总了Python中pitivi.undo.undo.UndoableAction.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python UndoableAction.__init__方法的具体用法?Python UndoableAction.__init__怎么用?Python UndoableAction.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pitivi.undo.undo.UndoableAction
的用法示例。
在下文中一共展示了UndoableAction.__init__方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from pitivi.undo.undo import UndoableAction [as 别名]
# 或者: from pitivi.undo.undo.UndoableAction import __init__ [as 别名]
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__
# 需要导入模块: from pitivi.undo.undo import UndoableAction [as 别名]
# 或者: from pitivi.undo.undo.UndoableAction import __init__ [as 别名]
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__
# 需要导入模块: from pitivi.undo.undo import UndoableAction [as 别名]
# 或者: from pitivi.undo.undo.UndoableAction import __init__ [as 别名]
def __init__(self, asset, project, proxy_manager):
UndoableAction.__init__(self)
self.asset = asset
self.project = project
self.proxy_manager = proxy_manager
示例4: __init__
# 需要导入模块: from pitivi.undo.undo import UndoableAction [as 别名]
# 或者: from pitivi.undo.undo.UndoableAction import __init__ [as 别名]
def __init__(self, track_element, keyframe):
UndoableAction.__init__(self)
self.track_element = track_element
self.keyframe = keyframe
示例5: __init__
# 需要导入模块: from pitivi.undo.undo import UndoableAction [as 别名]
# 或者: from pitivi.undo.undo.UndoableAction import __init__ [as 别名]
def __init__(self, n):
UndoableAction.__init__(self)
self.n = n
示例6: __init__
# 需要导入模块: from pitivi.undo.undo import UndoableAction [as 别名]
# 或者: from pitivi.undo.undo.UndoableAction import __init__ [as 别名]
def __init__(self, medialibrary, uri, source):
UndoableAction.__init__(self)
self.medialibrary = medialibrary
self.uri = uri
self.source = source
示例7: __init__
# 需要导入模块: from pitivi.undo.undo import UndoableAction [as 别名]
# 或者: from pitivi.undo.undo.UndoableAction import __init__ [as 别名]
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"