:right-sidebar: True ValueList =================================================================== .. currentmodule:: gi.repository.Gst .. class:: ValueList(*args, **kwargs) :no-contents-entry: :Constructors: :: ValueList(**properties) Methods ------- .. rst-class:: interim-class .. class:: ValueList :no-index: .. method:: append_and_take_value(value: ~typing.Any, append_value: ~typing.Any) -> None Appends ``append_value`` to the GstValueList in ``value``. .. versionadded:: 1.2 :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_LIST`` :param append_value: the value to append .. method:: append_value(value: ~typing.Any, append_value: ~typing.Any) -> None Appends ``append_value`` to the GstValueList in ``value``. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_LIST`` :param append_value: the value to append .. method:: concat(value1: ~typing.Any, value2: ~typing.Any) -> ~typing.Any Concatenates copies of ``value1`` and ``value2`` into a list. Values that are not of type ``GST_TYPE_LIST`` are treated as if they were lists of length 1. ``dest`` will be initialized to the type ``GST_TYPE_LIST``. :param value1: a :obj:`~gi.repository.GObject.Value` :param value2: a :obj:`~gi.repository.GObject.Value` .. method:: get_size(value: ~typing.Any) -> int Gets the number of values contained in ``value``. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_LIST`` .. method:: get_value(value: ~typing.Any, index: int) -> ~typing.Any Gets the value that is a member of the list contained in ``value`` and has the index ``index``. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_LIST`` :param index: index of value to get from the list .. method:: init(value: ~typing.Any, prealloc: int) -> ~typing.Any Initializes and pre-allocates a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_LIST``. .. versionadded:: 1.18 :param value: A zero-filled (uninitialized) :obj:`~gi.repository.GObject.Value` structure :param prealloc: The number of entries to pre-allocate in the list .. method:: merge(value1: ~typing.Any, value2: ~typing.Any) -> ~typing.Any Merges copies of ``value1`` and ``value2``. Values that are not of type ``GST_TYPE_LIST`` are treated as if they were lists of length 1. The result will be put into ``dest`` and will either be a list that will not contain any duplicates, or a non-list type (if ``value1`` and ``value2`` were equal). :param value1: a :obj:`~gi.repository.GObject.Value` :param value2: a :obj:`~gi.repository.GObject.Value` .. method:: prepend_value(value: ~typing.Any, prepend_value: ~typing.Any) -> None Prepends ``prepend_value`` to the GstValueList in ``value``. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_LIST`` :param prepend_value: the value to prepend