:right-sidebar: True ValueArray =================================================================== .. currentmodule:: gi.repository.Gst .. class:: ValueArray(*args, **kwargs) :no-contents-entry: A fundamental type that describes an ordered list of :obj:`~gi.repository.GObject.Value` Methods ------- .. rst-class:: interim-class .. class:: ValueArray :no-index: .. classmethod:: append_and_take_value(value: ~gi.repository.GObject.Value, append_value: ~gi.repository.GObject.Value) -> 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 .. classmethod:: append_value(value: ~gi.repository.GObject.Value, append_value: ~gi.repository.GObject.Value) -> 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 .. classmethod:: get_size(value: ~gi.repository.GObject.Value) -> int Gets the number of values contained in ``value``\. :param value: a :obj:`~gi.repository.GObject.Value` of type ``GST_TYPE_ARRAY`` .. classmethod:: get_value(value: ~gi.repository.GObject.Value, index: int) -> ~gi.repository.GObject.Value 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 .. classmethod:: init(value: ~gi.repository.GObject.Value, prealloc: int) -> ~gi.repository.GObject.Value 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 .. classmethod:: prepend_value(value: ~gi.repository.GObject.Value, prepend_value: ~gi.repository.GObject.Value) -> 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