OpenShot Video Editor
2.0.0
|
A data structure representing a single update manager action, including any necessary data to reverse the action. More...
Public Member Functions | |
def | __init__ (self, type=None, key=[], values=None, partial_update=False) |
def | json (self, is_array=False, only_value=False) |
Get the JSON string representing this UpdateAction. More... | |
def | load_json (self, value) |
Load this UpdateAction from a JSON string. More... | |
def | set_old_values (self, old_vals) |
Public Attributes | |
key | |
old_values | |
partial_update | |
type | |
values | |
A data structure representing a single update manager action, including any necessary data to reverse the action.
Definition at line 62 of file updates.py.
def updates.UpdateAction.__init__ | ( | self, | |
type = None , |
|||
key = [] , |
|||
values = None , |
|||
partial_update = False |
|||
) |
Definition at line 64 of file updates.py.
def updates.UpdateAction.json | ( | self, | |
is_array = False , |
|||
only_value = False |
|||
) |
Get the JSON string representing this UpdateAction.
Definition at line 76 of file updates.py.
def updates.UpdateAction.load_json | ( | self, | |
value | |||
) |
Load this UpdateAction from a JSON string.
Definition at line 99 of file updates.py.
def updates.UpdateAction.set_old_values | ( | self, | |
old_vals | |||
) |
Definition at line 71 of file updates.py.
updates.UpdateAction.key |
Definition at line 66 of file updates.py.
updates.UpdateAction.old_values |
Definition at line 68 of file updates.py.
updates.UpdateAction.partial_update |
Definition at line 69 of file updates.py.
updates.UpdateAction.type |
Definition at line 65 of file updates.py.
updates.UpdateAction.values |
Definition at line 67 of file updates.py.