:right-sidebar: True ValueArray =================================================================== .. currentmodule:: gi.repository.Gst .. class:: ValueArray(*args, **kwargs) :no-contents-entry: :Constructors: :: ValueArray(**properties) Methods ------- .. rst-class:: interim-class .. class:: ValueArray :no-index: .. method:: append_and_take_value(value: ~typing.Any, append_value: ~typing.Any) -> None Appends ``append_value`` to the GstValueArray in ``value``. .. versionadded:: 1.2 :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_ARRAY`` :param append_value: the value to append .. method:: append_value(value: ~typing.Any, append_value: ~typing.Any) -> None Appends ``append_value`` to the GstValueArray in ``value``. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_ARRAY`` :param append_value: the value to append .. 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_ARRAY`` .. method:: get_value(value: ~typing.Any, index: int) -> ~typing.Any Gets the value that is a member of the array contained in ``value`` and has the index ``index``. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_ARRAY`` :param index: index of value to get from the array .. method:: init(value: ~typing.Any, prealloc: int) -> ~typing.Any Initializes and pre-allocates a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_ARRAY``. .. 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 array .. method:: prepend_value(value: ~typing.Any, prepend_value: ~typing.Any) -> None Prepends ``prepend_value`` to the GstValueArray in ``value``. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_ARRAY`` :param prepend_value: the value to prepend