.. Automatically generated file - do not modify.

.. function:: SetDict(dict, key, value)
    
    Causes the value of `key` in `dict` to be set to `value`.

.. function:: SetField(object, field, value)
    
    Causes the a field on an object to be set to a given value.
    `object` is the object, `field` is a string giving the name of the
    field to set, and `value` is the value to set it to.

.. function:: SetScreenVariable(name, value)
    
    Causes the variable `name` associated with the current screen to
    be set to `value`.

.. function:: SetVariable(variable, value)
    
    Causes `variable` to be set to `value`.

.. function:: ToggleDict(dict, key, true_value=None, false_value=None)
    
    Toggles the value of `key` in `dict`. Toggling means to invert the
    value when the action is performed.
    
    `true_value`
        If not None, then this is the true value we use.
    `false_value`
        If not None, then this is the false value we use.

.. function:: ToggleField(object, field, true_value=None, false_value=None)
    
    Toggles `field` on `object`. Toggling means to invert the boolean
    value of that field when the action is performed.
    
    `true_value`
        If not None, then this is the true value we use.
    `false_value`
        If not None, then this is the false value we use.

.. function:: ToggleScreenVariable(name, true_value=None, false_value=None)
    
    Toggles the value of the variable `name` in the current screen.
    
    `true_value`
        If not None, then this is the true value we use.
    `false_value`
        If not None, then this is the false value we use.

.. function:: ToggleVariable(variable, true_value=None, false_value=None)
    
    Toggles `variable`.
    
    `true_value`
        If not None, then this is the true value we use.
    `false_value`
        If not None, then this is the false value we use.

