Gst.ValueList¶
- Subclasses:
None
Methods¶
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
class |
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gst.ValueList¶
- Abstract:
No
A fundamental type that describes an unordered list of
GObject.Value
- classmethod append_and_take_value(value, append_value)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_LISTappend_value (
GObject.Value
) – the value to append
Appends append_value to the
Gst.ValueList
in value.New in version 1.2.
- classmethod append_value(value, append_value)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_LISTappend_value (
GObject.Value
) – the value to append
Appends append_value to the
Gst.ValueList
in value.
- classmethod concat(value1, value2)[source]¶
- Parameters:
value1 (
GObject.Value
) – aGObject.Value
value2 (
GObject.Value
) – aGObject.Value
- Returns:
an uninitialized
GObject.Value
to take the result- Return type:
dest:
GObject.Value
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.
- classmethod get_size(value)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_LIST- 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_LISTindex (
int
) – index of value to get from the list
- Returns:
the value at the given index
- Return type:
Gets the value that is a member of the list 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 list
- Returns:
The
GObject.Value
structure that has been passed in- Return type:
Initializes and pre-allocates a
GObject.Value
of type #GST_TYPE_LIST.New in version 1.18.
- classmethod merge(value1, value2)[source]¶
- Parameters:
value1 (
GObject.Value
) – aGObject.Value
value2 (
GObject.Value
) – aGObject.Value
- Returns:
an uninitialized
GObject.Value
to take the result- Return type:
dest:
GObject.Value
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).
- classmethod prepend_value(value, prepend_value)[source]¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_LISTprepend_value (
GObject.Value
) – the value to prepend
Prepends prepend_value to the
Gst.ValueList
in value.