~ubuntu-branches/ubuntu/maverick/gtkglext/maverick

« back to all changes in this revision

Viewing changes to docs/reference/gtkglext/html/gtkglext-gdkglwindow.html

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Bruguier
  • Date: 2007-06-21 13:36:50 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070621133650-7pg0dt7ajqyjxmti
Tags: 1.2.0-0ubuntu1
* New upstream version
* Fix Maintainer field
* Remove old xlibs-devs dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>OpenGL Window</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"><meta name="generator" content="GTK-Doc V1.1 (XML mode)"><style type="text/css">
2
 
        .synopsis, .classsynopsis {
3
 
            background: #eeeeee;
4
 
            border: solid 1px #aaaaaa;
5
 
            padding: 0.5em;
6
 
        }
7
 
        .programlisting {
8
 
            background: #eeeeff;
9
 
            border: solid 1px #aaaaff;
10
 
            padding: 0.5em;
11
 
        }
12
 
        .variablelist {
13
 
            padding: 4px;
14
 
            margin-left: 3em;
15
 
        }
16
 
        .navigation {
17
 
            background: #ffeeee;
18
 
            border: solid 1px #ffaaaa;
19
 
            margin-top: 0.5em;
20
 
            margin-bottom: 0.5em;
21
 
        }
22
 
        .navigation a {
23
 
            color: #770000;
24
 
        }
25
 
        .navigation a:visited {
26
 
            color: #550000;
27
 
        }
28
 
        .navigation .title {
29
 
            font-size: 200%;
30
 
        }
31
 
      </style><link rel="home" href="index.html" title="GtkGLExt Reference Manual"><link rel="up" href="GdkGLExt-API.html" title="Part�II.�GdkGLExt API Reference"><link rel="previous" href="gtkglext-gdkglpixmap.html" title="OpenGL Pixmap"><link rel="next" href="gtkglext-gdkglfont.html" title="Font Rendering"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"><td><a accesskey="p" href="gtkglext-gdkglpixmap.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td><td><a accesskey="u" href="GdkGLExt-API.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td><td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td><th width="100%" align="center">GtkGLExt Reference Manual</th><td><a accesskey="n" href="gtkglext-gdkglfont.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td></tr></table><div class="refentry" lang="en"><a name="gtkglext-gdkglwindow"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2><span class="refentrytitle">OpenGL Window</span></h2><p>OpenGL Window &#8212; OpenGL window which is located on-screen</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="GdkGLWindow"></a><pre class="synopsis">
 
1
<html>
 
2
<head>
 
3
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<title>OpenGL Window</title>
 
5
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
 
6
<link rel="home" href="index.html" title="GtkGLExt Reference Manual">
 
7
<link rel="up" href="GdkGLExt-API.html" title="Part&#160;II.&#160;GdkGLExt API Reference">
 
8
<link rel="previous" href="gtkglext-gdkglpixmap.html" title="OpenGL Pixmap">
 
9
<link rel="next" href="gtkglext-gdkglfont.html" title="Font Rendering">
 
10
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
 
11
<link rel="stylesheet" href="style.css" type="text/css">
 
12
<link rel="part" href="Overview.html" title="Part&#160;I.&#160;GtkGLExt Overview">
 
13
<link rel="part" href="GdkGLExt-API.html" title="Part&#160;II.&#160;GdkGLExt API Reference">
 
14
<link rel="part" href="GtkGLExt-API.html" title="Part&#160;III.&#160;GtkGLExt API Reference">
 
15
</head>
 
16
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
17
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
 
18
<td><a accesskey="p" href="gtkglext-gdkglpixmap.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
19
<td><a accesskey="u" href="GdkGLExt-API.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
20
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
21
<th width="100%" align="center">GtkGLExt Reference Manual</th>
 
22
<td><a accesskey="n" href="gtkglext-gdkglfont.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
23
</tr></table>
 
24
<div class="refentry" lang="en">
 
25
<a name="gtkglext-gdkglwindow"></a><div class="titlepage">
 
26
<div></div>
 
27
<div></div>
 
28
</div>
 
29
<div class="refnamediv"><table width="100%"><tr>
 
30
<td valign="top">
 
31
<h2><span class="refentrytitle">OpenGL Window</span></h2>
 
32
<p>OpenGL Window &#8212; OpenGL window which is located on-screen</p>
 
33
</td>
 
34
<td valign="top" align="right"></td>
 
35
</tr></table></div>
 
36
<div class="refsynopsisdiv">
 
37
<h2>Synopsis</h2>
 
38
<a name="GdkGLWindow"></a><pre class="synopsis">
32
39
 
33
40
#include &lt;gdk/gdkgl.h&gt;
34
41
 
35
42
 
36
 
struct      <a href="gtkglext-gdkglwindow.html#GdkGLWindow-struct">GdkGLWindow</a>;
 
43
            <a href="gtkglext-gdkglwindow.html#GdkGLWindow-struct">GdkGLWindow</a>;
37
44
<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* <a href="gtkglext-gdkglwindow.html#gdk-gl-window-new">gdk_gl_window_new</a>              (<a href="gtkglext-gdkglconfig.html#GdkGLConfig">GdkGLConfig</a> *glconfig,
38
 
                                             GdkWindow *window,
 
45
                                             <a
 
46
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
47
>GdkWindow</a> *window,
39
48
                                             const int *attrib_list);
40
49
void        <a href="gtkglext-gdkglwindow.html#gdk-gl-window-destroy">gdk_gl_window_destroy</a>           (<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> *glwindow);
41
 
GdkWindow*  <a href="gtkglext-gdkglwindow.html#gdk-gl-window-get-window">gdk_gl_window_get_window</a>        (<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> *glwindow);
42
 
<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* <a href="gtkglext-gdkglwindow.html#gdk-window-set-gl-capability">gdk_window_set_gl_capability</a>   (GdkWindow *window,
 
50
<a
 
51
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
52
>GdkWindow</a>*  <a href="gtkglext-gdkglwindow.html#gdk-gl-window-get-window">gdk_gl_window_get_window</a>        (<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> *glwindow);
 
53
<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* <a href="gtkglext-gdkglwindow.html#gdk-window-set-gl-capability">gdk_window_set_gl_capability</a>   (<a
 
54
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
55
>GdkWindow</a> *window,
43
56
                                             <a href="gtkglext-gdkglconfig.html#GdkGLConfig">GdkGLConfig</a> *glconfig,
44
57
                                             const int *attrib_list);
45
 
void        <a href="gtkglext-gdkglwindow.html#gdk-window-unset-gl-capability">gdk_window_unset_gl_capability</a>  (GdkWindow *window);
46
 
gboolean    <a href="gtkglext-gdkglwindow.html#gdk-window-is-gl-capable">gdk_window_is_gl_capable</a>        (GdkWindow *window);
47
 
<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* <a href="gtkglext-gdkglwindow.html#gdk-window-get-gl-window">gdk_window_get_gl_window</a>       (GdkWindow *window);
 
58
void        <a href="gtkglext-gdkglwindow.html#gdk-window-unset-gl-capability">gdk_window_unset_gl_capability</a>  (<a
 
59
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
60
>GdkWindow</a> *window);
 
61
<a
 
62
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
63
>gboolean</a>    <a href="gtkglext-gdkglwindow.html#gdk-window-is-gl-capable">gdk_window_is_gl_capable</a>        (<a
 
64
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
65
>GdkWindow</a> *window);
 
66
<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* <a href="gtkglext-gdkglwindow.html#gdk-window-get-gl-window">gdk_window_get_gl_window</a>       (<a
 
67
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
68
>GdkWindow</a> *window);
48
69
#define     <a href="gtkglext-gdkglwindow.html#gdk-window-get-gl-drawable">gdk_window_get_gl_drawable</a>      (window)
49
70
 
50
71
 
51
 
</pre></div><div class="refsect1" lang="en"><h2>Object Hierarchy</h2><pre class="synopsis">
 
72
</pre>
 
73
</div>
 
74
<div class="refsect1" lang="en">
 
75
<a name="id2512864"></a><h2>Object Hierarchy</h2>
 
76
<pre class="synopsis">
52
77
 
53
 
  GObject
54
 
   +----GdkDrawable
 
78
  <a
 
79
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
 
80
>GObject</a>
 
81
   +----<a
 
82
href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"
 
83
>GdkDrawable</a>
55
84
         +----GdkGLWindow
56
 
</pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
57
 
 
58
 
</p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="GdkGLWindow-struct"></a>struct GdkGLWindow</h3><pre class="programlisting">struct GdkGLWindow;</pre><p>
59
 
 
60
 
</p></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-gl-window-new"></a>gdk_gl_window_new ()</h3><pre class="programlisting"><a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* gdk_gl_window_new              (<a href="gtkglext-gdkglconfig.html#GdkGLConfig">GdkGLConfig</a> *glconfig,
61
 
                                             GdkWindow *window,
62
 
                                             const int *attrib_list);</pre><p>
 
85
</pre>
 
86
</div>
 
87
<div class="refsect1" lang="en">
 
88
<a name="id2512891"></a><h2>Description</h2>
 
89
<p>
 
90
 
 
91
</p>
 
92
</div>
 
93
<div class="refsect1" lang="en">
 
94
<a name="id2512901"></a><h2>Details</h2>
 
95
<div class="refsect2" lang="en">
 
96
<a name="id2512906"></a><h3>
 
97
<a name="GdkGLWindow-struct"></a>GdkGLWindow</h3>
 
98
<a class="indexterm" name="id2512917"></a><pre class="programlisting">typedef struct _GdkGLWindow GdkGLWindow;</pre>
 
99
<p>
 
100
 
 
101
</p>
 
102
</div>
 
103
<hr>
 
104
<div class="refsect2" lang="en">
 
105
<a name="id2512932"></a><h3>
 
106
<a name="gdk-gl-window-new"></a>gdk_gl_window_new ()</h3>
 
107
<a class="indexterm" name="id2512944"></a><pre class="programlisting"><a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* gdk_gl_window_new              (<a href="gtkglext-gdkglconfig.html#GdkGLConfig">GdkGLConfig</a> *glconfig,
 
108
                                             <a
 
109
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
110
>GdkWindow</a> *window,
 
111
                                             const int *attrib_list);</pre>
 
112
<p>
63
113
Creates an on-screen rendering area.
64
114
attrib_list is currently unused. This must be set to NULL or empty
65
 
(first attribute of None). See GLX 1.3 spec.</p><p>
 
115
(first attribute of None). See GLX 1.3 spec.</p>
 
116
<p>
66
117
 
67
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>glconfig</tt></i>�:</span></td><td> a <a href="gtkglext-gdkglconfig.html#GdkGLConfig">GdkGLConfig</a>.
68
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>window</tt></i>�:</span></td><td> the GdkWindow to be used as the rendering area.
69
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>attrib_list</tt></i>�:</span></td><td> this must be set to NULL or empty (first attribute of None).
70
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the new <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>.
71
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-gl-window-destroy"></a>gdk_gl_window_destroy ()</h3><pre class="programlisting">void        gdk_gl_window_destroy           (<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> *glwindow);</pre><p>
 
118
</p>
 
119
<div class="variablelist"><table border="0">
 
120
<col align="left" valign="top">
 
121
<tbody>
 
122
<tr>
 
123
<td>
 
124
<span class="term"><i class="parameter"><tt>glconfig</tt></i>&#160;:</span></td>
 
125
<td> a <a href="gtkglext-gdkglconfig.html#GdkGLConfig"><span class="type">GdkGLConfig</span></a>.
 
126
</td>
 
127
</tr>
 
128
<tr>
 
129
<td>
 
130
<span class="term"><i class="parameter"><tt>window</tt></i>&#160;:</span></td>
 
131
<td> the <a
 
132
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
133
><span class="type">GdkWindow</span></a> to be used as the rendering area.
 
134
</td>
 
135
</tr>
 
136
<tr>
 
137
<td>
 
138
<span class="term"><i class="parameter"><tt>attrib_list</tt></i>&#160;:</span></td>
 
139
<td> this must be set to NULL or empty (first attribute of None).
 
140
</td>
 
141
</tr>
 
142
<tr>
 
143
<td>
 
144
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
145
<td> the new <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a>.
 
146
</td>
 
147
</tr>
 
148
</tbody>
 
149
</table></div>
 
150
</div>
 
151
<hr>
 
152
<div class="refsect2" lang="en">
 
153
<a name="id2513073"></a><h3>
 
154
<a name="gdk-gl-window-destroy"></a>gdk_gl_window_destroy ()</h3>
 
155
<a class="indexterm" name="id2513084"></a><pre class="programlisting">void        gdk_gl_window_destroy           (<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> *glwindow);</pre>
 
156
<p>
72
157
Destroys the OpenGL resources associated with <i class="parameter"><tt>glwindow</tt></i> and
73
 
decrements <i class="parameter"><tt>glwindow</tt></i>'s reference count.</p><p>
74
 
 
75
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>glwindow</tt></i>�:</span></td><td> a <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>.
76
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-gl-window-get-window"></a>gdk_gl_window_get_window ()</h3><pre class="programlisting">GdkWindow*  gdk_gl_window_get_window        (<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> *glwindow);</pre><p>
77
 
Returns the GdkWindow associated with <i class="parameter"><tt>glwindow</tt></i>.
78
 
</p><p>
79
 
Notice that <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> is not GdkWindow, but another
80
 
GdkDrawable which have an associated GdkWindow.</p><p>
81
 
 
82
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>glwindow</tt></i>�:</span></td><td> a <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>.
83
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the GdkWindow associated with <i class="parameter"><tt>glwindow</tt></i>.
84
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-window-set-gl-capability"></a>gdk_window_set_gl_capability ()</h3><pre class="programlisting"><a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* gdk_window_set_gl_capability   (GdkWindow *window,
 
158
decrements <i class="parameter"><tt>glwindow</tt></i>'s reference count.</p>
 
159
<p>
 
160
 
 
161
</p>
 
162
<div class="variablelist"><table border="0">
 
163
<col align="left" valign="top">
 
164
<tbody><tr>
 
165
<td>
 
166
<span class="term"><i class="parameter"><tt>glwindow</tt></i>&#160;:</span></td>
 
167
<td> a <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a>.
 
168
</td>
 
169
</tr></tbody>
 
170
</table></div>
 
171
</div>
 
172
<hr>
 
173
<div class="refsect2" lang="en">
 
174
<a name="id2513154"></a><h3>
 
175
<a name="gdk-gl-window-get-window"></a>gdk_gl_window_get_window ()</h3>
 
176
<a class="indexterm" name="id2513165"></a><pre class="programlisting"><a
 
177
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
178
>GdkWindow</a>*  gdk_gl_window_get_window        (<a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> *glwindow);</pre>
 
179
<p>
 
180
Returns the <a
 
181
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
182
><span class="type">GdkWindow</span></a> associated with <i class="parameter"><tt>glwindow</tt></i>.
 
183
</p>
 
184
<p>
 
185
Notice that <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a> is not <a
 
186
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
187
><span class="type">GdkWindow</span></a>, but another
 
188
<a
 
189
href="/usr/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html#GdkDrawable"
 
190
><span class="type">GdkDrawable</span></a> which have an associated <a
 
191
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
192
><span class="type">GdkWindow</span></a>.</p>
 
193
<p>
 
194
 
 
195
</p>
 
196
<div class="variablelist"><table border="0">
 
197
<col align="left" valign="top">
 
198
<tbody>
 
199
<tr>
 
200
<td>
 
201
<span class="term"><i class="parameter"><tt>glwindow</tt></i>&#160;:</span></td>
 
202
<td> a <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a>.
 
203
</td>
 
204
</tr>
 
205
<tr>
 
206
<td>
 
207
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
208
<td> the <a
 
209
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
210
><span class="type">GdkWindow</span></a> associated with <i class="parameter"><tt>glwindow</tt></i>.
 
211
</td>
 
212
</tr>
 
213
</tbody>
 
214
</table></div>
 
215
</div>
 
216
<hr>
 
217
<div class="refsect2" lang="en">
 
218
<a name="id2513296"></a><h3>
 
219
<a name="gdk-window-set-gl-capability"></a>gdk_window_set_gl_capability ()</h3>
 
220
<a class="indexterm" name="id2513307"></a><pre class="programlisting"><a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* gdk_window_set_gl_capability   (<a
 
221
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
222
>GdkWindow</a> *window,
85
223
                                             <a href="gtkglext-gdkglconfig.html#GdkGLConfig">GdkGLConfig</a> *glconfig,
86
 
                                             const int *attrib_list);</pre><p>
 
224
                                             const int *attrib_list);</pre>
 
225
<p>
87
226
Set the OpenGL-capability to the <i class="parameter"><tt>window</tt></i>.
88
 
This function creates a new <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> held by the <i class="parameter"><tt>window</tt></i>.
 
227
This function creates a new <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a> held by the <i class="parameter"><tt>window</tt></i>.
89
228
attrib_list is currently unused. This must be set to NULL or empty
90
 
(first attribute of None).</p><p>
 
229
(first attribute of None).</p>
 
230
<p>
91
231
 
92
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>window</tt></i>�:</span></td><td> the GdkWindow to be used as the rendering area.
93
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>glconfig</tt></i>�:</span></td><td> a <a href="gtkglext-gdkglconfig.html#GdkGLConfig">GdkGLConfig</a>.
94
 
</td></tr><tr><td><span class="term"><i class="parameter"><tt>attrib_list</tt></i>�:</span></td><td> this must be set to NULL or empty (first attribute of None).
95
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> used by the <i class="parameter"><tt>window</tt></i> if it is successful,
 
232
</p>
 
233
<div class="variablelist"><table border="0">
 
234
<col align="left" valign="top">
 
235
<tbody>
 
236
<tr>
 
237
<td>
 
238
<span class="term"><i class="parameter"><tt>window</tt></i>&#160;:</span></td>
 
239
<td> the <a
 
240
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
241
><span class="type">GdkWindow</span></a> to be used as the rendering area.
 
242
</td>
 
243
</tr>
 
244
<tr>
 
245
<td>
 
246
<span class="term"><i class="parameter"><tt>glconfig</tt></i>&#160;:</span></td>
 
247
<td> a <a href="gtkglext-gdkglconfig.html#GdkGLConfig"><span class="type">GdkGLConfig</span></a>.
 
248
</td>
 
249
</tr>
 
250
<tr>
 
251
<td>
 
252
<span class="term"><i class="parameter"><tt>attrib_list</tt></i>&#160;:</span></td>
 
253
<td> this must be set to NULL or empty (first attribute of None).
 
254
</td>
 
255
</tr>
 
256
<tr>
 
257
<td>
 
258
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
259
<td> the <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a> used by the <i class="parameter"><tt>window</tt></i> if it is successful,
96
260
              NULL otherwise.
97
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-window-unset-gl-capability"></a>gdk_window_unset_gl_capability ()</h3><pre class="programlisting">void        gdk_window_unset_gl_capability  (GdkWindow *window);</pre><p>
 
261
</td>
 
262
</tr>
 
263
</tbody>
 
264
</table></div>
 
265
</div>
 
266
<hr>
 
267
<div class="refsect2" lang="en">
 
268
<a name="id2513464"></a><h3>
 
269
<a name="gdk-window-unset-gl-capability"></a>gdk_window_unset_gl_capability ()</h3>
 
270
<a class="indexterm" name="id2513476"></a><pre class="programlisting">void        gdk_window_unset_gl_capability  (<a
 
271
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
272
>GdkWindow</a> *window);</pre>
 
273
<p>
98
274
Unset the OpenGL-capability of the <i class="parameter"><tt>window</tt></i>.
99
 
This function destroys the <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> held by the <i class="parameter"><tt>window</tt></i>.</p><p>
100
 
 
101
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>window</tt></i>�:</span></td><td> a GdkWindow.
102
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-window-is-gl-capable"></a>gdk_window_is_gl_capable ()</h3><pre class="programlisting">gboolean    gdk_window_is_gl_capable        (GdkWindow *window);</pre><p>
103
 
Returns whether the <i class="parameter"><tt>window</tt></i> is OpenGL-capable.</p><p>
104
 
 
105
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>window</tt></i>�:</span></td><td> a GdkWindow.
106
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> TRUE if the <i class="parameter"><tt>window</tt></i> is OpenGL-capable, FALSE otherwise.
107
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-window-get-gl-window"></a>gdk_window_get_gl_window ()</h3><pre class="programlisting"><a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* gdk_window_get_gl_window       (GdkWindow *window);</pre><p>
108
 
Returns the <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a> held by the <i class="parameter"><tt>window</tt></i>.</p><p>
109
 
 
110
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>window</tt></i>�:</span></td><td> a GdkWindow.
111
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td> the <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>.
112
 
</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><h3><a name="gdk-window-get-gl-drawable"></a>gdk_window_get_gl_drawable()</h3><pre class="programlisting">#define     gdk_window_get_gl_drawable(window)</pre><p>
113
 
Returns the <a href="gtkglext-gdkgldrawable.html#GdkGLDrawable">GdkGLDrawable</a> held by the <i class="parameter"><tt>window</tt></i>. In fact, this is macro
114
 
that casts the result of <a href="gtkglext-gdkglwindow.html#gdk-window-get-gl-window">gdk_window_get_gl_window</a> to <a href="gtkglext-gdkgldrawable.html#GdkGLDrawable">GdkGLDrawable</a>.
115
 
</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i class="parameter"><tt>window</tt></i>�:</span></td><td>a <a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>.
116
 
</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the <a href="gtkglext-gdkgldrawable.html#GdkGLDrawable">GdkGLDrawable</a>.
117
 
 
118
 
 
119
 
</td></tr></tbody></table></div></div></div></div><table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="gtkglext-gdkglpixmap.html"><b>&lt;&lt;�OpenGL Pixmap</b></a></td><td align="right"><a accesskey="n" href="gtkglext-gdkglfont.html"><b>Font Rendering�&gt;&gt;</b></a></td></tr></table></body></html>
 
275
This function destroys the <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a> held by the <i class="parameter"><tt>window</tt></i>.</p>
 
276
<p>
 
277
 
 
278
</p>
 
279
<div class="variablelist"><table border="0">
 
280
<col align="left" valign="top">
 
281
<tbody><tr>
 
282
<td>
 
283
<span class="term"><i class="parameter"><tt>window</tt></i>&#160;:</span></td>
 
284
<td> a <a
 
285
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
286
><span class="type">GdkWindow</span></a>.
 
287
</td>
 
288
</tr></tbody>
 
289
</table></div>
 
290
</div>
 
291
<hr>
 
292
<div class="refsect2" lang="en">
 
293
<a name="id2513554"></a><h3>
 
294
<a name="gdk-window-is-gl-capable"></a>gdk_window_is_gl_capable ()</h3>
 
295
<a class="indexterm" name="id2513564"></a><pre class="programlisting"><a
 
296
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
297
>gboolean</a>    gdk_window_is_gl_capable        (<a
 
298
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
299
>GdkWindow</a> *window);</pre>
 
300
<p>
 
301
Returns whether the <i class="parameter"><tt>window</tt></i> is OpenGL-capable.</p>
 
302
<p>
 
303
 
 
304
</p>
 
305
<div class="variablelist"><table border="0">
 
306
<col align="left" valign="top">
 
307
<tbody>
 
308
<tr>
 
309
<td>
 
310
<span class="term"><i class="parameter"><tt>window</tt></i>&#160;:</span></td>
 
311
<td> a <a
 
312
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
313
><span class="type">GdkWindow</span></a>.
 
314
</td>
 
315
</tr>
 
316
<tr>
 
317
<td>
 
318
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
319
<td> TRUE if the <i class="parameter"><tt>window</tt></i> is OpenGL-capable, FALSE otherwise.
 
320
</td>
 
321
</tr>
 
322
</tbody>
 
323
</table></div>
 
324
</div>
 
325
<hr>
 
326
<div class="refsect2" lang="en">
 
327
<a name="id2513645"></a><h3>
 
328
<a name="gdk-window-get-gl-window"></a>gdk_window_get_gl_window ()</h3>
 
329
<a class="indexterm" name="id2513656"></a><pre class="programlisting"><a href="gtkglext-gdkglwindow.html#GdkGLWindow">GdkGLWindow</a>* gdk_window_get_gl_window       (<a
 
330
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
331
>GdkWindow</a> *window);</pre>
 
332
<p>
 
333
Returns the <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a> held by the <i class="parameter"><tt>window</tt></i>.</p>
 
334
<p>
 
335
 
 
336
</p>
 
337
<div class="variablelist"><table border="0">
 
338
<col align="left" valign="top">
 
339
<tbody>
 
340
<tr>
 
341
<td>
 
342
<span class="term"><i class="parameter"><tt>window</tt></i>&#160;:</span></td>
 
343
<td> a <a
 
344
href="/usr/share/gtk-doc/html/gdk/gdk-Windows.html#GdkWindow"
 
345
><span class="type">GdkWindow</span></a>.
 
346
</td>
 
347
</tr>
 
348
<tr>
 
349
<td>
 
350
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
351
<td> the <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a>.
 
352
</td>
 
353
</tr>
 
354
</tbody>
 
355
</table></div>
 
356
</div>
 
357
<hr>
 
358
<div class="refsect2" lang="en">
 
359
<a name="id2513745"></a><h3>
 
360
<a name="gdk-window-get-gl-drawable"></a>gdk_window_get_gl_drawable()</h3>
 
361
<a class="indexterm" name="id2513756"></a><pre class="programlisting">#define     gdk_window_get_gl_drawable(window)</pre>
 
362
<p>
 
363
Returns the <a href="gtkglext-gdkgldrawable.html#GdkGLDrawable"><span class="type">GdkGLDrawable</span></a> held by the <i class="parameter"><tt>window</tt></i>. In fact, this is macro
 
364
that casts the result of <a href="gtkglext-gdkglwindow.html#gdk-window-get-gl-window"><span class="type">gdk_window_get_gl_window</span></a> to <a href="gtkglext-gdkgldrawable.html#GdkGLDrawable"><span class="type">GdkGLDrawable</span></a>.
 
365
</p>
 
366
<div class="variablelist"><table border="0">
 
367
<col align="left" valign="top">
 
368
<tbody>
 
369
<tr>
 
370
<td>
 
371
<span class="term"><i class="parameter"><tt>window</tt></i>&#160;:</span></td>
 
372
<td>a <a href="gtkglext-gdkglwindow.html#GdkGLWindow"><span class="type">GdkGLWindow</span></a>.
 
373
</td>
 
374
</tr>
 
375
<tr>
 
376
<td>
 
377
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
378
<td>the <a href="gtkglext-gdkgldrawable.html#GdkGLDrawable"><span class="type">GdkGLDrawable</span></a>.
 
379
 
 
380
 
 
381
</td>
 
382
</tr>
 
383
</tbody>
 
384
</table></div>
 
385
</div>
 
386
</div>
 
387
</div>
 
388
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
 
389
<td align="left"><a accesskey="p" href="gtkglext-gdkglpixmap.html"><b>&lt;&lt;&#160;OpenGL Pixmap</b></a></td>
 
390
<td align="right"><a accesskey="n" href="gtkglext-gdkglfont.html"><b>Font Rendering&#160;&gt;&gt;</b></a></td>
 
391
</tr></table>
 
392
</body>
 
393
</html>