-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGst.Bin.get_by_interface.html
44 lines (44 loc) · 2.59 KB
/
Gst.Bin.get_by_interface.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Gst.Bin.prototype.get_by_interface</title>
<link rel="stylesheet" type="text/css" href="C.css">
<script type="text/javascript" src="jquery.js"></script><script type="text/javascript" src="jquery.syntax.js"></script><script type="text/javascript" src="yelp.js"></script>
</head>
<body><div class="page" role="main">
<div class="header"><div class="trails" role="navigation"><div class="trail">
<a class="trail" href="index.html" title="Index">Index</a> » <a class="trail" href="Gst.Bin.html" title="Gst.Bin">Gst.Bin</a> » </div></div></div>
<div class="body">
<div class="hgroup"><h1 class="title"><span class="title">Gst.Bin.prototype.get_by_interface</span></h1></div>
<div class="region">
<div class="contents">
<div class="synopsis"><div class="inner"><div class="region"><div class="contents"><div class="code"><pre class="contents ">function get_by_interface(iface:GType):Gst.Element {
// Gjs wrapper for gst_bin_get_by_interface()
}</pre></div></div></div></div></div>
<p class="p">Looks for an element inside the bin that implements the given
interface. If such an element is found, it returns the element.
You can cast this element to the given interface afterwards. If you want
all elements that implement the interface, use
<span class=" link"><a href="Gst.iterate_all_by_interface.html" title="Gst.iterate_all_by_interface">Gst.iterate_all_by_interface</a></span>. This function recurses into child bins.</p>
<p class="p">MT safe. Caller owns returned reference.</p>
<div class="terms"><div class="inner"><div class="region"><dl class="terms">
<dt class="terms"><span class=" code">iface</span></dt>
<dd class="terms"><p class="p">the <span class=" link"><a href="GLib.Type.html" title="GLib.Type">GLib.Type</a></span> of an interface</p></dd>
<dt class="terms"><span class=" code">Returns</span></dt>
<dd class="terms"><p class="p">A <span class=" link"><a href="Gst.Element.html" title="Gst.Element">Gst.Element</a></span> inside the bin implementing the interface</p></dd>
</dl></div></div></div>
</div>
<div class="sect sect-links" role="navigation">
<div class="hgroup"></div>
<div class="contents"><div class="links guidelinks"><div class="inner">
<div class="title"><h2><span class="title">More Information</span></h2></div>
<div class="region"><ul><li class="links "><a href="Gst.Bin.html" title="Gst.Bin">Gst.Bin</a></li></ul></div>
</div></div></div>
</div>
</div>
<div class="clear"></div>
</div>
<div class="footer"></div>
</div></body>
</html>