PadTemplate.this

Creates a new pad template with a name according to the given template and with the given arguments.

  1. this(GstPadTemplate* gstPadTemplate, bool ownedRef)
  2. this(string nameTemplate, GstPadDirection direction, GstPadPresence presence, Caps caps)

Parameters

nameTemplate string

the name template.

direction GstPadDirection

the #GstPadDirection of the template.

presence GstPadPresence

the #GstPadPresence of the pad.

caps Caps

a #GstCaps set for the template.

Return: a new #GstPadTemplate.

Throws

ConstructionException GTK+ fails to create the object.

Meta