ValueUniqueList#

Added in version 1.28.

class ValueUniqueList(*args, **kwargs)#

A fundamental type that describes a set of Value

Methods#

class ValueUniqueList
classmethod append_and_take_value(value: Value, append_value: Value) None#

Appends append_value to the GstValueUniqueList in value.

Added in version 1.28.

Parameters:
  • value – a Value of type GST_TYPE_UNIQUE_LIST

  • append_value – the value to append

classmethod append_value(value: Value, append_value: Value) None#

Appends append_value to the GstValueUniqueList in value.

Added in version 1.28.

Parameters:
  • value – a Value of type GST_TYPE_UNIQUE_LIST

  • append_value – the value to append

classmethod concat(value1: Value, value2: Value) Value#

Concatenates copies of value1 and value2 into a set. Values that are not of type GST_TYPE_UNIQUE_LIST are treated as if they were sets of length 1. dest will be initialized to the type GST_TYPE_UNIQUE_LIST.

Added in version 1.28.

Parameters:
classmethod get_size(value: Value) int#

Gets the number of values contained in value.

Added in version 1.28.

Parameters:

value – a Value of type GST_TYPE_UNIQUE_LIST

classmethod get_value(value: Value, index: int) Value#

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

Added in version 1.28.

Parameters:
  • value – a Value of type GST_TYPE_UNIQUE_LIST

  • index – index of value to get from the set

classmethod prepend_value(value: Value, prepend_value: Value) None#

Prepends prepend_value to the GstValueUniqueList in value.

Added in version 1.28.

Parameters:
  • value – a Value of type GST_TYPE_UNIQUE_LIST

  • prepend_value – the value to prepend