Gst.ValueArray

g Gst.ValueArray Gst.ValueArray

Subclasses:None

Methods

class append_and_take_value (value, append_value)
class append_value (value, append_value)
class get_size (value)
class get_value (value, index)
class init (value, prealloc)
class prepend_value (value, prepend_value)

Virtual Methods

None

Fields

None

Class Details

class Gst.ValueArray
Abstract:No

A fundamental type that describes an ordered list of GObject.Value

classmethod append_and_take_value(value, append_value)[source]
Parameters:

Appends append_value to the Gst.ValueArray in value.

New in version 1.2.

classmethod append_value(value, append_value)[source]
Parameters:

Appends append_value to the Gst.ValueArray in value.

classmethod get_size(value)[source]
Parameters:value (GObject.Value) – a GObject.Value of type #GST_TYPE_ARRAY
Returns:the number of values
Return type:int

Gets the number of values contained in value.

classmethod get_value(value, index)[source]
Parameters:
Returns:

the value at the given index

Return type:

GObject.Value

Gets the value that is a member of the array contained in value and has the index index.

classmethod init(value, prealloc)[source]
Parameters:
  • value (GObject.Value) – A zero-filled (uninitialized) GObject.Value structure
  • prealloc (int) – The number of entries to pre-allocate in the array
Returns:

The GObject.Value structure that has been passed in

Return type:

GObject.Value

Initializes and pre-allocates a GObject.Value of type #GST_VALUE_ARRAY.

New in version 1.18.

classmethod prepend_value(value, prepend_value)[source]
Parameters:

Prepends prepend_value to the Gst.ValueArray in value.