GhostPad.this

Create a new ghostpad without a target with the given direction. A target can be set on the ghostpad later with the gst_ghost_pad_set_target() function.

The created ghostpad will not have a padtemplate.

Parameters

name string

the name of the new pad, or %NULL to assign a default name.

dir GstPadDirection

the direction of the ghostpad

Return: a new #GstPad, or %NULL in case of an error.

Throws

ConstructionException GTK+ fails to create the object.

Meta