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="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</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>);
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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
65
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_args</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>,
66
66
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkArg" title="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="/usr/share/gtk-doc/html/gobject/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><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> 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="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="/usr/share/gtk-doc/html/glib/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="/usr/share/gtk-doc/html/glib/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
<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>);
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,
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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</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>);
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="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</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>);
123
123
<div class="refsect1" title="Description">
166
166
<div class="warning" title="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="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-name"><code class="function">g_type_name()</code></a> and <a href="/usr/share/gtk-doc/html/gobject/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 <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>
171
171
Returns the type name of <em class="parameter"><code>class</code></em>.
187
187
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
188
188
<h3 class="title">Warning</h3>
189
<p><code class="literal">GTK_CLASS_TYPE</code> is deprecated and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS"><code class="function">G_TYPE_FROM_CLASS()</code></a> instead.</p>
189
<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>
192
192
Returns the type of <em class="parameter"><code>class</code></em>.
208
208
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
209
209
<h3 class="title">Warning</h3>
210
<p><code class="literal">GTK_TYPE_IS_OBJECT</code> is deprecated and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#G-TYPE-IS-OBJECT:CAPS"><code class="function">G_TYPE_IS_OBJECT()</code></a> instead.</p>
210
<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>
213
Returns <a href="/usr/share/gtk-doc/html/glib/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>.
213
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>.
215
215
<div class="variablelist"><table border="0">
216
216
<col align="left" valign="top">
242
242
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
243
243
<h3 class="title">Warning</h3>
244
<p><code class="literal">GTK_TYPE_FUNDAMENTAL_MAX</code> is deprecated and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-FUNDAMENTAL-MAX:CAPS"><span class="type">G_TYPE_FUNDAMENTAL_MAX</span></a> instead.</p>
244
<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>
247
247
The maximum fundamental enumerated type value.
255
255
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
256
256
<h3 class="title">Warning</h3>
257
<p><code class="literal">GTK_STRUCT_OFFSET</code> is deprecated and should not be used in newly-written code. Use <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS"><code class="function">G_STRUCT_OFFSET()</code></a> instead.</p>
257
<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>
260
260
Use in place of <code class="function"><code class="function">offsetof()</code></code>, which is used if it exists.
405
405
<div class="refsect2" title="GtkFunction ()">
406
406
<a name="GtkFunction"></a><h3>GtkFunction ()</h3>
407
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GtkFunction) (<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>
407
<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>
409
409
Defines a function pointer.
415
415
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
417
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>
417
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>
421
421
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
423
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>
423
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>
430
430
<div class="refsect2" title="GtkDestroyNotify ()">
431
431
<a name="GtkDestroyNotify"></a><h3>GtkDestroyNotify ()</h3>
432
<pre class="programlisting"><span class="returnvalue">void</span> (*GtkDestroyNotify) (<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>
432
<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>
433
433
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
434
434
<h3 class="title">Warning</h3>
435
435
<p><code class="literal">GtkDestroyNotify</code> is deprecated and should not be used in newly-written code.</p>
451
451
<div class="refsect2" title="GtkCallbackMarshal ()">
452
452
<a name="GtkCallbackMarshal"></a><h3>GtkCallbackMarshal ()</h3>
453
453
<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>,
454
<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>,
455
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_args</code></em>,
454
<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>,
455
<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>,
456
456
<em class="parameter"><code><a class="link" href="gtk-Types.html#GtkArg" title="GtkArg"><span class="type">GtkArg</span></a> *args</code></em>);</pre>
458
458
Defines a function pointer.
470
470
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
472
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>
472
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>
476
476
<td><p><span class="term"><em class="parameter"><code>n_args</code></em> :</span></p></td>
478
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>
478
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>
1281
1281
<div class="refsect2" title="gtk_type_init ()">
1282
1282
<a name="gtk-type-init"></a><h3>gtk_type_init ()</h3>
1283
<pre class="programlisting"><span class="returnvalue">void</span> gtk_type_init (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> debug_flags</code></em>);</pre>
1283
<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>
1284
1284
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1285
1285
<h3 class="title">Warning</h3>
1286
1286
<p><code class="literal">gtk_type_init</code> is deprecated and should not be used in newly-written code.</p>
1321
1321
<td><p><span class="term"><em class="parameter"><code>gtkinfo</code></em> :</span></p></td>
1322
<td>must not be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, and <em class="parameter"><code>type_info->type_name</code></em> must also not be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1322
<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->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>
1340
1340
<p><code class="literal">gtk_type_name</code> is deprecated and should not be used in newly-written code.</p>
1343
Returns a pointer to the name of a type, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it has none.
1343
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.
1345
1345
<div class="variablelist"><table border="0">
1346
1346
<col align="left" valign="top">
1354
1354
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1355
<td>a pointer to the name of a type, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it has none.
1355
<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.
1418
1418
<div class="refsect2" title="gtk_type_class ()">
1419
1419
<a name="gtk-type-class"></a><h3>gtk_type_class ()</h3>
1420
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/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>
1420
<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>
1421
1421
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1422
1422
<h3 class="title">Warning</h3>
1423
<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="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-class-peek"><code class="function">g_type_class_peek()</code></a> or <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-class-ref"><code class="function">g_type_class_ref()</code></a> instead.</p>
1423
<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>
1426
Returns a pointer pointing to the class of <em class="parameter"><code>type</code></em> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there
1426
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
1427
1427
was any trouble identifying <em class="parameter"><code>type</code></em>. Initializes the class if
1431
Returns a pointer pointing to the class of <em class="parameter"><code>type</code></em> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there was
1431
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
1432
1432
any trouble identifying <em class="parameter"><code>type</code></em>. Initializes the class if necessary.
1434
1434
<div class="variablelist"><table border="0">
1452
1452
<div class="refsect2" title="gtk_type_new ()">
1453
1453
<a name="gtk-type-new"></a><h3>gtk_type_new ()</h3>
1454
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/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>
1454
<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>
1455
1455
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1456
1456
<h3 class="title">Warning</h3>
1457
1457
<p><code class="literal">gtk_type_new</code> is deprecated and should not be used in newly-written code.</p>
1460
1460
Creates a new object of a given type, and return a pointer to it.
1461
Returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you give it an invalid type. It allocates the object
1461
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
1462
1462
out of the type's memory chunk if there is a memory chunk. The object
1463
1463
has all the proper initializers called.
1573
1573
<div class="refsect2" title="gtk_type_enum_find_value ()">
1574
1574
<a name="gtk-type-enum-find-value"></a><h3>gtk_type_enum_find_value ()</h3>
1575
1575
<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>,
1576
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</code></em>);</pre>
1576
<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>
1577
1577
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1578
1578
<h3 class="title">Warning</h3>
1579
1579
<p><code class="literal">gtk_type_enum_find_value</code> is deprecated and should not be used in newly-written code.</p>
1607
1607
<div class="refsect2" title="gtk_type_flags_find_value ()">
1608
1608
<a name="gtk-type-flags-find-value"></a><h3>gtk_type_flags_find_value ()</h3>
1609
1609
<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>,
1610
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value_name</code></em>);</pre>
1610
<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>
1611
1611
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1612
1612
<h3 class="title">Warning</h3>
1613
1613
<p><code class="literal">gtk_type_flags_find_value</code> is deprecated and should not be used in newly-written code.</p>