Structure.this

Creates a new gstreamer.Structure with the given name. Structure fields are set according to the varargs in a manner similar to Structure.new.

See Structure.setName 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

Throws

ConstructionException GTK+ fails to create the object.