Structure.this

Creates a new #GstStructure with the given @name. Structure fields are set according to the varargs in a manner similar to gst_structure_new().

See gst_structure_set_name() for constraints on the @name parameter.

Free-function: gst_structure_free

  1. this(GstStructure* gstStructure, bool ownedRef)
  2. this(string name)
  3. this(GQuark quark)
  4. this(string name, string firstfield, void* varargs)
    class Structure
    this
    (
    string name
    ,
    string firstfield
    ,
    void* varargs
    )

Parameters

name string

name of new structure

firstfield string

name of first field to set

varargs void*

variable argument list

Return Value

a new #GstStructure

Throws

ConstructionException GTK+ fails to create the object.

Meta