~ubuntu-branches/debian/experimental/gtk+2.0/experimental

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/gtk-Types.html

  • Committer: Package Import Robot
  • Author(s): Josselin Mouette
  • Date: 2011-09-02 17:17:47 UTC
  • mto: (72.4.15 sid)
  • mto: This revision was merged to the branch mainline in revision 102.
  • Revision ID: package-import@ubuntu.com-20110902171747-i8dr3czswn2sk7tu
Tags: upstream-2.24.6
Import upstream version 2.24.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
typedef             <a class="link" href="gtk-Types.html#GtkClassInitFunc" title="GtkClassInitFunc">GtkClassInitFunc</a>;
59
59
typedef             <a class="link" href="gtk-Types.html#GtkObjectInitFunc" title="GtkObjectInitFunc">GtkObjectInitFunc</a>;
60
60
<span class="returnvalue">void</span>                (<a class="link" href="gtk-Types.html#GtkSignalFunc" title="GtkSignalFunc ()">*GtkSignalFunc</a>)                    (<em class="parameter"><code><span class="type">void</span></code></em>);
61
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (<a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()">*GtkFunction</a>)                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
62
 
<span class="returnvalue">void</span>                (<a class="link" href="gtk-Types.html#GtkDestroyNotify" title="GtkDestroyNotify ()">*GtkDestroyNotify</a>)                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
 
61
<span class="returnvalue">gboolean</span>            (<a class="link" href="gtk-Types.html#GtkFunction" title="GtkFunction ()">*GtkFunction</a>)                      (<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
 
62
<span class="returnvalue">void</span>                (<a class="link" href="gtk-Types.html#GtkDestroyNotify" title="GtkDestroyNotify ()">*GtkDestroyNotify</a>)                 (<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
63
63
<span class="returnvalue">void</span>                (<a class="link" href="gtk-Types.html#GtkCallbackMarshal" title="GtkCallbackMarshal ()">*GtkCallbackMarshal</a>)               (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
64
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
65
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_args</code></em>,
 
64
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
65
                                                         <em class="parameter"><code><span class="type">guint</span> n_args</code></em>,
66
66
                                                         <em class="parameter"><code><a class="link" href="gtk-Types.html#GtkArg" title="struct GtkArg"><span class="type">GtkArg</span></a> *args</code></em>);
67
67
typedef             <a class="link" href="gtk-Types.html#GtkSignalMarshaller" title="GtkSignalMarshaller">GtkSignalMarshaller</a>;
68
68
typedef             <a class="link" href="gtk-Types.html#GtkTypeObject" title="GtkTypeObject">GtkTypeObject</a>;
102
102
typedef             <a class="link" href="gtk-Types.html#GtkTypeClass" title="GtkTypeClass">GtkTypeClass</a>;
103
103
typedef             <a class="link" href="gtk-Types.html#GtkEnumValue" title="GtkEnumValue">GtkEnumValue</a>;
104
104
typedef             <a class="link" href="gtk-Types.html#GtkFlagValue" title="GtkFlagValue">GtkFlagValue</a>;
105
 
<span class="returnvalue">void</span>                <a class="link" href="gtk-Types.html#gtk-type-init" title="gtk_type_init ()">gtk_type_init</a>                       (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> debug_flags</code></em>);
 
105
<span class="returnvalue">void</span>                <a class="link" href="gtk-Types.html#gtk-type-init" title="gtk_type_init ()">gtk_type_init</a>                       (<em class="parameter"><code><span class="type">GTypeDebugFlags</span> debug_flags</code></em>);
106
106
<a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="returnvalue">GtkType</span></a>             <a class="link" href="gtk-Types.html#gtk-type-unique" title="gtk_type_unique ()">gtk_type_unique</a>                     (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> parent_type</code></em>,
107
107
                                                         <em class="parameter"><code>const <a class="link" href="gtk-Types.html#GtkTypeInfo" title="struct GtkTypeInfo"><span class="type">GtkTypeInfo</span></a> *gtkinfo</code></em>);
108
108
#define             <a class="link" href="gtk-Types.html#gtk-type-name" title="gtk_type_name()">gtk_type_name</a>                       (type)
109
109
#define             <a class="link" href="gtk-Types.html#gtk-type-from-name" title="gtk_type_from_name()">gtk_type_from_name</a>                  (name)
110
110
#define             <a class="link" href="gtk-Types.html#gtk-type-parent" title="gtk_type_parent()">gtk_type_parent</a>                     (type)
111
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="gtk-Types.html#gtk-type-class" title="gtk_type_class ()">gtk_type_class</a>                      (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);
112
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="gtk-Types.html#gtk-type-new" title="gtk_type_new ()">gtk_type_new</a>                        (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);
 
111
<span class="returnvalue">gpointer</span>            <a class="link" href="gtk-Types.html#gtk-type-class" title="gtk_type_class ()">gtk_type_class</a>                      (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);
 
112
<span class="returnvalue">gpointer</span>            <a class="link" href="gtk-Types.html#gtk-type-new" title="gtk_type_new ()">gtk_type_new</a>                        (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);
113
113
#define             <a class="link" href="gtk-Types.html#gtk-type-is-a" title="gtk_type_is_a()">gtk_type_is_a</a>                       (type,
114
114
                                                         is_a_type)
115
115
<a class="link" href="gtk-Types.html#GtkEnumValue" title="GtkEnumValue"><span class="returnvalue">GtkEnumValue</span></a> *      <a class="link" href="gtk-Types.html#gtk-type-enum-get-values" title="gtk_type_enum_get_values ()">gtk_type_enum_get_values</a>            (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> enum_type</code></em>);
116
116
<a class="link" href="gtk-Types.html#GtkFlagValue" title="GtkFlagValue"><span class="returnvalue">GtkFlagValue</span></a> *      <a class="link" href="gtk-Types.html#gtk-type-flags-get-values" title="gtk_type_flags_get_values ()">gtk_type_flags_get_values</a>           (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> flags_type</code></em>);
117
117
<a class="link" href="gtk-Types.html#GtkEnumValue" title="GtkEnumValue"><span class="returnvalue">GtkEnumValue</span></a> *      <a class="link" href="gtk-Types.html#gtk-type-enum-find-value" title="gtk_type_enum_find_value ()">gtk_type_enum_find_value</a>            (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> enum_type</code></em>,
118
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</code></em>);
 
118
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *value_name</code></em>);
119
119
<a class="link" href="gtk-Types.html#GtkFlagValue" title="GtkFlagValue"><span class="returnvalue">GtkFlagValue</span></a> *      <a class="link" href="gtk-Types.html#gtk-type-flags-find-value" title="gtk_type_flags_find_value ()">gtk_type_flags_find_value</a>           (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> flags_type</code></em>,
120
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</code></em>);
 
120
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *value_name</code></em>);
121
121
</pre>
122
122
</div>
123
123
<div class="refsect1">
165
165
</pre>
166
166
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
167
167
<h3 class="title">Warning</h3>
168
 
<p><code class="literal">GTK_CLASS_NAME</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-name"><code class="function">g_type_name()</code></a> and <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS"><code class="function">G_TYPE_FROM_CLASS()</code></a> instead.</p>
 
168
<p><code class="literal">GTK_CLASS_NAME</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_type_name()</code> and <code class="function">G_TYPE_FROM_CLASS()</code> instead.</p>
169
169
</div>
170
170
<p>
171
171
Returns the type name of <em class="parameter"><code>class</code></em>.
185
185
</pre>
186
186
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
187
187
<h3 class="title">Warning</h3>
188
 
<p><code class="literal">GTK_CLASS_TYPE</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS"><code class="function">G_TYPE_FROM_CLASS()</code></a> instead.</p>
 
188
<p><code class="literal">GTK_CLASS_TYPE</code> is deprecated and should not be used in newly-written code. Use <code class="function">G_TYPE_FROM_CLASS()</code> instead.</p>
189
189
</div>
190
190
<p>
191
191
Returns the type of <em class="parameter"><code>class</code></em>.
205
205
</pre>
206
206
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
207
207
<h3 class="title">Warning</h3>
208
 
<p><code class="literal">GTK_TYPE_IS_OBJECT</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#G-TYPE-IS-OBJECT:CAPS"><code class="function">G_TYPE_IS_OBJECT()</code></a> instead.</p>
 
208
<p><code class="literal">GTK_TYPE_IS_OBJECT</code> is deprecated and should not be used in newly-written code. Use <code class="function">G_TYPE_IS_OBJECT()</code> instead.</p>
209
209
</div>
210
210
<p>
211
 
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a <code class="literal">GTK_TYPE_OBJECT</code>.
 
211
Returns <code class="literal">TRUE</code> if <em class="parameter"><code>type</code></em> is a <code class="literal">GTK_TYPE_OBJECT</code>.
212
212
</p>
213
213
<div class="variablelist"><table border="0">
214
214
<col align="left" valign="top">
238
238
</pre>
239
239
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
240
240
<h3 class="title">Warning</h3>
241
 
<p><code class="literal">GTK_TYPE_FUNDAMENTAL_MAX</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-FUNDAMENTAL-MAX:CAPS"><span class="type">G_TYPE_FUNDAMENTAL_MAX</span></a> instead.</p>
 
241
<p><code class="literal">GTK_TYPE_FUNDAMENTAL_MAX</code> is deprecated and should not be used in newly-written code. Use <span class="type">G_TYPE_FUNDAMENTAL_MAX</span> instead.</p>
242
242
</div>
243
243
<p>
244
244
The maximum fundamental enumerated type value.
251
251
</pre>
252
252
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
253
253
<h3 class="title">Warning</h3>
254
 
<p><code class="literal">GTK_STRUCT_OFFSET</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS"><code class="function">G_STRUCT_OFFSET()</code></a> instead.</p>
 
254
<p><code class="literal">GTK_STRUCT_OFFSET</code> is deprecated and should not be used in newly-written code. Use <code class="function">G_STRUCT_OFFSET()</code> instead.</p>
255
255
</div>
256
256
<p>
257
257
Use in place of <code class="function"><code class="function">offsetof()</code></code>, which is used if it exists.
393
393
<hr>
394
394
<div class="refsect2">
395
395
<a name="GtkFunction"></a><h3>GtkFunction ()</h3>
396
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            (*GtkFunction)                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
396
<pre class="programlisting"><span class="returnvalue">gboolean</span>            (*GtkFunction)                      (<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
397
397
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
398
398
<h3 class="title">Warning</h3>
399
 
<p><code class="literal">GtkFunction</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GSourceFunc"><code class="function">GSourceFunc()</code></a> instead.</p>
 
399
<p><code class="literal">GtkFunction</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <code class="function">GSourceFunc()</code> instead.</p>
400
400
</div>
401
401
<p>
402
402
Defines a function pointer.
406
406
<tbody>
407
407
<tr>
408
408
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
409
 
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
 
409
<td><span class="type">gpointer</span></td>
410
410
</tr>
411
411
<tr>
412
412
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
413
 
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
 
413
<td><span class="type">gint</span></td>
414
414
</tr>
415
415
</tbody>
416
416
</table></div>
418
418
<hr>
419
419
<div class="refsect2">
420
420
<a name="GtkDestroyNotify"></a><h3>GtkDestroyNotify ()</h3>
421
 
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkDestroyNotify)                 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
421
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkDestroyNotify)                 (<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
422
422
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
423
423
<h3 class="title">Warning</h3>
424
424
<p><code class="literal">GtkDestroyNotify</code> is deprecated and should not be used in newly-written code.</p>
430
430
<col align="left" valign="top">
431
431
<tbody><tr>
432
432
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
433
 
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
 
433
<td><span class="type">gpointer</span></td>
434
434
</tr></tbody>
435
435
</table></div>
436
436
</div>
438
438
<div class="refsect2">
439
439
<a name="GtkCallbackMarshal"></a><h3>GtkCallbackMarshal ()</h3>
440
440
<pre class="programlisting"><span class="returnvalue">void</span>                (*GtkCallbackMarshal)               (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
441
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
442
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_args</code></em>,
 
441
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
442
                                                         <em class="parameter"><code><span class="type">guint</span> n_args</code></em>,
443
443
                                                         <em class="parameter"><code><a class="link" href="gtk-Types.html#GtkArg" title="struct GtkArg"><span class="type">GtkArg</span></a> *args</code></em>);</pre>
444
444
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
445
445
<h3 class="title">Warning</h3>
458
458
</tr>
459
459
<tr>
460
460
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
461
 
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a></td>
 
461
<td><span class="type">gpointer</span></td>
462
462
</tr>
463
463
<tr>
464
464
<td><p><span class="term"><em class="parameter"><code>n_args</code></em> :</span></p></td>
465
 
<td><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
 
465
<td><span class="type">guint</span></td>
466
466
</tr>
467
467
<tr>
468
468
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
1234
1234
<hr>
1235
1235
<div class="refsect2">
1236
1236
<a name="gtk-type-init"></a><h3>gtk_type_init ()</h3>
1237
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_type_init                       (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> debug_flags</code></em>);</pre>
 
1237
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_type_init                       (<em class="parameter"><code><span class="type">GTypeDebugFlags</span> debug_flags</code></em>);</pre>
1238
1238
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1239
1239
<h3 class="title">Warning</h3>
1240
1240
<p><code class="literal">gtk_type_init</code> is deprecated and should not be used in newly-written code.</p>
1271
1271
</tr>
1272
1272
<tr>
1273
1273
<td><p><span class="term"><em class="parameter"><code>gtkinfo</code></em> :</span></p></td>
1274
 
<td>must not be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, and <em class="parameter"><code>type_info-&gt;type_name</code></em> must also not be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
1274
<td>must not be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, and <em class="parameter"><code>type_info-&gt;type_name</code></em> must also not be <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
1275
1275
</td>
1276
1276
</tr>
1277
1277
<tr>
1292
1292
<p><code class="literal">gtk_type_name</code> is deprecated and should not be used in newly-written code.</p>
1293
1293
</div>
1294
1294
<p>
1295
 
Returns a pointer to the name of a type, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it has none.
 
1295
Returns a pointer to the name of a type, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if it has none.
1296
1296
</p>
1297
1297
<div class="variablelist"><table border="0">
1298
1298
<col align="left" valign="top">
1303
1303
</tr>
1304
1304
<tr>
1305
1305
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1306
 
<td>a pointer to the name of a type, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it has none.</td>
 
1306
<td>a pointer to the name of a type, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if it has none.</td>
1307
1307
</tr>
1308
1308
</tbody>
1309
1309
</table></div>
1363
1363
<hr>
1364
1364
<div class="refsect2">
1365
1365
<a name="gtk-type-class"></a><h3>gtk_type_class ()</h3>
1366
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gtk_type_class                      (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);</pre>
 
1366
<pre class="programlisting"><span class="returnvalue">gpointer</span>            gtk_type_class                      (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);</pre>
1367
1367
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1368
1368
<h3 class="title">Warning</h3>
1369
 
<p><code class="literal">gtk_type_class</code> has been deprecated since version 2.14 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-class-peek"><code class="function">g_type_class_peek()</code></a> or <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#g-type-class-ref"><code class="function">g_type_class_ref()</code></a> instead.</p>
 
1369
<p><code class="literal">gtk_type_class</code> has been deprecated since version 2.14 and should not be used in newly-written code. Use <code class="function">g_type_class_peek()</code> or <code class="function">g_type_class_ref()</code> instead.</p>
1370
1370
</div>
1371
1371
<p>
1372
 
Returns a pointer pointing to the class of <em class="parameter"><code>type</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there
 
1372
Returns a pointer pointing to the class of <em class="parameter"><code>type</code></em> or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if there
1373
1373
was any trouble identifying <em class="parameter"><code>type</code></em>.  Initializes the class if
1374
1374
necessary.
1375
1375
</p>
1376
1376
<p>
1377
 
Returns a pointer pointing to the class of <em class="parameter"><code>type</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there was
 
1377
Returns a pointer pointing to the class of <em class="parameter"><code>type</code></em> or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if there was
1378
1378
any trouble identifying <em class="parameter"><code>type</code></em>.  Initializes the class if necessary.
1379
1379
</p>
1380
1380
<div class="variablelist"><table border="0">
1394
1394
<hr>
1395
1395
<div class="refsect2">
1396
1396
<a name="gtk-type-new"></a><h3>gtk_type_new ()</h3>
1397
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gtk_type_new                        (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);</pre>
 
1397
<pre class="programlisting"><span class="returnvalue">gpointer</span>            gtk_type_new                        (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> type</code></em>);</pre>
1398
1398
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1399
1399
<h3 class="title">Warning</h3>
1400
1400
<p><code class="literal">gtk_type_new</code> is deprecated and should not be used in newly-written code.</p>
1401
1401
</div>
1402
1402
<p>
1403
1403
Creates a new object of a given type, and return a pointer to it.
1404
 
Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you give it an invalid type.  It allocates the object
 
1404
Returns <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if you give it an invalid type.  It allocates the object
1405
1405
out of the type's memory chunk if there is a memory chunk.  The object
1406
1406
has all the proper initializers called.
1407
1407
</p>
1446
1446
<tr>
1447
1447
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1448
1448
<td>
1449
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> is a <em class="parameter"><code>is_a_type</code></em>.</td>
 
1449
<code class="literal">TRUE</code> if <em class="parameter"><code>type</code></em> is a <em class="parameter"><code>is_a_type</code></em>.</td>
1450
1450
</tr>
1451
1451
</tbody>
1452
1452
</table></div>
1507
1507
<div class="refsect2">
1508
1508
<a name="gtk-type-enum-find-value"></a><h3>gtk_type_enum_find_value ()</h3>
1509
1509
<pre class="programlisting"><a class="link" href="gtk-Types.html#GtkEnumValue" title="GtkEnumValue"><span class="returnvalue">GtkEnumValue</span></a> *      gtk_type_enum_find_value            (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> enum_type</code></em>,
1510
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</code></em>);</pre>
 
1510
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *value_name</code></em>);</pre>
1511
1511
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1512
1512
<h3 class="title">Warning</h3>
1513
1513
<p><code class="literal">gtk_type_enum_find_value</code> is deprecated and should not be used in newly-written code.</p>
1538
1538
<div class="refsect2">
1539
1539
<a name="gtk-type-flags-find-value"></a><h3>gtk_type_flags_find_value ()</h3>
1540
1540
<pre class="programlisting"><a class="link" href="gtk-Types.html#GtkFlagValue" title="GtkFlagValue"><span class="returnvalue">GtkFlagValue</span></a> *      gtk_type_flags_find_value           (<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkType" title="GtkType"><span class="type">GtkType</span></a> flags_type</code></em>,
1541
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</code></em>);</pre>
 
1541
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *value_name</code></em>);</pre>
1542
1542
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1543
1543
<h3 class="title">Warning</h3>
1544
1544
<p><code class="literal">gtk_type_flags_find_value</code> is deprecated and should not be used in newly-written code.</p>