Gst.ValueArray¶
- Subclasses:
None
Methods¶
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
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:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_ARRAYappend_value (
GObject.Value
) – the value to append
Appends append_value to the
Gst.ValueArray
in value.New in version 1.2.
- classmethod append_value(value, append_value)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_ARRAYappend_value (
GObject.Value
) – the value to append
Appends append_value to the
Gst.ValueArray
in value.
- classmethod get_size(value)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_ARRAY- Returns:
the number of values
- Return type:
Gets the number of values contained in value.
- classmethod get_value(value, index)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_ARRAYindex (
int
) – index of value to get from the array
- Returns:
the value at the given index
- Return type:
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
structureprealloc (
int
) – The number of entries to pre-allocate in the array
- Returns:
The
GObject.Value
structure that has been passed in- Return type:
Initializes and pre-allocates a
GObject.Value
of type #GST_TYPE_ARRAY.New in version 1.18.
- classmethod prepend_value(value, prepend_value)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_ARRAYprepend_value (
GObject.Value
) – the value to prepend
Prepends prepend_value to the
Gst.ValueArray
in value.