• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>GstGLWindow: GStreamer Base Plugins 1.0 Library Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8<link rel="up" href="gl.html" title="OpenGL Integration Library">
9<link rel="prev" href="GstGLViewConvert.html" title="GstGLViewConvert">
10<link rel="next" href="gst-plugins-base-libs-OpenGL-debugging.html" title="OpenGL debugging">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#GstGLWindow.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#GstGLWindow.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals">  <span class="dim">|</span20                  <a href="#GstGLWindow.signals" class="shortcut">Signals</a></span>
21</td>
22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24<td><a accesskey="p" href="GstGLViewConvert.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25<td><a accesskey="n" href="gst-plugins-base-libs-OpenGL-debugging.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26</tr></table>
27<div class="refentry">
28<a name="GstGLWindow"></a><div class="titlepage"></div>
29<div class="refnamediv"><table width="100%"><tr>
30<td valign="top">
31<h2><span class="refentrytitle"><a name="GstGLWindow.top_of_page"></a>GstGLWindow</span></h2>
32<p>GstGLWindow — window/surface abstraction</p>
33</td>
34<td class="gallery_image" valign="top" align="right"></td>
35</tr></table></div>
36<div class="refsect1">
37<a name="GstGLWindow.functions"></a><h2>Functions</h2>
38<div class="informaltable"><table class="informaltable" width="100%" border="0">
39<colgroup>
40<col width="150px" class="functions_return">
41<col class="functions_name">
42</colgroup>
43<tbody>
44<tr>
45<td class="function_type">
46<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
47</td>
48<td class="function_name">
49<a class="link" href="GstGLWindow.html#gst-gl-window-error-quark" title="gst_gl_window_error_quark ()">gst_gl_window_error_quark</a> <span class="c_punctuation">()</span>
50</td>
51</tr>
52<tr>
53<td class="function_type">
54<span class="returnvalue">void</span>
55</td>
56<td class="function_name">
57<span class="c_punctuation">(</span><a class="link" href="GstGLWindow.html#GstGLWindowResizeCB" title="GstGLWindowResizeCB ()">*GstGLWindowResizeCB</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
58</td>
59</tr>
60<tr>
61<td class="define_keyword">#define</td>
62<td class="function_name">
63<a class="link" href="GstGLWindow.html#GST-GL-WINDOW-RESIZE-CB:CAPS" title="GST_GL_WINDOW_RESIZE_CB()">GST_GL_WINDOW_RESIZE_CB</a><span class="c_punctuation">()</span>
64</td>
65</tr>
66<tr>
67<td class="function_type">
68<span class="returnvalue">void</span>
69</td>
70<td class="function_name">
71<span class="c_punctuation">(</span><a class="link" href="GstGLWindow.html#GstGLWindowCB" title="GstGLWindowCB ()">*GstGLWindowCB</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
72</td>
73</tr>
74<tr>
75<td class="define_keyword">#define</td>
76<td class="function_name">
77<a class="link" href="GstGLWindow.html#GST-GL-WINDOW-CB:CAPS" title="GST_GL_WINDOW_CB()">GST_GL_WINDOW_CB</a><span class="c_punctuation">()</span>
78</td>
79</tr>
80<tr>
81<td class="function_type">
82<a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="returnvalue">GstGLWindow</span></a> *
83</td>
84<td class="function_name">
85<a class="link" href="GstGLWindow.html#gst-gl-window-new" title="gst_gl_window_new ()">gst_gl_window_new</a> <span class="c_punctuation">()</span>
86</td>
87</tr>
88<tr>
89<td class="function_type">
90<span class="returnvalue">void</span>
91</td>
92<td class="function_name">
93<a class="link" href="GstGLWindow.html#gst-gl-window-draw" title="gst_gl_window_draw ()">gst_gl_window_draw</a> <span class="c_punctuation">()</span>
94</td>
95</tr>
96<tr>
97<td class="function_type">
98<span class="returnvalue">void</span>
99</td>
100<td class="function_name">
101<a class="link" href="GstGLWindow.html#gst-gl-window-quit" title="gst_gl_window_quit ()">gst_gl_window_quit</a> <span class="c_punctuation">()</span>
102</td>
103</tr>
104<tr>
105<td class="function_type">
106<span class="returnvalue">void</span>
107</td>
108<td class="function_name">
109<a class="link" href="GstGLWindow.html#gst-gl-window-run" title="gst_gl_window_run ()">gst_gl_window_run</a> <span class="c_punctuation">()</span>
110</td>
111</tr>
112<tr>
113<td class="function_type">
114<a class="link" href="GstGLContext.html" title="GstGLContext"><span class="returnvalue">GstGLContext</span></a> *
115</td>
116<td class="function_name">
117<a class="link" href="GstGLWindow.html#gst-gl-window-get-context" title="gst_gl_window_get_context ()">gst_gl_window_get_context</a> <span class="c_punctuation">()</span>
118</td>
119</tr>
120<tr>
121<td class="function_type">
122<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="returnvalue">guintptr</span></a>
123</td>
124<td class="function_name">
125<a class="link" href="GstGLWindow.html#gst-gl-window-get-display" title="gst_gl_window_get_display ()">gst_gl_window_get_display</a> <span class="c_punctuation">()</span>
126</td>
127</tr>
128<tr>
129<td class="function_type">
130<span class="returnvalue">void</span>
131</td>
132<td class="function_name">
133<a class="link" href="GstGLWindow.html#gst-gl-window-send-message" title="gst_gl_window_send_message ()">gst_gl_window_send_message</a> <span class="c_punctuation">()</span>
134</td>
135</tr>
136<tr>
137<td class="function_type">
138<span class="returnvalue">void</span>
139</td>
140<td class="function_name">
141<a class="link" href="GstGLWindow.html#gst-gl-window-send-message-async" title="gst_gl_window_send_message_async ()">gst_gl_window_send_message_async</a> <span class="c_punctuation">()</span>
142</td>
143</tr>
144<tr>
145<td class="function_type">
146<span class="returnvalue">void</span>
147</td>
148<td class="function_name">
149<a class="link" href="GstGLWindow.html#gst-gl-window-set-close-callback" title="gst_gl_window_set_close_callback ()">gst_gl_window_set_close_callback</a> <span class="c_punctuation">()</span>
150</td>
151</tr>
152<tr>
153<td class="function_type">
154<span class="returnvalue">void</span>
155</td>
156<td class="function_name">
157<a class="link" href="GstGLWindow.html#gst-gl-window-set-draw-callback" title="gst_gl_window_set_draw_callback ()">gst_gl_window_set_draw_callback</a> <span class="c_punctuation">()</span>
158</td>
159</tr>
160<tr>
161<td class="function_type">
162<span class="returnvalue">void</span>
163</td>
164<td class="function_name">
165<a class="link" href="GstGLWindow.html#gst-gl-window-set-resize-callback" title="gst_gl_window_set_resize_callback ()">gst_gl_window_set_resize_callback</a> <span class="c_punctuation">()</span>
166</td>
167</tr>
168<tr>
169<td class="function_type">
170<span class="returnvalue">void</span>
171</td>
172<td class="function_name">
173<a class="link" href="GstGLWindow.html#gst-gl-window-set-window-handle" title="gst_gl_window_set_window_handle ()">gst_gl_window_set_window_handle</a> <span class="c_punctuation">()</span>
174</td>
175</tr>
176<tr>
177<td class="function_type">
178<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="returnvalue">guintptr</span></a>
179</td>
180<td class="function_name">
181<a class="link" href="GstGLWindow.html#gst-gl-window-get-window-handle" title="gst_gl_window_get_window_handle ()">gst_gl_window_get_window_handle</a> <span class="c_punctuation">()</span>
182</td>
183</tr>
184<tr>
185<td class="function_type">
186<span class="returnvalue">void</span>
187</td>
188<td class="function_name">
189<a class="link" href="GstGLWindow.html#gst-gl-window-set-preferred-size" title="gst_gl_window_set_preferred_size ()">gst_gl_window_set_preferred_size</a> <span class="c_punctuation">()</span>
190</td>
191</tr>
192<tr>
193<td class="function_type">
194<span class="returnvalue">void</span>
195</td>
196<td class="function_name">
197<a class="link" href="GstGLWindow.html#gst-gl-window-show" title="gst_gl_window_show ()">gst_gl_window_show</a> <span class="c_punctuation">()</span>
198</td>
199</tr>
200<tr>
201<td class="function_type">
202<span class="returnvalue">void</span>
203</td>
204<td class="function_name">
205<a class="link" href="GstGLWindow.html#gst-gl-window-get-surface-dimensions" title="gst_gl_window_get_surface_dimensions ()">gst_gl_window_get_surface_dimensions</a> <span class="c_punctuation">()</span>
206</td>
207</tr>
208<tr>
209<td class="function_type">
210<span class="returnvalue">void</span>
211</td>
212<td class="function_name">
213<a class="link" href="GstGLWindow.html#gst-gl-window-handle-events" title="gst_gl_window_handle_events ()">gst_gl_window_handle_events</a> <span class="c_punctuation">()</span>
214</td>
215</tr>
216<tr>
217<td class="function_type">
218<span class="returnvalue">void</span>
219</td>
220<td class="function_name">
221<a class="link" href="GstGLWindow.html#gst-gl-window-queue-resize" title="gst_gl_window_queue_resize ()">gst_gl_window_queue_resize</a> <span class="c_punctuation">()</span>
222</td>
223</tr>
224<tr>
225<td class="function_type">
226<span class="returnvalue">void</span>
227</td>
228<td class="function_name">
229<a class="link" href="GstGLWindow.html#gst-gl-window-resize" title="gst_gl_window_resize ()">gst_gl_window_resize</a> <span class="c_punctuation">()</span>
230</td>
231</tr>
232<tr>
233<td class="function_type">
234<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
235</td>
236<td class="function_name">
237<a class="link" href="GstGLWindow.html#gst-gl-window-set-render-rectangle" title="gst_gl_window_set_render_rectangle ()">gst_gl_window_set_render_rectangle</a> <span class="c_punctuation">()</span>
238</td>
239</tr>
240</tbody>
241</table></div>
242</div>
243<div class="refsect1">
244<a name="GstGLWindow.signals"></a><h2>Signals</h2>
245<div class="informaltable"><table class="informaltable" border="0">
246<colgroup>
247<col width="150px" class="signals_return">
248<col width="300px" class="signals_name">
249<col width="200px" class="signals_flags">
250</colgroup>
251<tbody>
252<tr>
253<td class="signal_type"><span class="returnvalue">void</span></td>
254<td class="signal_name"><a class="link" href="GstGLWindow.html#GstGLWindow-key-event" title="The “key-event” signal">key-event</a></td>
255<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
256</tr>
257<tr>
258<td class="signal_type"><span class="returnvalue">void</span></td>
259<td class="signal_name"><a class="link" href="GstGLWindow.html#GstGLWindow-mouse-event" title="The “mouse-event” signal">mouse-event</a></td>
260<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
261</tr>
262</tbody>
263</table></div>
264</div>
265<div class="refsect1">
266<a name="GstGLWindow.other"></a><h2>Types and Values</h2>
267<div class="informaltable"><table class="informaltable" width="100%" border="0">
268<colgroup>
269<col width="150px" class="name">
270<col class="description">
271</colgroup>
272<tbody>
273<tr>
274<td class="datatype_keyword">enum</td>
275<td class="function_name"><a class="link" href="GstGLWindow.html#GstGLWindowError" title="enum GstGLWindowError">GstGLWindowError</a></td>
276</tr>
277<tr>
278<td class="define_keyword">#define</td>
279<td class="function_name"><a class="link" href="GstGLWindow.html#GST-GL-WINDOW-ERROR:CAPS" title="GST_GL_WINDOW_ERROR">GST_GL_WINDOW_ERROR</a></td>
280</tr>
281<tr>
282<td class="datatype_keyword"> </td>
283<td class="function_name"><a class="link" href="GstGLWindow.html#GstGLWindow-struct" title="GstGLWindow">GstGLWindow</a></td>
284</tr>
285<tr>
286<td class="datatype_keyword"> </td>
287<td class="function_name"><a class="link" href="GstGLWindow.html#GstGLWindowClass" title="GstGLWindowClass">GstGLWindowClass</a></td>
288</tr>
289</tbody>
290</table></div>
291</div>
292<div class="refsect1">
293<a name="GstGLWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
294<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
295    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
296        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
297            <span class="lineart">╰──</span> GstGLWindow
298</pre>
299</div>
300<div class="refsect1">
301<a name="GstGLWindow.includes"></a><h2>Includes</h2>
302<pre class="synopsis">#include &lt;gst/gl/gl.h&gt;
303</pre>
304</div>
305<div class="refsect1">
306<a name="GstGLWindow.description"></a><h2>Description</h2>
307<p>GstGLWindow represents a window that elements can render into.  A window can
308either be a user visible window (onscreen) or hidden (offscreen).</p>
309</div>
310<div class="refsect1">
311<a name="GstGLWindow.functions_details"></a><h2>Functions</h2>
312<div class="refsect2">
313<a name="gst-gl-window-error-quark"></a><h3>gst_gl_window_error_quark ()</h3>
314<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
315gst_gl_window_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
316</div>
317<hr>
318<div class="refsect2">
319<a name="GstGLWindowResizeCB"></a><h3>GstGLWindowResizeCB ()</h3>
320<pre class="programlisting"><span class="returnvalue">void</span>
321<span class="c_punctuation">(</span>*GstGLWindowResizeCB<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
322                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
323                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
324</div>
325<hr>
326<div class="refsect2">
327<a name="GST-GL-WINDOW-RESIZE-CB:CAPS"></a><h3>GST_GL_WINDOW_RESIZE_CB()</h3>
328<pre class="programlisting">#define GST_GL_WINDOW_RESIZE_CB(f)		 ((GstGLWindowResizeCB) (f))
329</pre>
330<p>Cast to the currect function type for window resize callbacks</p>
331<div class="refsect3">
332<a name="GST-GL-WINDOW-RESIZE-CB.parameters"></a><h4>Parameters</h4>
333<div class="informaltable"><table class="informaltable" width="100%" border="0">
334<colgroup>
335<col width="150px" class="parameters_name">
336<col class="parameters_description">
337<col width="200px" class="parameters_annotations">
338</colgroup>
339<tbody><tr>
340<td class="parameter_name"><p>f</p></td>
341<td class="parameter_description"><p>the function to cast</p></td>
342<td class="parameter_annotations"> </td>
343</tr></tbody>
344</table></div>
345</div>
346</div>
347<hr>
348<div class="refsect2">
349<a name="GstGLWindowCB"></a><h3>GstGLWindowCB ()</h3>
350<pre class="programlisting"><span class="returnvalue">void</span>
351<span class="c_punctuation">(</span>*GstGLWindowCB<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
352</div>
353<hr>
354<div class="refsect2">
355<a name="GST-GL-WINDOW-CB:CAPS"></a><h3>GST_GL_WINDOW_CB()</h3>
356<pre class="programlisting">#define GST_GL_WINDOW_CB(f)			 ((GstGLWindowCB) (f))
357</pre>
358<p>Cast to the currect function type for generic window callbacks</p>
359<div class="refsect3">
360<a name="GST-GL-WINDOW-CB.parameters"></a><h4>Parameters</h4>
361<div class="informaltable"><table class="informaltable" width="100%" border="0">
362<colgroup>
363<col width="150px" class="parameters_name">
364<col class="parameters_description">
365<col width="200px" class="parameters_annotations">
366</colgroup>
367<tbody><tr>
368<td class="parameter_name"><p>f</p></td>
369<td class="parameter_description"><p>the function to cast</p></td>
370<td class="parameter_annotations"> </td>
371</tr></tbody>
372</table></div>
373</div>
374</div>
375<hr>
376<div class="refsect2">
377<a name="gst-gl-window-new"></a><h3>gst_gl_window_new ()</h3>
378<pre class="programlisting"><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="returnvalue">GstGLWindow</span></a> *
379gst_gl_window_new (<em class="parameter"><code><a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a> *display</code></em>);</pre>
380<div class="refsect3">
381<a name="gst-gl-window-new.parameters"></a><h4>Parameters</h4>
382<div class="informaltable"><table class="informaltable" width="100%" border="0">
383<colgroup>
384<col width="150px" class="parameters_name">
385<col class="parameters_description">
386<col width="200px" class="parameters_annotations">
387</colgroup>
388<tbody><tr>
389<td class="parameter_name"><p>display</p></td>
390<td class="parameter_description"><p>a <a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a></p></td>
391<td class="parameter_annotations"> </td>
392</tr></tbody>
393</table></div>
394</div>
395<div class="refsect3">
396<a name="gst-gl-window-new.returns"></a><h4>Returns</h4>
397<p>a new <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> using <em class="parameter"><code>display</code></em>
398's connection. </p>
399<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
400</div>
401<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
402</div>
403<hr>
404<div class="refsect2">
405<a name="gst-gl-window-draw"></a><h3>gst_gl_window_draw ()</h3>
406<pre class="programlisting"><span class="returnvalue">void</span>
407gst_gl_window_draw (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
408<p>Redraw the window contents.  Implementations should invoke the draw callback.</p>
409<div class="refsect3">
410<a name="gst-gl-window-draw.parameters"></a><h4>Parameters</h4>
411<div class="informaltable"><table class="informaltable" width="100%" border="0">
412<colgroup>
413<col width="150px" class="parameters_name">
414<col class="parameters_description">
415<col width="200px" class="parameters_annotations">
416</colgroup>
417<tbody><tr>
418<td class="parameter_name"><p>window</p></td>
419<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
420<td class="parameter_annotations"> </td>
421</tr></tbody>
422</table></div>
423</div>
424<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
425</div>
426<hr>
427<div class="refsect2">
428<a name="gst-gl-window-quit"></a><h3>gst_gl_window_quit ()</h3>
429<pre class="programlisting"><span class="returnvalue">void</span>
430gst_gl_window_quit (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
431<p>Quit the runloop's execution.</p>
432<div class="refsect3">
433<a name="gst-gl-window-quit.parameters"></a><h4>Parameters</h4>
434<div class="informaltable"><table class="informaltable" width="100%" border="0">
435<colgroup>
436<col width="150px" class="parameters_name">
437<col class="parameters_description">
438<col width="200px" class="parameters_annotations">
439</colgroup>
440<tbody><tr>
441<td class="parameter_name"><p>window</p></td>
442<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
443<td class="parameter_annotations"> </td>
444</tr></tbody>
445</table></div>
446</div>
447<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
448</div>
449<hr>
450<div class="refsect2">
451<a name="gst-gl-window-run"></a><h3>gst_gl_window_run ()</h3>
452<pre class="programlisting"><span class="returnvalue">void</span>
453gst_gl_window_run (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
454<p>Start the execution of the runloop.</p>
455<div class="refsect3">
456<a name="gst-gl-window-run.parameters"></a><h4>Parameters</h4>
457<div class="informaltable"><table class="informaltable" width="100%" border="0">
458<colgroup>
459<col width="150px" class="parameters_name">
460<col class="parameters_description">
461<col width="200px" class="parameters_annotations">
462</colgroup>
463<tbody><tr>
464<td class="parameter_name"><p>window</p></td>
465<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
466<td class="parameter_annotations"> </td>
467</tr></tbody>
468</table></div>
469</div>
470<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
471</div>
472<hr>
473<div class="refsect2">
474<a name="gst-gl-window-get-context"></a><h3>gst_gl_window_get_context ()</h3>
475<pre class="programlisting"><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="returnvalue">GstGLContext</span></a> *
476gst_gl_window_get_context (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
477<div class="refsect3">
478<a name="gst-gl-window-get-context.parameters"></a><h4>Parameters</h4>
479<div class="informaltable"><table class="informaltable" width="100%" border="0">
480<colgroup>
481<col width="150px" class="parameters_name">
482<col class="parameters_description">
483<col width="200px" class="parameters_annotations">
484</colgroup>
485<tbody><tr>
486<td class="parameter_name"><p>window</p></td>
487<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
488<td class="parameter_annotations"> </td>
489</tr></tbody>
490</table></div>
491</div>
492<div class="refsect3">
493<a name="gst-gl-window-get-context.returns"></a><h4>Returns</h4>
494<p>the <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> associated with this <em class="parameter"><code>window</code></em>
495. </p>
496<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
497</div>
498<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
499</div>
500<hr>
501<div class="refsect2">
502<a name="gst-gl-window-get-display"></a><h3>gst_gl_window_get_display ()</h3>
503<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="returnvalue">guintptr</span></a>
504gst_gl_window_get_display (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
505<div class="refsect3">
506<a name="gst-gl-window-get-display.parameters"></a><h4>Parameters</h4>
507<div class="informaltable"><table class="informaltable" width="100%" border="0">
508<colgroup>
509<col width="150px" class="parameters_name">
510<col class="parameters_description">
511<col width="200px" class="parameters_annotations">
512</colgroup>
513<tbody><tr>
514<td class="parameter_name"><p>window</p></td>
515<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
516<td class="parameter_annotations"> </td>
517</tr></tbody>
518</table></div>
519</div>
520<div class="refsect3">
521<a name="gst-gl-window-get-display.returns"></a><h4>Returns</h4>
522<p> the windowing system display handle for this <em class="parameter"><code>window</code></em>
523</p>
524</div>
525<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
526</div>
527<hr>
528<div class="refsect2">
529<a name="gst-gl-window-send-message"></a><h3>gst_gl_window_send_message ()</h3>
530<pre class="programlisting"><span class="returnvalue">void</span>
531gst_gl_window_send_message (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
532                            <em class="parameter"><code><a class="link" href="GstGLWindow.html#GstGLWindowCB" title="GstGLWindowCB ()"><span class="type">GstGLWindowCB</span></a> callback</code></em>,
533                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
534<p>Invoke <em class="parameter"><code>callback</code></em>
535 with data on the window thread.  <em class="parameter"><code>callback</code></em>
536 is guarenteed to
537have executed when this function returns.</p>
538<div class="refsect3">
539<a name="gst-gl-window-send-message.parameters"></a><h4>Parameters</h4>
540<div class="informaltable"><table class="informaltable" width="100%" border="0">
541<colgroup>
542<col width="150px" class="parameters_name">
543<col class="parameters_description">
544<col width="200px" class="parameters_annotations">
545</colgroup>
546<tbody>
547<tr>
548<td class="parameter_name"><p>window</p></td>
549<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
550<td class="parameter_annotations"> </td>
551</tr>
552<tr>
553<td class="parameter_name"><p>callback</p></td>
554<td class="parameter_description"><p>function to invoke. </p></td>
555<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
556</tr>
557<tr>
558<td class="parameter_name"><p>data</p></td>
559<td class="parameter_description"><p>data to invoke <em class="parameter"><code>callback</code></em>
560with. </p></td>
561<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
562</tr>
563</tbody>
564</table></div>
565</div>
566<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
567</div>
568<hr>
569<div class="refsect2">
570<a name="gst-gl-window-send-message-async"></a><h3>gst_gl_window_send_message_async ()</h3>
571<pre class="programlisting"><span class="returnvalue">void</span>
572gst_gl_window_send_message_async (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
573                                  <em class="parameter"><code><a class="link" href="GstGLWindow.html#GstGLWindowCB" title="GstGLWindowCB ()"><span class="type">GstGLWindowCB</span></a> callback</code></em>,
574                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
575                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
576<p>Invoke <em class="parameter"><code>callback</code></em>
577 with <em class="parameter"><code>data</code></em>
578 on the window thread.  The callback may not
579have been executed when this function returns.</p>
580<div class="refsect3">
581<a name="gst-gl-window-send-message-async.parameters"></a><h4>Parameters</h4>
582<div class="informaltable"><table class="informaltable" width="100%" border="0">
583<colgroup>
584<col width="150px" class="parameters_name">
585<col class="parameters_description">
586<col width="200px" class="parameters_annotations">
587</colgroup>
588<tbody>
589<tr>
590<td class="parameter_name"><p>window</p></td>
591<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
592<td class="parameter_annotations"> </td>
593</tr>
594<tr>
595<td class="parameter_name"><p>callback</p></td>
596<td class="parameter_description"><p>function to invoke. </p></td>
597<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
598</tr>
599<tr>
600<td class="parameter_name"><p>data</p></td>
601<td class="parameter_description"><p>data to invoke <em class="parameter"><code>callback</code></em>
602with. </p></td>
603<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
604</tr>
605<tr>
606<td class="parameter_name"><p>destroy</p></td>
607<td class="parameter_description"><p>called when <em class="parameter"><code>data</code></em>
608is not needed anymore</p></td>
609<td class="parameter_annotations"> </td>
610</tr>
611</tbody>
612</table></div>
613</div>
614<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
615</div>
616<hr>
617<div class="refsect2">
618<a name="gst-gl-window-set-close-callback"></a><h3>gst_gl_window_set_close_callback ()</h3>
619<pre class="programlisting"><span class="returnvalue">void</span>
620gst_gl_window_set_close_callback (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
621                                  <em class="parameter"><code><a class="link" href="GstGLWindow.html#GstGLWindowCB" title="GstGLWindowCB ()"><span class="type">GstGLWindowCB</span></a> callback</code></em>,
622                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
623                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>);</pre>
624<p>Sets the callback called when the window is about to close.</p>
625<div class="refsect3">
626<a name="gst-gl-window-set-close-callback.parameters"></a><h4>Parameters</h4>
627<div class="informaltable"><table class="informaltable" width="100%" border="0">
628<colgroup>
629<col width="150px" class="parameters_name">
630<col class="parameters_description">
631<col width="200px" class="parameters_annotations">
632</colgroup>
633<tbody>
634<tr>
635<td class="parameter_name"><p>window</p></td>
636<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
637<td class="parameter_annotations"> </td>
638</tr>
639<tr>
640<td class="parameter_name"><p>callback</p></td>
641<td class="parameter_description"><p>function to invoke. </p></td>
642<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
643</tr>
644<tr>
645<td class="parameter_name"><p>data</p></td>
646<td class="parameter_description"><p>data to invoke <em class="parameter"><code>callback</code></em>
647with. </p></td>
648<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
649</tr>
650<tr>
651<td class="parameter_name"><p>destroy_notify</p></td>
652<td class="parameter_description"><p>called when <em class="parameter"><code>data</code></em>
653is not needed any more</p></td>
654<td class="parameter_annotations"> </td>
655</tr>
656</tbody>
657</table></div>
658</div>
659<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
660</div>
661<hr>
662<div class="refsect2">
663<a name="gst-gl-window-set-draw-callback"></a><h3>gst_gl_window_set_draw_callback ()</h3>
664<pre class="programlisting"><span class="returnvalue">void</span>
665gst_gl_window_set_draw_callback (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
666                                 <em class="parameter"><code><a class="link" href="GstGLWindow.html#GstGLWindowCB" title="GstGLWindowCB ()"><span class="type">GstGLWindowCB</span></a> callback</code></em>,
667                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
668                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>);</pre>
669<p>Sets the draw callback called everytime <a class="link" href="GstGLWindow.html#gst-gl-window-draw" title="gst_gl_window_draw ()"><code class="function">gst_gl_window_draw()</code></a> is called</p>
670<div class="refsect3">
671<a name="gst-gl-window-set-draw-callback.parameters"></a><h4>Parameters</h4>
672<div class="informaltable"><table class="informaltable" width="100%" border="0">
673<colgroup>
674<col width="150px" class="parameters_name">
675<col class="parameters_description">
676<col width="200px" class="parameters_annotations">
677</colgroup>
678<tbody>
679<tr>
680<td class="parameter_name"><p>window</p></td>
681<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
682<td class="parameter_annotations"> </td>
683</tr>
684<tr>
685<td class="parameter_name"><p>callback</p></td>
686<td class="parameter_description"><p>function to invoke. </p></td>
687<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
688</tr>
689<tr>
690<td class="parameter_name"><p>data</p></td>
691<td class="parameter_description"><p>data to invoke <em class="parameter"><code>callback</code></em>
692with. </p></td>
693<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
694</tr>
695<tr>
696<td class="parameter_name"><p>destroy_notify</p></td>
697<td class="parameter_description"><p>called when <em class="parameter"><code>data</code></em>
698is not needed any more</p></td>
699<td class="parameter_annotations"> </td>
700</tr>
701</tbody>
702</table></div>
703</div>
704<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
705</div>
706<hr>
707<div class="refsect2">
708<a name="gst-gl-window-set-resize-callback"></a><h3>gst_gl_window_set_resize_callback ()</h3>
709<pre class="programlisting"><span class="returnvalue">void</span>
710gst_gl_window_set_resize_callback (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
711                                   <em class="parameter"><code><a class="link" href="GstGLWindow.html#GstGLWindowResizeCB" title="GstGLWindowResizeCB ()"><span class="type">GstGLWindowResizeCB</span></a> callback</code></em>,
712                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
713                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>);</pre>
714<p>Sets the resize callback called everytime a resize of the window occurs.</p>
715<div class="refsect3">
716<a name="gst-gl-window-set-resize-callback.parameters"></a><h4>Parameters</h4>
717<div class="informaltable"><table class="informaltable" width="100%" border="0">
718<colgroup>
719<col width="150px" class="parameters_name">
720<col class="parameters_description">
721<col width="200px" class="parameters_annotations">
722</colgroup>
723<tbody>
724<tr>
725<td class="parameter_name"><p>window</p></td>
726<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
727<td class="parameter_annotations"> </td>
728</tr>
729<tr>
730<td class="parameter_name"><p>callback</p></td>
731<td class="parameter_description"><p>function to invoke. </p></td>
732<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>]</span></td>
733</tr>
734<tr>
735<td class="parameter_name"><p>data</p></td>
736<td class="parameter_description"><p>data to invoke <em class="parameter"><code>callback</code></em>
737with. </p></td>
738<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
739</tr>
740<tr>
741<td class="parameter_name"><p>destroy_notify</p></td>
742<td class="parameter_description"><p>called when <em class="parameter"><code>data</code></em>
743is not needed any more</p></td>
744<td class="parameter_annotations"> </td>
745</tr>
746</tbody>
747</table></div>
748</div>
749<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
750</div>
751<hr>
752<div class="refsect2">
753<a name="gst-gl-window-set-window-handle"></a><h3>gst_gl_window_set_window_handle ()</h3>
754<pre class="programlisting"><span class="returnvalue">void</span>
755gst_gl_window_set_window_handle (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
756                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="type">guintptr</span></a> handle</code></em>);</pre>
757<p>Sets the window that this <em class="parameter"><code>window</code></em>
758 should render into.  Some implementations
759require this to be called with a valid handle before drawing can commence.</p>
760<div class="refsect3">
761<a name="gst-gl-window-set-window-handle.parameters"></a><h4>Parameters</h4>
762<div class="informaltable"><table class="informaltable" width="100%" border="0">
763<colgroup>
764<col width="150px" class="parameters_name">
765<col class="parameters_description">
766<col width="200px" class="parameters_annotations">
767</colgroup>
768<tbody>
769<tr>
770<td class="parameter_name"><p>window</p></td>
771<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
772<td class="parameter_annotations"> </td>
773</tr>
774<tr>
775<td class="parameter_name"><p>handle</p></td>
776<td class="parameter_description"><p>handle to the window</p></td>
777<td class="parameter_annotations"> </td>
778</tr>
779</tbody>
780</table></div>
781</div>
782<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
783</div>
784<hr>
785<div class="refsect2">
786<a name="gst-gl-window-get-window-handle"></a><h3>gst_gl_window_get_window_handle ()</h3>
787<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guintptr"><span class="returnvalue">guintptr</span></a>
788gst_gl_window_get_window_handle (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
789<div class="refsect3">
790<a name="gst-gl-window-get-window-handle.parameters"></a><h4>Parameters</h4>
791<div class="informaltable"><table class="informaltable" width="100%" border="0">
792<colgroup>
793<col width="150px" class="parameters_name">
794<col class="parameters_description">
795<col width="200px" class="parameters_annotations">
796</colgroup>
797<tbody><tr>
798<td class="parameter_name"><p>window</p></td>
799<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
800<td class="parameter_annotations"> </td>
801</tr></tbody>
802</table></div>
803</div>
804<div class="refsect3">
805<a name="gst-gl-window-get-window-handle.returns"></a><h4>Returns</h4>
806<p> the window handle we are currently rendering into</p>
807</div>
808<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
809</div>
810<hr>
811<div class="refsect2">
812<a name="gst-gl-window-set-preferred-size"></a><h3>gst_gl_window_set_preferred_size ()</h3>
813<pre class="programlisting"><span class="returnvalue">void</span>
814gst_gl_window_set_preferred_size (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
815                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
816                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
817<p>Set the preferred width and height of the window.  Implementations are free
818to ignore this information.</p>
819<div class="refsect3">
820<a name="gst-gl-window-set-preferred-size.parameters"></a><h4>Parameters</h4>
821<div class="informaltable"><table class="informaltable" width="100%" border="0">
822<colgroup>
823<col width="150px" class="parameters_name">
824<col class="parameters_description">
825<col width="200px" class="parameters_annotations">
826</colgroup>
827<tbody>
828<tr>
829<td class="parameter_name"><p>window</p></td>
830<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
831<td class="parameter_annotations"> </td>
832</tr>
833<tr>
834<td class="parameter_name"><p>width</p></td>
835<td class="parameter_description"><p>new preferred width</p></td>
836<td class="parameter_annotations"> </td>
837</tr>
838<tr>
839<td class="parameter_name"><p>height</p></td>
840<td class="parameter_description"><p>new preferred height</p></td>
841<td class="parameter_annotations"> </td>
842</tr>
843</tbody>
844</table></div>
845</div>
846<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
847</div>
848<hr>
849<div class="refsect2">
850<a name="gst-gl-window-show"></a><h3>gst_gl_window_show ()</h3>
851<pre class="programlisting"><span class="returnvalue">void</span>
852gst_gl_window_show (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
853<p>Present the window to the screen.</p>
854<div class="refsect3">
855<a name="gst-gl-window-show.parameters"></a><h4>Parameters</h4>
856<div class="informaltable"><table class="informaltable" width="100%" border="0">
857<colgroup>
858<col width="150px" class="parameters_name">
859<col class="parameters_description">
860<col width="200px" class="parameters_annotations">
861</colgroup>
862<tbody><tr>
863<td class="parameter_name"><p>window</p></td>
864<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
865<td class="parameter_annotations"> </td>
866</tr></tbody>
867</table></div>
868</div>
869<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
870</div>
871<hr>
872<div class="refsect2">
873<a name="gst-gl-window-get-surface-dimensions"></a><h3>gst_gl_window_get_surface_dimensions ()</h3>
874<pre class="programlisting"><span class="returnvalue">void</span>
875gst_gl_window_get_surface_dimensions (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
876                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *width</code></em>,
877                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *height</code></em>);</pre>
878<div class="refsect3">
879<a name="gst-gl-window-get-surface-dimensions.parameters"></a><h4>Parameters</h4>
880<div class="informaltable"><table class="informaltable" width="100%" border="0">
881<colgroup>
882<col width="150px" class="parameters_name">
883<col class="parameters_description">
884<col width="200px" class="parameters_annotations">
885</colgroup>
886<tbody>
887<tr>
888<td class="parameter_name"><p>window</p></td>
889<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
890<td class="parameter_annotations"> </td>
891</tr>
892<tr>
893<td class="parameter_name"><p>width</p></td>
894<td class="parameter_description"><p>resulting surface width. </p></td>
895<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
896</tr>
897<tr>
898<td class="parameter_name"><p>height</p></td>
899<td class="parameter_description"><p>resulting surface height. </p></td>
900<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
901</tr>
902</tbody>
903</table></div>
904</div>
905<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
906</div>
907<hr>
908<div class="refsect2">
909<a name="gst-gl-window-handle-events"></a><h3>gst_gl_window_handle_events ()</h3>
910<pre class="programlisting"><span class="returnvalue">void</span>
911gst_gl_window_handle_events (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
912                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> handle_events</code></em>);</pre>
913<p>Tell a <em class="parameter"><code>window</code></em>
914 that it should handle events from the window system. These
915events are forwarded upstream as navigation events. In some window systems
916events are not propagated in the window hierarchy if a client is listening
917for them. This method allows you to disable events handling completely
918from the <em class="parameter"><code>window</code></em>
919.</p>
920<div class="refsect3">
921<a name="gst-gl-window-handle-events.parameters"></a><h4>Parameters</h4>
922<div class="informaltable"><table class="informaltable" width="100%" border="0">
923<colgroup>
924<col width="150px" class="parameters_name">
925<col class="parameters_description">
926<col width="200px" class="parameters_annotations">
927</colgroup>
928<tbody>
929<tr>
930<td class="parameter_name"><p>window</p></td>
931<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
932<td class="parameter_annotations"> </td>
933</tr>
934<tr>
935<td class="parameter_name"><p>handle_events</p></td>
936<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> indicating if events should be handled or not.</p></td>
937<td class="parameter_annotations"> </td>
938</tr>
939</tbody>
940</table></div>
941</div>
942</div>
943<hr>
944<div class="refsect2">
945<a name="gst-gl-window-queue-resize"></a><h3>gst_gl_window_queue_resize ()</h3>
946<pre class="programlisting"><span class="returnvalue">void</span>
947gst_gl_window_queue_resize (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>);</pre>
948<p>Queue resizing of <em class="parameter"><code>window</code></em>
949.</p>
950<div class="refsect3">
951<a name="gst-gl-window-queue-resize.parameters"></a><h4>Parameters</h4>
952<div class="informaltable"><table class="informaltable" width="100%" border="0">
953<colgroup>
954<col width="150px" class="parameters_name">
955<col class="parameters_description">
956<col width="200px" class="parameters_annotations">
957</colgroup>
958<tbody><tr>
959<td class="parameter_name"><p>window</p></td>
960<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
961<td class="parameter_annotations"> </td>
962</tr></tbody>
963</table></div>
964</div>
965</div>
966<hr>
967<div class="refsect2">
968<a name="gst-gl-window-resize"></a><h3>gst_gl_window_resize ()</h3>
969<pre class="programlisting"><span class="returnvalue">void</span>
970gst_gl_window_resize (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
971                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
972                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
973<p>Resize <em class="parameter"><code>window</code></em>
974 to the given <em class="parameter"><code>width</code></em>
975 and <em class="parameter"><code>height</code></em>
976.</p>
977<div class="refsect3">
978<a name="gst-gl-window-resize.parameters"></a><h4>Parameters</h4>
979<div class="informaltable"><table class="informaltable" width="100%" border="0">
980<colgroup>
981<col width="150px" class="parameters_name">
982<col class="parameters_description">
983<col width="200px" class="parameters_annotations">
984</colgroup>
985<tbody>
986<tr>
987<td class="parameter_name"><p>window</p></td>
988<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
989<td class="parameter_annotations"> </td>
990</tr>
991<tr>
992<td class="parameter_name"><p>width</p></td>
993<td class="parameter_description"><p>new width</p></td>
994<td class="parameter_annotations"> </td>
995</tr>
996<tr>
997<td class="parameter_name"><p>height</p></td>
998<td class="parameter_description"><p>new height</p></td>
999<td class="parameter_annotations"> </td>
1000</tr>
1001</tbody>
1002</table></div>
1003</div>
1004</div>
1005<hr>
1006<div class="refsect2">
1007<a name="gst-gl-window-set-render-rectangle"></a><h3>gst_gl_window_set_render_rectangle ()</h3>
1008<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
1009gst_gl_window_set_render_rectangle (<em class="parameter"><code><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *window</code></em>,
1010                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
1011                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
1012                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
1013                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
1014<p>Tell a <em class="parameter"><code>window</code></em>
1015 that it should render into a specific region of the window
1016according to the <a class="link" href="GstVideoOverlay.html" title="GstVideoOverlay"><span class="type">GstVideoOverlay</span></a> interface.</p>
1017<div class="refsect3">
1018<a name="gst-gl-window-set-render-rectangle.parameters"></a><h4>Parameters</h4>
1019<div class="informaltable"><table class="informaltable" width="100%" border="0">
1020<colgroup>
1021<col width="150px" class="parameters_name">
1022<col class="parameters_description">
1023<col width="200px" class="parameters_annotations">
1024</colgroup>
1025<tbody>
1026<tr>
1027<td class="parameter_name"><p>window</p></td>
1028<td class="parameter_description"><p>a <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
1029<td class="parameter_annotations"> </td>
1030</tr>
1031<tr>
1032<td class="parameter_name"><p>x</p></td>
1033<td class="parameter_description"><p>x position</p></td>
1034<td class="parameter_annotations"> </td>
1035</tr>
1036<tr>
1037<td class="parameter_name"><p>y</p></td>
1038<td class="parameter_description"><p>y position</p></td>
1039<td class="parameter_annotations"> </td>
1040</tr>
1041<tr>
1042<td class="parameter_name"><p>width</p></td>
1043<td class="parameter_description"><p>width</p></td>
1044<td class="parameter_annotations"> </td>
1045</tr>
1046<tr>
1047<td class="parameter_name"><p>height</p></td>
1048<td class="parameter_description"><p>height</p></td>
1049<td class="parameter_annotations"> </td>
1050</tr>
1051</tbody>
1052</table></div>
1053</div>
1054<div class="refsect3">
1055<a name="gst-gl-window-set-render-rectangle.returns"></a><h4>Returns</h4>
1056<p> whether the specified region could be set</p>
1057</div>
1058</div>
1059</div>
1060<div class="refsect1">
1061<a name="GstGLWindow.other_details"></a><h2>Types and Values</h2>
1062<div class="refsect2">
1063<a name="GstGLWindowError"></a><h3>enum GstGLWindowError</h3>
1064<div class="refsect3">
1065<a name="GstGLWindowError.members"></a><h4>Members</h4>
1066<div class="informaltable"><table class="informaltable" width="100%" border="0">
1067<colgroup>
1068<col width="300px" class="enum_members_name">
1069<col class="enum_members_description">
1070<col width="200px" class="enum_members_annotations">
1071</colgroup>
1072<tbody>
1073<tr>
1074<td class="enum_member_name"><p><a name="GST-GL-WINDOW-ERROR-FAILED:CAPS"></a>GST_GL_WINDOW_ERROR_FAILED</p></td>
1075<td class="enum_member_description">
1076<p>failed for a unspecified reason</p>
1077</td>
1078<td class="enum_member_annotations"> </td>
1079</tr>
1080<tr>
1081<td class="enum_member_name"><p><a name="GST-GL-WINDOW-ERROR-OLD-LIBS:CAPS"></a>GST_GL_WINDOW_ERROR_OLD_LIBS</p></td>
1082<td class="enum_member_description">
1083<p>the implementation is too old</p>
1084</td>
1085<td class="enum_member_annotations"> </td>
1086</tr>
1087<tr>
1088<td class="enum_member_name"><p><a name="GST-GL-WINDOW-ERROR-RESOURCE-UNAVAILABLE:CAPS"></a>GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE</p></td>
1089<td class="enum_member_description">
1090<p>no such resource was found</p>
1091</td>
1092<td class="enum_member_annotations"> </td>
1093</tr>
1094</tbody>
1095</table></div>
1096</div>
1097</div>
1098<hr>
1099<div class="refsect2">
1100<a name="GST-GL-WINDOW-ERROR:CAPS"></a><h3>GST_GL_WINDOW_ERROR</h3>
1101<pre class="programlisting">#define GST_GL_WINDOW_ERROR (gst_gl_window_error_quark ())
1102</pre>
1103<p>Error domain for GStreamer's GL window module. Errors in this domain will be
1104from the <a class="link" href="GstGLWindow.html#GstGLWindowError" title="enum GstGLWindowError"><span class="type">GstGLWindowError</span></a> enumeration</p>
1105</div>
1106<hr>
1107<div class="refsect2">
1108<a name="GstGLWindow-struct"></a><h3>GstGLWindow</h3>
1109<pre class="programlisting">typedef struct _GstGLWindow GstGLWindow;</pre>
1110<p><a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> is an opaque struct and should only be accessed through the
1111provided api.</p>
1112</div>
1113<hr>
1114<div class="refsect2">
1115<a name="GstGLWindowClass"></a><h3>GstGLWindowClass</h3>
1116<pre class="programlisting">typedef struct {
1117  GstObjectClass parent_class;
1118
1119  guintptr (*get_display)        (GstGLWindow *window);
1120  void     (*set_window_handle)  (GstGLWindow *window, guintptr handle);
1121  guintptr (*get_window_handle)  (GstGLWindow *window);
1122  void     (*draw)               (GstGLWindow *window);
1123  void     (*run)                (GstGLWindow *window);
1124  void     (*quit)               (GstGLWindow *window);
1125  void     (*send_message)       (GstGLWindow *window, GstGLWindowCB callback, gpointer data);
1126  void     (*send_message_async) (GstGLWindow *window, GstGLWindowCB callback, gpointer data, GDestroyNotify destroy);
1127
1128  gboolean (*open)               (GstGLWindow *window, GError **error);
1129  void     (*close)              (GstGLWindow *window);
1130  void     (*handle_events)      (GstGLWindow *window, gboolean handle_events);
1131  void     (*set_preferred_size) (GstGLWindow *window, gint width, gint height);
1132  void     (*show)               (GstGLWindow *window);
1133  gboolean (*set_render_rectangle)(GstGLWindow *window, gint x, gint y, gint width, gint height);
1134  void     (*queue_resize)       (GstGLWindow *window);
1135  gboolean (*controls_viewport)  (GstGLWindow *window);
1136} GstGLWindowClass;
1137</pre>
1138<div class="refsect3">
1139<a name="GstGLWindowClass.members"></a><h4>Members</h4>
1140<div class="informaltable"><table class="informaltable" width="100%" border="0">
1141<colgroup>
1142<col width="300px" class="struct_members_name">
1143<col class="struct_members_description">
1144<col width="200px" class="struct_members_annotations">
1145</colgroup>
1146<tbody>
1147<tr>
1148<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.get-display"></a>get_display</code></em> ()</p></td>
1149<td class="struct_member_description"><p>Gets the current windowing system display connection</p></td>
1150<td class="struct_member_annotations"> </td>
1151</tr>
1152<tr>
1153<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.set-window-handle"></a>set_window_handle</code></em> ()</p></td>
1154<td class="struct_member_description"><p>Set a window handle to render into</p></td>
1155<td class="struct_member_annotations"> </td>
1156</tr>
1157<tr>
1158<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.get-window-handle"></a>get_window_handle</code></em> ()</p></td>
1159<td class="struct_member_description"><p>Gets the current window handle that this <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> is
1160rendering into.  This may return a different value to
1161what is passed into <em class="parameter"><code>set_window_handle</code></em>
1162</p></td>
1163<td class="struct_member_annotations"> </td>
1164</tr>
1165<tr>
1166<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.draw"></a>draw</code></em> ()</p></td>
1167<td class="struct_member_description"><p>redraw the window with the specified dimensions</p></td>
1168<td class="struct_member_annotations"> </td>
1169</tr>
1170<tr>
1171<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.run"></a>run</code></em> ()</p></td>
1172<td class="struct_member_description"><p>run the mainloop</p></td>
1173<td class="struct_member_annotations"> </td>
1174</tr>
1175<tr>
1176<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.quit"></a>quit</code></em> ()</p></td>
1177<td class="struct_member_description"><p>send a quit to the mainloop</p></td>
1178<td class="struct_member_annotations"> </td>
1179</tr>
1180<tr>
1181<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.send-message"></a>send_message</code></em> ()</p></td>
1182<td class="struct_member_description"><p>invoke a function on the window thread.  Required to be reentrant.</p></td>
1183<td class="struct_member_annotations"> </td>
1184</tr>
1185<tr>
1186<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.send-message-async"></a>send_message_async</code></em> ()</p></td>
1187<td class="struct_member_description"><p>invoke a function on the window thread. <em class="parameter"><code>run</code></em>
1188may or may
1189not have been called.  Required to be reentrant.</p></td>
1190<td class="struct_member_annotations"> </td>
1191</tr>
1192<tr>
1193<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.open"></a>open</code></em> ()</p></td>
1194<td class="struct_member_description"><p>open the connection to the display</p></td>
1195<td class="struct_member_annotations"> </td>
1196</tr>
1197<tr>
1198<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.close"></a>close</code></em> ()</p></td>
1199<td class="struct_member_description"><p>close the connection to the display</p></td>
1200<td class="struct_member_annotations"> </td>
1201</tr>
1202<tr>
1203<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.handle-events"></a>handle_events</code></em> ()</p></td>
1204<td class="struct_member_description"><p>whether to handle 'extra' events from the windowing system.
1205Basic events like surface moves and resizes are still valid
1206things to listen for.</p></td>
1207<td class="struct_member_annotations"> </td>
1208</tr>
1209<tr>
1210<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.set-preferred-size"></a>set_preferred_size</code></em> ()</p></td>
1211<td class="struct_member_description"><p>request that the window change surface size.  The
1212implementation is free to ignore this information.</p></td>
1213<td class="struct_member_annotations"> </td>
1214</tr>
1215<tr>
1216<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.show"></a>show</code></em> ()</p></td>
1217<td class="struct_member_description"><p>request that the window be shown to the user</p></td>
1218<td class="struct_member_annotations"> </td>
1219</tr>
1220<tr>
1221<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.set-render-rectangle"></a>set_render_rectangle</code></em> ()</p></td>
1222<td class="struct_member_description"><p>request a rectangle to render into.  See <a class="link" href="GstVideoOverlay.html" title="GstVideoOverlay"><span class="type">GstVideoOverlay</span></a></p></td>
1223<td class="struct_member_annotations"> </td>
1224</tr>
1225<tr>
1226<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.queue-resize"></a>queue_resize</code></em> ()</p></td>
1227<td class="struct_member_description"><p>request a resize to occur when possible</p></td>
1228<td class="struct_member_annotations"> </td>
1229</tr>
1230<tr>
1231<td class="struct_member_name"><p><em class="structfield"><code><a name="GstGLWindowClass.controls-viewport"></a>controls_viewport</code></em> ()</p></td>
1232<td class="struct_member_description"><p>Whether the window takes care of glViewport setup.
1233and the user does not need to deal with viewports</p></td>
1234<td class="struct_member_annotations"> </td>
1235</tr>
1236</tbody>
1237</table></div>
1238</div>
1239</div>
1240</div>
1241<div class="refsect1">
1242<a name="GstGLWindow.signal-details"></a><h2>Signal Details</h2>
1243<div class="refsect2">
1244<a name="GstGLWindow-key-event"></a><h3>The <code class="literal">“key-event”</code> signal</h3>
1245<pre class="programlisting"><span class="returnvalue">void</span>
1246user_function (<a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *object,
1247               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *id,
1248               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *key,
1249               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)</pre>
1250<p>Will be emitted when a key event is received by the GstGLwindow.</p>
1251<div class="refsect3">
1252<a name="GstGLWindow-key-event.parameters"></a><h4>Parameters</h4>
1253<div class="informaltable"><table class="informaltable" width="100%" border="0">
1254<colgroup>
1255<col width="150px" class="parameters_name">
1256<col class="parameters_description">
1257<col width="200px" class="parameters_annotations">
1258</colgroup>
1259<tbody>
1260<tr>
1261<td class="parameter_name"><p>object</p></td>
1262<td class="parameter_description"><p>the <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
1263<td class="parameter_annotations"> </td>
1264</tr>
1265<tr>
1266<td class="parameter_name"><p>id</p></td>
1267<td class="parameter_description"><p>the name of the event</p></td>
1268<td class="parameter_annotations"> </td>
1269</tr>
1270<tr>
1271<td class="parameter_name"><p>key</p></td>
1272<td class="parameter_description"><p>the id of the key pressed</p></td>
1273<td class="parameter_annotations"> </td>
1274</tr>
1275<tr>
1276<td class="parameter_name"><p>user_data</p></td>
1277<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1278<td class="parameter_annotations"> </td>
1279</tr>
1280</tbody>
1281</table></div>
1282</div>
1283<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1284<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
1285</div>
1286<hr>
1287<div class="refsect2">
1288<a name="GstGLWindow-mouse-event"></a><h3>The <code class="literal">“mouse-event”</code> signal</h3>
1289<pre class="programlisting"><span class="returnvalue">void</span>
1290user_function (<a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a> *object,
1291               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *id,
1292               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>         button,
1293               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>      x,
1294               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>      y,
1295               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)</pre>
1296<p>Will be emitted when a mouse event is received by the GstGLwindow.</p>
1297<div class="refsect3">
1298<a name="GstGLWindow-mouse-event.parameters"></a><h4>Parameters</h4>
1299<div class="informaltable"><table class="informaltable" width="100%" border="0">
1300<colgroup>
1301<col width="150px" class="parameters_name">
1302<col class="parameters_description">
1303<col width="200px" class="parameters_annotations">
1304</colgroup>
1305<tbody>
1306<tr>
1307<td class="parameter_name"><p>object</p></td>
1308<td class="parameter_description"><p>the <a class="link" href="GstGLWindow.html" title="GstGLWindow"><span class="type">GstGLWindow</span></a></p></td>
1309<td class="parameter_annotations"> </td>
1310</tr>
1311<tr>
1312<td class="parameter_name"><p>id</p></td>
1313<td class="parameter_description"><p>the name of the event</p></td>
1314<td class="parameter_annotations"> </td>
1315</tr>
1316<tr>
1317<td class="parameter_name"><p>button</p></td>
1318<td class="parameter_description"><p>the id of the button</p></td>
1319<td class="parameter_annotations"> </td>
1320</tr>
1321<tr>
1322<td class="parameter_name"><p>x</p></td>
1323<td class="parameter_description"><p>the x coordinate of the mouse event</p></td>
1324<td class="parameter_annotations"> </td>
1325</tr>
1326<tr>
1327<td class="parameter_name"><p>y</p></td>
1328<td class="parameter_description"><p>the y coordinate of the mouse event</p></td>
1329<td class="parameter_annotations"> </td>
1330</tr>
1331<tr>
1332<td class="parameter_name"><p>user_data</p></td>
1333<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1334<td class="parameter_annotations"> </td>
1335</tr>
1336</tbody>
1337</table></div>
1338</div>
1339<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1340<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
1341</div>
1342</div>
1343<div class="refsect1">
1344<a name="GstGLWindow.see-also"></a><h2>See Also</h2>
1345<p><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a>, <a class="link" href="GstGLDisplay.html" title="GstGLDisplay"><span class="type">GstGLDisplay</span></a></p>
1346</div>
1347</div>
1348<div class="footer">
1349<hr>Generated by GTK-Doc V1.28</div>
1350</body>
1351</html>