Gst.ValueList¶
Subclasses: | None |
---|
Methods¶
class | append_and_take_value (value, append_value) |
class | append_value (value, append_value) |
class | concat (value1, value2) |
class | get_size (value) |
class | get_value (value, index) |
class | init (value, prealloc) |
class | merge (value1, value2) |
class | prepend_value (value, prepend_value) |
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_LIST - append_value (
GObject.Value
) – the value to append
Appends append_value to the
Gst.ValueList
in value.New in version 1.2.
- value (
-
classmethod
append_value
(value, append_value)[source]¶ Parameters: - value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_LIST - append_value (
GObject.Value
) – the value to append
Appends append_value to the
Gst.ValueList
in value.- 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 resultReturn 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.
- value1 (
-
classmethod
get_size
(value)[source]¶ Parameters: value ( GObject.Value
) – aGObject.Value
of type #GST_TYPE_LISTReturns: the number of values Return type: int
Gets the number of values contained in value.
-
classmethod
get_value
(value, index)[source]¶ Parameters: - value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_LIST - index (
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.
- value (
-
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 list
Returns: The
GObject.Value
structure that has been passed inReturn type: Initializes and pre-allocates a
GObject.Value
of type #GST_VALUE_LIST.New in version 1.18.
- value (
-
classmethod
merge
(value1, value2)[source]¶ Parameters: - value1 (
GObject.Value
) – aGObject.Value
- value2 (
GObject.Value
) – aGObject.Value
Returns: an uninitialized
GObject.Value
to take the resultReturn 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).
- value1 (
-
classmethod
prepend_value
(value, prepend_value)[source]¶ Parameters: - value (
GObject.Value
) – aGObject.Value
of type #GST_TYPE_LIST - prepend_value (
GObject.Value
) – the value to prepend
Prepends prepend_value to the
Gst.ValueList
in value.- value (
-
classmethod