ruby-****@sourc*****
ruby-****@sourc*****
2004年 3月 2日 (火) 05:50:53 JST
------------------------- REMOTE_ADDR = 217.117.55.140 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/?Gst%3A%3APadTemplate ------------------------- = class Gst::PadTemplate Describe the media type of a Gst::Pad. == Object Hierarchy - * ((<Gst::Object>)) + * Object + * GLib::Instantiatable + * GLib::Object + * Gst::Object + * Gst::PadTemplate - == Instance Methods - --- caps - Gets the capabilities of the pad template element, - in an array of Gst::Caps object. + --- caps + Gets the capabilities of the pad template element. + * Returns: an array of Gst::Caps objects. - --- direction - Gets direction, which can be: - - * Gst::Pad::DIRECTION_SRC; - * Gst::Pad::DIRECTION_SINK; - * Gst::Pad::DIRECTION_UNKNOWN. + --- 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 { |aCapsObject| block } + --- each_caps { |caps| ... } Calls the block for each capability of the pad template, passing a reference to the Gst::Caps object as parameter. - - Always returns nil. + * Returns: always nil. - --- has_caps? - Checks if the pad template has capabilities. + --- 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, as a String. + --- name + Gets the name of the pad template. This overrides Gst::Object#name. + * Returns: the name of the pad template. - --- presence - Gets presence, which can be: - - * Gst::Pad::PRESENCE_ALWAYS; - * Gst::Pad::PRESENCE_SOMETIMES; - * Gst::Pad::PRESENCE_REQUEST. + --- presence + This method returns the pad's presence (see ((<GstPadPresence|Gst::Pad#GstPadPresence>))). + * Returns: the pad's presence (see ((<GstPadPresence|Gst::Pad#GstPadPresence>))). - - - == Signals - --- pad-created + == See Also + ((<Gst>)). - ((<lrz>))