Creates a new pad with the given name from the given static template. If name is NULL, a guaranteed unique name (across all pads) will be assigned. This function makes a copy of the name so you can safely free the name.


templ StaticPadTemplate
name string

the name of the pad

Return Value


ConstructionException GTK+ fails to create the object.