= class Gst::PadTemplate
Describe the media type of a Gst::Pad.

== Object Hierarchy
* Object
  * GLib::Instantiatable
    * GLib::Object
      * Gst::Object
        * Gst::PadTemplate

== Instance Methods
--- caps
    Gets the capabilities of the pad template element.
    * Returns: an array of Gst::Caps objects.

--- direction
    This method returns the pad's direction (see ((<GstPadDirection|Gst::Pad#GstPadDirection>))).
    * Returns: the pad's direction (see ((<GstPadDirection|Gst::Pad#GstPadDirection>))).

--- each_caps { |caps| ... }
    Calls the block for each capability of the pad template, 
    passing a reference to the Gst::Caps object as parameter.
    * Returns: always nil.

--- has_caps?
    This method returns true if the pad template has capabilities, false otherwise.
    * Returns: true if the pad template has capabilities, false otherwise.

--- name
    Gets the name of the pad template.
    This overrides Gst::Object#name.
    * Returns: the name of the pad template.

--- presence
    This method returns the pad's presence (see ((<GstPadPresence|Gst::Pad#GstPadPresence>))).
    * Returns: the pad's presence (see ((<GstPadPresence|Gst::Pad#GstPadPresence>))).

== Constants
=== GstPadTemplateFlags
--- FIXED
--- FLAG_LAST

== Signals
--- pad-created

== See Also
((<Gst>)).

- ((<lrz>))
