class_get_pad_template


Description:

public class unowned PadTemplate? class_get_pad_template (string name)

Retrieves a padtemplate from this with the given name.

> If you use this function in the GInstanceInitFunc of an object class > that has subclasses, make sure to pass the g_class parameter of the > GInstanceInitFunc here.

Parameters:

this

a Element to get the pad template of.

name

the name of the PadTemplate to get.

Returns:

the PadTemplate with the given name, or null if none was found. No unreferencing is necessary.