Gjsify LogoGjsify Logo

A fundamental type that describes an unordered list of #GValue

Hierarchy

  • ValueList

Index

Constructors

Properties

name: string

Methods

  • append_and_take_value(value: any, append_value: any): void
  • Appends append_value to the GstValueList in value.

    Parameters

    • value: any

      a #GValue of type #GST_TYPE_LIST

    • append_value: any

      the value to append

    Returns void

  • append_value(value: any, append_value: any): void
  • Appends append_value to the GstValueList in value.

    Parameters

    • value: any

      a #GValue of type #GST_TYPE_LIST

    • append_value: any

      the value to append

    Returns void

  • concat(value1: any, value2: any): any
  • 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.

    Parameters

    • value1: any

      a #GValue

    • value2: any

      a #GValue

    Returns any

  • get_size(value: any): number
  • Gets the number of values contained in value.

    Parameters

    • value: any

      a #GValue of type #GST_TYPE_LIST

    Returns number

  • get_value(value: any, index: number): any
  • Gets the value that is a member of the list contained in value and has the index index.

    Parameters

    • value: any

      a #GValue of type #GST_TYPE_LIST

    • index: number

      index of value to get from the list

    Returns any

  • init(value: any, prealloc: number): any
  • Initializes and pre-allocates a #GValue of type #GST_TYPE_LIST.

    Parameters

    • value: any

      A zero-filled (uninitialized) #GValue structure

    • prealloc: number

      The number of entries to pre-allocate in the list

    Returns any

  • merge(value1: any, value2: any): any
  • 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).

    Parameters

    • value1: any

      a #GValue

    • value2: any

      a #GValue

    Returns any

  • prepend_value(value: any, prepend_value: any): void
  • Prepends prepend_value to the GstValueList in value.

    Parameters

    • value: any

      a #GValue of type #GST_TYPE_LIST

    • prepend_value: any

      the value to prepend

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method