diff options
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gobject')
79 files changed, 0 insertions, 35836 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/GBinding.html b/gtk+-mingw/share/gtk-doc/html/gobject/GBinding.html deleted file mode 100644 index 72dc67b..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/GBinding.html +++ /dev/null @@ -1,735 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GBinding</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Value-arrays.html" title="Value arrays"> -<link rel="next" href="rn02.html" title="Tools Reference"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Value-arrays.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="rn02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GBinding.synopsis" class="shortcut">Top</a> - | - <a href="#GBinding.description" class="shortcut">Description</a> - | - <a href="#GBinding.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GBinding.properties" class="shortcut">Properties</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GBinding"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GBinding.top_of_page"></a>GBinding</span></h2> -<p>GBinding — Bind two object properties</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GBinding.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - - <a class="link" href="GBinding.html#GBinding-struct" title="GBinding">GBinding</a>; -enum <a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags">GBindingFlags</a>; -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * <a class="link" href="GBinding.html#g-binding-get-source" title="g_binding_get_source ()">g_binding_get_source</a> (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GBinding.html#g-binding-get-source-property" title="g_binding_get_source_property ()">g_binding_get_source_property</a> (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>); -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * <a class="link" href="GBinding.html#g-binding-get-target" title="g_binding_get_target ()">g_binding_get_target</a> (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GBinding.html#g-binding-get-target-property" title="g_binding_get_target_property ()">g_binding_get_target_property</a> (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>); -<a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="returnvalue">GBindingFlags</span></a> <a class="link" href="GBinding.html#g-binding-get-flags" title="g_binding_get_flags ()">g_binding_get_flags</a> (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>); - -<a class="link" href="GBinding.html" title="GBinding"><span class="returnvalue">GBinding</span></a> * <a class="link" href="GBinding.html#g-object-bind-property" title="g_object_bind_property ()">g_object_bind_property</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_property</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> target</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *target_property</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> flags</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="GBinding.html#GBindingTransformFunc" title="GBindingTransformFunc ()">*GBindingTransformFunc</a>) (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *source_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *target_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); -<a class="link" href="GBinding.html" title="GBinding"><span class="returnvalue">GBinding</span></a> * <a class="link" href="GBinding.html#g-object-bind-property-full" title="g_object_bind_property_full ()">g_object_bind_property_full</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_property</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> target</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *target_property</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> flags</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingTransformFunc" title="GBindingTransformFunc ()"><span class="type">GBindingTransformFunc</span></a> transform_to</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingTransformFunc" title="GBindingTransformFunc ()"><span class="type">GBindingTransformFunc</span></a> transform_from</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>); -<a class="link" href="GBinding.html" title="GBinding"><span class="returnvalue">GBinding</span></a> * <a class="link" href="GBinding.html#g-object-bind-property-with-closures" title="g_object_bind_property_with_closures ()">g_object_bind_property_with_closures</a> - (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_property</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> target</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *target_property</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *transform_to</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *transform_from</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GBinding.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - <a class="link" href="gobject-The-Base-Object-Type.html#GObject">GObject</a> - +----GBinding -</pre> -</div> -<div class="refsect1"> -<a name="GBinding.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GBinding.html#GBinding--flags" title='The "flags" property'>flags</a>" <a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> : Read / Write / Construct Only - "<a class="link" href="GBinding.html#GBinding--source" title='The "source" property'>source</a>" <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>* : Read / Write / Construct Only - "<a class="link" href="GBinding.html#GBinding--source-property" title='The "source-property" property'>source-property</a>" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only - "<a class="link" href="GBinding.html#GBinding--target" title='The "target" property'>target</a>" <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>* : Read / Write / Construct Only - "<a class="link" href="GBinding.html#GBinding--target-property" title='The "target-property" property'>target-property</a>" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only -</pre> -</div> -<div class="refsect1"> -<a name="GBinding.description"></a><h2>Description</h2> -<p> -<a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> is the representation of a binding between a property on a -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance (or source) and another property on another <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -instance (or target). Whenever the source property changes, the same -value is applied to the target property; for instance, the following -binding: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - g_object_bind_property (object1, "property-a", - object2, "property-b", - G_BINDING_DEFAULT); -</pre></div> -<p> -</p> -<p> -will cause <span class="emphasis"><em>object2:property-b</em></span> to be updated every -time <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()"><code class="function">g_object_set()</code></a> or the specific accessor changes the value of -<span class="emphasis"><em>object1:property-a</em></span>. -</p> -<p> -It is possible to create a bidirectional binding between two properties -of two <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instances, so that if either property changes, the -other is updated as well, for instance: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - g_object_bind_property (object1, "property-a", - object2, "property-b", - G_BINDING_BIDIRECTIONAL); -</pre></div> -<p> -</p> -<p> -will keep the two properties in sync. -</p> -<p> -It is also possible to set a custom transformation function (in both -directions, in case of a bidirectional binding) to apply a custom -transformation from the source value to the target value before -applying it; for instance, the following binding: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - g_object_bind_property_full (adjustment1, "value", - adjustment2, "value", - G_BINDING_BIDIRECTIONAL, - celsius_to_fahrenheit, - fahrenheit_to_celsius, - NULL, NULL); -</pre></div> -<p> -</p> -<p> -will keep the <span class="emphasis"><em>value</em></span> property of the two adjustments -in sync; the <code class="function">celsius_to_fahrenheit</code> function will be -called whenever the <span class="emphasis"><em>adjustment1:value</em></span> property changes -and will transform the current value of the property before applying it -to the <span class="emphasis"><em>adjustment2:value</em></span> property; vice versa, the -<code class="function">fahrenheit_to_celsius</code> function will be called whenever -the <span class="emphasis"><em>adjustment2:value</em></span> property changes, and will -transform the current value of the property before applying it to the -<span class="emphasis"><em>adjustment1:value</em></span>. -</p> -<p> -Note that <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> does not resolve cycles by itself; a cycle like -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - object1:propertyA -> object2:propertyB - object2:propertyB -> object3:propertyC - object3:propertyC -> object1:propertyA -</pre></div> -<p> -</p> -<p> -might lead to an infinite loop. The loop, in this particular case, -can be avoided if the objects emit the <a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'><span class="type">"notify"</span></a> signal only -if the value has effectively been changed. A binding is implemented -using the <a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'><span class="type">"notify"</span></a> signal, so it is susceptible to all the -various ways of blocking a signal emission, like <a class="link" href="gobject-Signals.html#g-signal-stop-emission" title="g_signal_stop_emission ()"><code class="function">g_signal_stop_emission()</code></a> -or <a class="link" href="gobject-Signals.html#g-signal-handler-block" title="g_signal_handler_block ()"><code class="function">g_signal_handler_block()</code></a>. -</p> -<p> -A binding will be severed, and the resources it allocates freed, whenever -either one of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instances it refers to are finalized, or when -the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> instance loses its last reference. -</p> -<p> -<a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> is available since GObject 2.26 -</p> -</div> -<div class="refsect1"> -<a name="GBinding.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GBinding-struct"></a><h3>GBinding</h3> -<pre class="programlisting">typedef struct _GBinding GBinding;</pre> -<p> -<span class="structname">GBinding</span> is an opaque structure whose members -cannot be accessed directly. -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="GBindingFlags"></a><h3>enum GBindingFlags</h3> -<pre class="programlisting">typedef enum { - /*< prefix=G_BINDING >*/ - G_BINDING_DEFAULT = 0, - - G_BINDING_BIDIRECTIONAL = 1 << 0, - G_BINDING_SYNC_CREATE = 1 << 1, - G_BINDING_INVERT_BOOLEAN = 1 << 2 -} GBindingFlags; -</pre> -<p> -Flags to be passed to <a class="link" href="GBinding.html#g-object-bind-property" title="g_object_bind_property ()"><code class="function">g_object_bind_property()</code></a> or -<a class="link" href="GBinding.html#g-object-bind-property-full" title="g_object_bind_property_full ()"><code class="function">g_object_bind_property_full()</code></a>. -</p> -<p> -This enumeration can be extended at later date. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-BINDING-DEFAULT:CAPS"></a><span class="term"><code class="literal">G_BINDING_DEFAULT</code></span></p></td> -<td>The default binding; if the source property - changes, the target property is updated with its value. -</td> -</tr> -<tr> -<td><p><a name="G-BINDING-BIDIRECTIONAL:CAPS"></a><span class="term"><code class="literal">G_BINDING_BIDIRECTIONAL</code></span></p></td> -<td>Bidirectional binding; if either the - property of the source or the property of the target changes, - the other is updated. -</td> -</tr> -<tr> -<td><p><a name="G-BINDING-SYNC-CREATE:CAPS"></a><span class="term"><code class="literal">G_BINDING_SYNC_CREATE</code></span></p></td> -<td>Synchronize the values of the source and - target properties when creating the binding; the direction of - the synchronization is always from the source to the target. -</td> -</tr> -<tr> -<td><p><a name="G-BINDING-INVERT-BOOLEAN:CAPS"></a><span class="term"><code class="literal">G_BINDING_INVERT_BOOLEAN</code></span></p></td> -<td>If the two properties being bound are - booleans, setting one to <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> will result in the other being - set to <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and vice versa. This flag will only work for - boolean properties, and cannot be used when passing custom - transformation functions to <a class="link" href="GBinding.html#g-object-bind-property-full" title="g_object_bind_property_full ()"><code class="function">g_object_bind_property_full()</code></a>. -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-binding-get-source"></a><h3>g_binding_get_source ()</h3> -<pre class="programlisting"><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * g_binding_get_source (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>);</pre> -<p> -Retrieves the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance used as the source of the binding -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>binding</code></em> :</span></p></td> -<td>a <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the source <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-binding-get-source-property"></a><h3>g_binding_get_source_property ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_binding_get_source_property (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>);</pre> -<p> -Retrieves the name of the property of <a class="link" href="GBinding.html#GBinding--source" title='The "source" property'><span class="type">"source"</span></a> used as the source -of the binding -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>binding</code></em> :</span></p></td> -<td>a <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the name of the source property</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-binding-get-target"></a><h3>g_binding_get_target ()</h3> -<pre class="programlisting"><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * g_binding_get_target (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>);</pre> -<p> -Retrieves the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance used as the target of the binding -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>binding</code></em> :</span></p></td> -<td>a <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the target <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-binding-get-target-property"></a><h3>g_binding_get_target_property ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_binding_get_target_property (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>);</pre> -<p> -Retrieves the name of the property of <a class="link" href="GBinding.html#GBinding--target" title='The "target" property'><span class="type">"target"</span></a> used as the target -of the binding -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>binding</code></em> :</span></p></td> -<td>a <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the name of the target property</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-binding-get-flags"></a><h3>g_binding_get_flags ()</h3> -<pre class="programlisting"><a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="returnvalue">GBindingFlags</span></a> g_binding_get_flags (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>);</pre> -<p> -Retrieves the flags passed when constructing the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>binding</code></em> :</span></p></td> -<td>a <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> used by the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-bind-property"></a><h3>g_object_bind_property ()</h3> -<pre class="programlisting"><a class="link" href="GBinding.html" title="GBinding"><span class="returnvalue">GBinding</span></a> * g_object_bind_property (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_property</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> target</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *target_property</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> flags</code></em>);</pre> -<p> -Creates a binding between <em class="parameter"><code>source_property</code></em> on <em class="parameter"><code>source</code></em> and <em class="parameter"><code>target_property</code></em> -on <em class="parameter"><code>target</code></em>. Whenever the <em class="parameter"><code>source_property</code></em> is changed the <em class="parameter"><code>target_property</code></em> is -updated using the same value. For instance: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - g_object_bind_property (action, "active", widget, "sensitive", 0); -</pre></div> -<p> -</p> -<p> -Will result in the "sensitive" property of the widget <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance to be -updated with the same value of the "active" property of the action <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -instance. -</p> -<p> -If <em class="parameter"><code>flags</code></em> contains <a class="link" href="GBinding.html#G-BINDING-BIDIRECTIONAL:CAPS"><code class="literal">G_BINDING_BIDIRECTIONAL</code></a> then the binding will be mutual: -if <em class="parameter"><code>target_property</code></em> on <em class="parameter"><code>target</code></em> changes then the <em class="parameter"><code>source_property</code></em> on <em class="parameter"><code>source</code></em> -will be updated as well. -</p> -<p> -The binding will automatically be removed when either the <em class="parameter"><code>source</code></em> or the -<em class="parameter"><code>target</code></em> instances are finalized. To remove the binding without affecting the -<em class="parameter"><code>source</code></em> and the <em class="parameter"><code>target</code></em> you can just call <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a> on the returned -<a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> instance. -</p> -<p> -A <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> can have multiple bindings. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td> -<td>the source <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>source_property</code></em> :</span></p></td> -<td>the property on <em class="parameter"><code>source</code></em> to bind</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td> -<td>the target <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>target_property</code></em> :</span></p></td> -<td>the property on <em class="parameter"><code>target</code></em> to bind</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags to pass to <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> instance representing the -binding between the two <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instances. The binding is released -whenever the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> reference count reaches zero. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="GBindingTransformFunc"></a><h3>GBindingTransformFunc ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GBindingTransformFunc) (<em class="parameter"><code><a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> *binding</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *source_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *target_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> -<p> -A function to be called to transform the source property of <em class="parameter"><code>source</code></em> -from <em class="parameter"><code>source_value</code></em> into the target property of <em class="parameter"><code>target</code></em> -using <em class="parameter"><code>target_value</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>binding</code></em> :</span></p></td> -<td>a <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>source_value</code></em> :</span></p></td> -<td>the value of the source property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>target_value</code></em> :</span></p></td> -<td>the value of the target property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>data passed to the transform function</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the transformation was successful, and <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> -otherwise</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-bind-property-full"></a><h3>g_object_bind_property_full ()</h3> -<pre class="programlisting"><a class="link" href="GBinding.html" title="GBinding"><span class="returnvalue">GBinding</span></a> * g_object_bind_property_full (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_property</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> target</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *target_property</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> flags</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingTransformFunc" title="GBindingTransformFunc ()"><span class="type">GBindingTransformFunc</span></a> transform_to</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingTransformFunc" title="GBindingTransformFunc ()"><span class="type">GBindingTransformFunc</span></a> transform_from</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>);</pre> -<p> -Complete version of <a class="link" href="GBinding.html#g-object-bind-property" title="g_object_bind_property ()"><code class="function">g_object_bind_property()</code></a>. -</p> -<p> -Creates a binding between <em class="parameter"><code>source_property</code></em> on <em class="parameter"><code>source</code></em> and <em class="parameter"><code>target_property</code></em> -on <em class="parameter"><code>target</code></em>, allowing you to set the transformation functions to be used by -the binding. -</p> -<p> -If <em class="parameter"><code>flags</code></em> contains <a class="link" href="GBinding.html#G-BINDING-BIDIRECTIONAL:CAPS"><code class="literal">G_BINDING_BIDIRECTIONAL</code></a> then the binding will be mutual: -if <em class="parameter"><code>target_property</code></em> on <em class="parameter"><code>target</code></em> changes then the <em class="parameter"><code>source_property</code></em> on <em class="parameter"><code>source</code></em> -will be updated as well. The <em class="parameter"><code>transform_from</code></em> function is only used in case -of bidirectional bindings, otherwise it will be ignored -</p> -<p> -The binding will automatically be removed when either the <em class="parameter"><code>source</code></em> or the -<em class="parameter"><code>target</code></em> instances are finalized. To remove the binding without affecting the -<em class="parameter"><code>source</code></em> and the <em class="parameter"><code>target</code></em> you can just call <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a> on the returned -<a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> instance. -</p> -<p> -A <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> can have multiple bindings. -</p> -<p> -</p> -<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Note</h3>The same <em class="parameter"><code>user_data</code></em> parameter will be used for both <em class="parameter"><code>transform_to</code></em> -and <em class="parameter"><code>transform_from</code></em> transformation functions; the <em class="parameter"><code>notify</code></em> function will -be called once, when the binding is removed. If you need different data -for each transformation function, please use -<a class="link" href="GBinding.html#g-object-bind-property-with-closures" title="g_object_bind_property_with_closures ()"><code class="function">g_object_bind_property_with_closures()</code></a> instead.</div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td> -<td>the source <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>source_property</code></em> :</span></p></td> -<td>the property on <em class="parameter"><code>source</code></em> to bind</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td> -<td>the target <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>target_property</code></em> :</span></p></td> -<td>the property on <em class="parameter"><code>target</code></em> to bind</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags to pass to <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>transform_to</code></em> :</span></p></td> -<td>the transformation function -from the <em class="parameter"><code>source</code></em> to the <em class="parameter"><code>target</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default. <span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>transform_from</code></em> :</span></p></td> -<td>the transformation function -from the <em class="parameter"><code>target</code></em> to the <em class="parameter"><code>source</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default. <span class="annotation">[<acronym title="The callback is valid until the GDestroyNotify argument is called."><span class="acronym">scope notified</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>custom data to be passed to the transformation functions, -or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td> -<td>function to be called when disposing the binding, to free the -resources used by the transformation functions</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> instance representing the -binding between the two <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instances. The binding is released -whenever the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> reference count reaches zero. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-bind-property-with-closures"></a><h3>g_object_bind_property_with_closures ()</h3> -<pre class="programlisting"><a class="link" href="GBinding.html" title="GBinding"><span class="returnvalue">GBinding</span></a> * g_object_bind_property_with_closures - (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> source</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *source_property</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> target</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *target_property</code></em>, - <em class="parameter"><code><a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *transform_to</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *transform_from</code></em>);</pre> -<p> -Creates a binding between <em class="parameter"><code>source_property</code></em> on <em class="parameter"><code>source</code></em> and <em class="parameter"><code>target_property</code></em> -on <em class="parameter"><code>target</code></em>, allowing you to set the transformation functions to be used by -the binding. -</p> -<p> -This function is the language bindings friendly version of -<a class="link" href="GBinding.html#g-object-bind-property-full" title="g_object_bind_property_full ()"><code class="function">g_object_bind_property_full()</code></a>, using <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a>s instead of -function pointers. -</p> -<p> -Rename to: g_object_bind_property_full -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td> -<td>the source <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>source_property</code></em> :</span></p></td> -<td>the property on <em class="parameter"><code>source</code></em> to bind</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>target</code></em> :</span></p></td> -<td>the target <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>target_property</code></em> :</span></p></td> -<td>the property on <em class="parameter"><code>target</code></em> to bind</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags to pass to <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>transform_to</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> wrapping the transformation function -from the <em class="parameter"><code>source</code></em> to the <em class="parameter"><code>target</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>transform_from</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> wrapping the transformation function -from the <em class="parameter"><code>target</code></em> to the <em class="parameter"><code>source</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> instance representing the -binding between the two <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instances. The binding is released -whenever the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> reference count reaches zero. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -</div> -<div class="refsect1"> -<a name="GBinding.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="GBinding--flags"></a><h3>The <code class="literal">"flags"</code> property</h3> -<pre class="programlisting"> "flags" <a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags"><span class="type">GBindingFlags</span></a> : Read / Write / Construct Only</pre> -<p> -Flags to be used to control the <a class="link" href="GBinding.html" title="GBinding"><span class="type">GBinding</span></a> -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="GBinding--source"></a><h3>The <code class="literal">"source"</code> property</h3> -<pre class="programlisting"> "source" <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>* : Read / Write / Construct Only</pre> -<p> -The <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that should be used as the source of the binding -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="GBinding--source-property"></a><h3>The <code class="literal">"source-property"</code> property</h3> -<pre class="programlisting"> "source-property" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> -<p> -The name of the property of <a class="link" href="GBinding.html#GBinding--source" title='The "source" property'><span class="type">"source"</span></a> that should be used -as the source of the binding -</p> -<p>Default value: NULL</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="GBinding--target"></a><h3>The <code class="literal">"target"</code> property</h3> -<pre class="programlisting"> "target" <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>* : Read / Write / Construct Only</pre> -<p> -The <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> that should be used as the target of the binding -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="GBinding--target-property"></a><h3>The <code class="literal">"target-property"</code> property</h3> -<pre class="programlisting"> "target-property" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only</pre> -<p> -The name of the property of <a class="link" href="GBinding.html#GBinding--target" title='The "target" property'><span class="type">"target"</span></a> that should be used -as the target of the binding -</p> -<p>Default value: NULL</p> -<p class="since">Since 2.26</p> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/GTypeModule.html b/gtk+-mingw/share/gtk-doc/html/gobject/GTypeModule.html deleted file mode 100644 index adc7c11..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/GTypeModule.html +++ /dev/null @@ -1,615 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GTypeModule</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="GTypePlugin.html" title="GTypePlugin"> -<link rel="next" href="gobject-The-Base-Object-Type.html" title="GObject"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="GTypePlugin.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-The-Base-Object-Type.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GTypeModule.synopsis" class="shortcut">Top</a> - | - <a href="#GTypeModule.description" class="shortcut">Description</a> - | - <a href="#GTypeModule.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GTypeModule.implemented-interfaces" class="shortcut">Implemented Interfaces</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GTypeModule"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GTypeModule.top_of_page"></a>GTypeModule</span></h2> -<p>GTypeModule — Type loading modules</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GTypeModule.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -struct <a class="link" href="GTypeModule.html#GTypeModule-struct" title="struct GTypeModule">GTypeModule</a>; -struct <a class="link" href="GTypeModule.html#GTypeModuleClass" title="struct GTypeModuleClass">GTypeModuleClass</a>; -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GTypeModule.html#g-type-module-use" title="g_type_module_use ()">g_type_module_use</a> (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GTypeModule.html#g-type-module-unuse" title="g_type_module_unuse ()">g_type_module_unuse</a> (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GTypeModule.html#g-type-module-set-name" title="g_type_module_set_name ()">g_type_module_set_name</a> (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="GTypeModule.html#g-type-module-register-type" title="g_type_module_register_type ()">g_type_module_register_type</a> (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *type_info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GTypeModule.html#g-type-module-add-interface" title="g_type_module_add_interface ()">g_type_module_add_interface</a> (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *interface_info</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="GTypeModule.html#g-type-module-register-enum" title="g_type_module_register_enum ()">g_type_module_register_enum</a> (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> *const_static_values</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="GTypeModule.html#g-type-module-register-flags" title="g_type_module_register_flags ()">g_type_module_register_flags</a> (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> *const_static_values</code></em>); -#define <a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE:CAPS" title="G_DEFINE_DYNAMIC_TYPE()">G_DEFINE_DYNAMIC_TYPE</a> (TN, - t_n, - T_P) -#define <a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" title="G_DEFINE_DYNAMIC_TYPE_EXTENDED()">G_DEFINE_DYNAMIC_TYPE_EXTENDED</a> (TypeName, - type_name, - TYPE_PARENT, - flags, - CODE) -#define <a class="link" href="GTypeModule.html#G-IMPLEMENT-INTERFACE-DYNAMIC:CAPS" title="G_IMPLEMENT_INTERFACE_DYNAMIC()">G_IMPLEMENT_INTERFACE_DYNAMIC</a> (TYPE_IFACE, - iface_init) -</pre> -</div> -<div class="refsect1"> -<a name="GTypeModule.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - <a class="link" href="gobject-The-Base-Object-Type.html#GObject">GObject</a> - +----GTypeModule -</pre> -</div> -<div class="refsect1"> -<a name="GTypeModule.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -GTypeModule implements - <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a>.</p> -</div> -<div class="refsect1"> -<a name="GTypeModule.description"></a><h2>Description</h2> -<p> -<a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> provides a simple implementation of the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -interface. The model of <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> is a dynamically loaded module -which implements some number of types and interface -implementations. When the module is loaded, it registers its types -and interfaces using <a class="link" href="GTypeModule.html#g-type-module-register-type" title="g_type_module_register_type ()"><code class="function">g_type_module_register_type()</code></a> and -<a class="link" href="GTypeModule.html#g-type-module-add-interface" title="g_type_module_add_interface ()"><code class="function">g_type_module_add_interface()</code></a>. As long as any instances of these -types and interface implementations are in use, the module is kept -loaded. When the types and interfaces are gone, the module may be -unloaded. If the types and interfaces become used again, the module -will be reloaded. Note that the last unref cannot happen in module -code, since that would lead to the caller's code being unloaded before -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a> returns to it. -</p> -<p> -Keeping track of whether the module should be loaded or not is done by -using a use count - it starts at zero, and whenever it is greater than -zero, the module is loaded. The use count is maintained internally by -the type system, but also can be explicitly controlled by -<a class="link" href="GTypeModule.html#g-type-module-use" title="g_type_module_use ()"><code class="function">g_type_module_use()</code></a> and <a class="link" href="GTypeModule.html#g-type-module-unuse" title="g_type_module_unuse ()"><code class="function">g_type_module_unuse()</code></a>. Typically, when loading -a module for the first type, <a class="link" href="GTypeModule.html#g-type-module-use" title="g_type_module_use ()"><code class="function">g_type_module_use()</code></a> will be used to load -it so that it can initialize its types. At some later point, when the -module no longer needs to be loaded except for the type -implementations it contains, <a class="link" href="GTypeModule.html#g-type-module-unuse" title="g_type_module_unuse ()"><code class="function">g_type_module_unuse()</code></a> is called. -</p> -<p> -<a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> does not actually provide any implementation of module -loading and unloading. To create a particular module type you must -derive from <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> and implement the load and unload functions -in <a class="link" href="GTypeModule.html#GTypeModuleClass" title="struct GTypeModuleClass"><span class="type">GTypeModuleClass</span></a>. -</p> -</div> -<div class="refsect1"> -<a name="GTypeModule.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GTypeModule-struct"></a><h3>struct GTypeModule</h3> -<pre class="programlisting">struct GTypeModule { - gchar *name; -}; -</pre> -<p> -The members of the <span class="structname">GTypeModule</span> structure should not -be accessed directly, except for the <em class="parameter"><code>name</code></em> field. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GTypeModule-struct.name"></a>name</code></em>;</span></p></td> -<td>the name of the module</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeModuleClass"></a><h3>struct GTypeModuleClass</h3> -<pre class="programlisting">struct GTypeModuleClass { - GObjectClass parent_class; - - gboolean (* load) (GTypeModule *module); - void (* unload) (GTypeModule *module); -}; -</pre> -<p> -In order to implement dynamic loading of types based on <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a>, -the <em class="parameter"><code>load</code></em> and <em class="parameter"><code>unload</code></em> functions in <a class="link" href="GTypeModule.html#GTypeModuleClass" title="struct GTypeModuleClass"><span class="type">GTypeModuleClass</span></a> must be implemented. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GTypeModuleClass.parent-class"></a>parent_class</code></em>;</span></p></td> -<td>the parent class</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeModuleClass.load"></a>load</code></em> ()</span></p></td> -<td>loads the module and registers one or more types using -<a class="link" href="GTypeModule.html#g-type-module-register-type" title="g_type_module_register_type ()"><code class="function">g_type_module_register_type()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeModuleClass.unload"></a>unload</code></em> ()</span></p></td> -<td>unloads the module</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-module-use"></a><h3>g_type_module_use ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_type_module_use (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>);</pre> -<p> -Increases the use count of a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> by one. If the -use count was zero before, the plugin will be loaded. -If loading the plugin fails, the use count is reset to -its prior value. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td> -<td>a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the plugin needed to be loaded and -loading the plugin failed.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-module-unuse"></a><h3>g_type_module_unuse ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_module_unuse (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>);</pre> -<p> -Decreases the use count of a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> by one. If the -result is zero, the module will be unloaded. (However, the -<a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> will not be freed, and types associated with the -<a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> are not unregistered. Once a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> is -initialized, it must exist forever.) -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td> -<td>a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-module-set-name"></a><h3>g_type_module_set_name ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_module_set_name (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> -<p> -Sets the name for a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td> -<td>a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>a human-readable name to use in error messages.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-module-register-type"></a><h3>g_type_module_register_type ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_module_register_type (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *type_info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre> -<p> -Looks up or registers a type that is implemented with a particular -type plugin. If a type with name <em class="parameter"><code>type_name</code></em> was previously registered, -the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier for the type is returned, otherwise the type -is newly registered, and the resulting <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier returned. -</p> -<p> -When reregistering a type (typically because a module is unloaded -then reloaded, and reinitialized), <em class="parameter"><code>module</code></em> and <em class="parameter"><code>parent_type</code></em> must -be the same as they were previously. -</p> -<p> -As long as any instances of the type exist, the type plugin will -not be unloaded. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td> -<td>a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td> -<td>the type for the parent class</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>name for the type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_info</code></em> :</span></p></td> -<td>type information structure</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags field providing details about the type</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the new or existing type ID</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-module-add-interface"></a><h3>g_type_module_add_interface ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_module_add_interface (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *interface_info</code></em>);</pre> -<p> -Registers an additional interface for a type, whose interface lives -in the given type plugin. If the interface was already registered -for the type in this plugin, nothing will be done. -</p> -<p> -As long as any instances of the type exist, the type plugin will -not be unloaded. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td> -<td>a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td>type to which to add the interface.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td>interface type to add</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_info</code></em> :</span></p></td> -<td>type information structure</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-module-register-enum"></a><h3>g_type_module_register_enum ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_module_register_enum (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> *const_static_values</code></em>);</pre> -<p> -Looks up or registers an enumeration that is implemented with a particular -type plugin. If a type with name <em class="parameter"><code>type_name</code></em> was previously registered, -the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier for the type is returned, otherwise the type -is newly registered, and the resulting <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier returned. -</p> -<p> -As long as any instances of the type exist, the type plugin will -not be unloaded. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td> -<td>a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>name for the type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>const_static_values</code></em> :</span></p></td> -<td>an array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> structs for the -possible enumeration values. The array is -terminated by a struct with all members being -0.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the new or existing type ID</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-module-register-flags"></a><h3>g_type_module_register_flags ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_module_register_flags (<em class="parameter"><code><a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> *module</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> *const_static_values</code></em>);</pre> -<p> -Looks up or registers a flags type that is implemented with a particular -type plugin. If a type with name <em class="parameter"><code>type_name</code></em> was previously registered, -the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier for the type is returned, otherwise the type -is newly registered, and the resulting <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier returned. -</p> -<p> -As long as any instances of the type exist, the type plugin will -not be unloaded. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>module</code></em> :</span></p></td> -<td>a <a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>name for the type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>const_static_values</code></em> :</span></p></td> -<td>an array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> structs for the -possible flags values. The array is -terminated by a struct with all members being -0.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the new or existing type ID</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-DYNAMIC-TYPE:CAPS"></a><h3>G_DEFINE_DYNAMIC_TYPE()</h3> -<pre class="programlisting">#define G_DEFINE_DYNAMIC_TYPE(TN, t_n, T_P) G_DEFINE_DYNAMIC_TYPE_EXTENDED (TN, t_n, T_P, 0, {}) -</pre> -<p> -A convenience macro for dynamic type implementations, which declares a -class initialization function, an instance initialization function (see -<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> for information about these) and a static variable named -<em class="parameter"><code>t_n</code></em>_parent_class pointing to the parent class. Furthermore, -it defines a <code class="function">*_get_type()</code> and a static -<code class="function">*_register_type()</code> function for use in your -<code class="function"><code class="function">module_init()</code></code>. -See <a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" title="G_DEFINE_DYNAMIC_TYPE_EXTENDED()"><code class="function">G_DEFINE_DYNAMIC_TYPE_EXTENDED()</code></a> for an example. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the parent type.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.14</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS"></a><h3>G_DEFINE_DYNAMIC_TYPE_EXTENDED()</h3> -<pre class="programlisting">#define G_DEFINE_DYNAMIC_TYPE_EXTENDED(TypeName, type_name, TYPE_PARENT, flags, CODE)</pre> -<p> -A more general version of <a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE:CAPS" title="G_DEFINE_DYNAMIC_TYPE()"><code class="function">G_DEFINE_DYNAMIC_TYPE()</code></a> which -allows to specify <a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> and custom code. -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -G_DEFINE_DYNAMIC_TYPE_EXTENDED (GtkGadget, - gtk_gadget, - GTK_TYPE_THING, - 0, - G_IMPLEMENT_INTERFACE_DYNAMIC (TYPE_GIZMO, - gtk_gadget_gizmo_init)); -</pre></div> -<p> -expands to -</p> -<div class="informalexample"><pre class="programlisting"> -static void gtk_gadget_init (GtkGadget *self); -static void gtk_gadget_class_init (GtkGadgetClass *klass); -static void gtk_gadget_class_finalize (GtkGadgetClass *klass); - -static gpointer gtk_gadget_parent_class = NULL; -static GType gtk_gadget_type_id = 0; - -static void gtk_gadget_class_intern_init (gpointer klass) -{ - gtk_gadget_parent_class = g_type_class_peek_parent (klass); - gtk_gadget_class_init ((GtkGadgetClass*) klass); -} - -GType -gtk_gadget_get_type (void) -{ - return gtk_gadget_type_id; -} - -static void -gtk_gadget_register_type (GTypeModule *type_module) -{ - const GTypeInfo g_define_type_info = { - sizeof (GtkGadgetClass), - (GBaseInitFunc) NULL, - (GBaseFinalizeFunc) NULL, - (GClassInitFunc) gtk_gadget_class_intern_init, - (GClassFinalizeFunc) gtk_gadget_class_finalize, - NULL, // class_data - sizeof (GtkGadget), - 0, // n_preallocs - (GInstanceInitFunc) gtk_gadget_init, - NULL // value_table - }; - gtk_gadget_type_id = g_type_module_register_type (type_module, - GTK_TYPE_THING, - "GtkGadget", - &g_define_type_info, - (GTypeFlags) flags); - { - const GInterfaceInfo g_implement_interface_info = { - (GInterfaceInitFunc) gtk_gadget_gizmo_init - }; - g_type_module_add_interface (type_module, g_define_type_id, TYPE_GIZMO, &g_implement_interface_info); - } -} -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TypeName</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>TYPE_PARENT</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the parent type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> to pass to <a class="link" href="GTypeModule.html#g-type-module-register-type" title="g_type_module_register_type ()"><code class="function">g_type_module_register_type()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>CODE</code></em> :</span></p></td> -<td>Custom code that gets inserted in the *_get_type() function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.14</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-IMPLEMENT-INTERFACE-DYNAMIC:CAPS"></a><h3>G_IMPLEMENT_INTERFACE_DYNAMIC()</h3> -<pre class="programlisting">#define G_IMPLEMENT_INTERFACE_DYNAMIC(TYPE_IFACE, iface_init)</pre> -<p> -A convenience macro to ease interface addition in the <em class="parameter"><code>_C_</code></em> section -of <a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" title="G_DEFINE_DYNAMIC_TYPE_EXTENDED()"><code class="function">G_DEFINE_DYNAMIC_TYPE_EXTENDED()</code></a>. See <a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" title="G_DEFINE_DYNAMIC_TYPE_EXTENDED()"><code class="function">G_DEFINE_DYNAMIC_TYPE_EXTENDED()</code></a> -for an example. -</p> -<p> -Note that this macro can only be used together with the -G_DEFINE_DYNAMIC_TYPE_EXTENDED macros, since it depends on variable -names from that macro. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TYPE_IFACE</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the interface to add</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iface_init</code></em> :</span></p></td> -<td>The interface init function</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -</div> -<div class="refsect1"> -<a name="GTypeModule.see-also"></a><h2>See Also</h2> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a></span></p></td> -<td><p>The abstract type loader interface.</p></td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Dynamic-Loading-of-Modules.html#GModule"><span class="type">GModule</span></a></span></p></td> -<td><p>Portable mechanism for dynamically loaded modules.</p></td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/GTypePlugin.html b/gtk+-mingw/share/gtk-doc/html/gobject/GTypePlugin.html deleted file mode 100644 index a830b2d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/GTypePlugin.html +++ /dev/null @@ -1,424 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GTypePlugin</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Type-Information.html" title="Type Information"> -<link rel="next" href="GTypeModule.html" title="GTypeModule"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Type-Information.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="GTypeModule.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GTypePlugin.synopsis" class="shortcut">Top</a> - | - <a href="#GTypePlugin.description" class="shortcut">Description</a> - | - <a href="#GTypePlugin.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GTypePlugin.implementations" class="shortcut">Known Implementations</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GTypePlugin"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GTypePlugin.top_of_page"></a>GTypePlugin</span></h2> -<p>GTypePlugin — An interface for dynamically loadable types</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GTypePlugin.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - - <a class="link" href="GTypePlugin.html#GTypePlugin-struct" title="GTypePlugin">GTypePlugin</a>; -struct <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass">GTypePluginClass</a>; -<span class="returnvalue">void</span> (<a class="link" href="GTypePlugin.html#GTypePluginUse" title="GTypePluginUse ()">*GTypePluginUse</a>) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="GTypePlugin.html#GTypePluginUnuse" title="GTypePluginUnuse ()">*GTypePluginUnuse</a>) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="GTypePlugin.html#GTypePluginCompleteTypeInfo" title="GTypePluginCompleteTypeInfo ()">*GTypePluginCompleteTypeInfo</a>) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> *value_table</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="GTypePlugin.html#GTypePluginCompleteInterfaceInfo" title="GTypePluginCompleteInterfaceInfo ()">*GTypePluginCompleteInterfaceInfo</a>) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *info</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GTypePlugin.html#g-type-plugin-use" title="g_type_plugin_use ()">g_type_plugin_use</a> (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GTypePlugin.html#g-type-plugin-unuse" title="g_type_plugin_unuse ()">g_type_plugin_unuse</a> (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GTypePlugin.html#g-type-plugin-complete-type-info" title="g_type_plugin_complete_type_info ()">g_type_plugin_complete_type_info</a> (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> *value_table</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GTypePlugin.html#g-type-plugin-complete-interface-info" title="g_type_plugin_complete_interface_info ()">g_type_plugin_complete_interface_info</a> - (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *info</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GTypePlugin.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - GInterface - +----GTypePlugin -</pre> -</div> -<div class="refsect1"> -<a name="GTypePlugin.implementations"></a><h2>Known Implementations</h2> -<p> -GTypePlugin is implemented by - <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a>.</p> -</div> -<div class="refsect1"> -<a name="GTypePlugin.description"></a><h2>Description</h2> -<p> -The GObject type system supports dynamic loading of types. The -<a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> interface is used to handle the lifecycle of -dynamically loaded types. It goes as follows: -</p> -<p> -</p> -<div class="orderedlist"><ol class="orderedlist" type="1"> -<li class="listitem"> -<p> - The type is initially introduced (usually upon loading the module - the first time, or by your main application that knows what modules - introduces what types), like this: - </p> -<div class="informalexample"><pre class="programlisting"> - new_type_id = g_type_register_dynamic (parent_type_id, - "TypeName", - new_type_plugin, - type_flags); - </pre></div> -<p> - where <code class="literal">new_type_plugin</code> is an implementation of the - <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> interface. -</p> -</li> -<li class="listitem"><p> - The type's implementation is referenced, e.g. through - <a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()"><code class="function">g_type_class_ref()</code></a> or through <a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()"><code class="function">g_type_create_instance()</code></a> (this is - being called by <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a>) or through one of the above done on - a type derived from <code class="literal">new_type_id</code>. -</p></li> -<li class="listitem"><p> - This causes the type system to load the type's implementation by calling - <a class="link" href="GTypePlugin.html#g-type-plugin-use" title="g_type_plugin_use ()"><code class="function">g_type_plugin_use()</code></a> and <a class="link" href="GTypePlugin.html#g-type-plugin-complete-type-info" title="g_type_plugin_complete_type_info ()"><code class="function">g_type_plugin_complete_type_info()</code></a> on - <code class="literal">new_type_plugin</code>. -</p></li> -<li class="listitem"><p> - At some point the type's implementation isn't required anymore, e.g. after - <a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()"><code class="function">g_type_class_unref()</code></a> or <a class="link" href="gobject-Type-Information.html#g-type-free-instance" title="g_type_free_instance ()"><code class="function">g_type_free_instance()</code></a> (called when the reference - count of an instance drops to zero). -</p></li> -<li class="listitem"><p> - This causes the type system to throw away the information retrieved from - <a class="link" href="GTypePlugin.html#g-type-plugin-complete-type-info" title="g_type_plugin_complete_type_info ()"><code class="function">g_type_plugin_complete_type_info()</code></a> and then it calls - <a class="link" href="GTypePlugin.html#g-type-plugin-unuse" title="g_type_plugin_unuse ()"><code class="function">g_type_plugin_unuse()</code></a> on <code class="literal">new_type_plugin</code>. -</p></li> -<li class="listitem"><p> - Things may repeat from the second step. -</p></li> -</ol></div> -<p> -</p> -<p> -So basically, you need to implement a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> type that -carries a use_count, once use_count goes from zero to one, you need -to load the implementation to successfully handle the upcoming -<a class="link" href="GTypePlugin.html#g-type-plugin-complete-type-info" title="g_type_plugin_complete_type_info ()"><code class="function">g_type_plugin_complete_type_info()</code></a> call. Later, maybe after -succeeding use/unuse calls, once use_count drops to zero, you can -unload the implementation again. The type system makes sure to call -<a class="link" href="GTypePlugin.html#g-type-plugin-use" title="g_type_plugin_use ()"><code class="function">g_type_plugin_use()</code></a> and <a class="link" href="GTypePlugin.html#g-type-plugin-complete-type-info" title="g_type_plugin_complete_type_info ()"><code class="function">g_type_plugin_complete_type_info()</code></a> again -when the type is needed again. -</p> -<p> -<a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> is an implementation of <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> that already -implements most of this except for the actual module loading and -unloading. It even handles multiple registered types per module. -</p> -</div> -<div class="refsect1"> -<a name="GTypePlugin.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GTypePlugin-struct"></a><h3>GTypePlugin</h3> -<pre class="programlisting">typedef struct _GTypePlugin GTypePlugin;</pre> -<p> -The <span class="structname">GTypePlugin</span> typedef is used as a placeholder -for objects that implement the <span class="structname">GTypePlugin</span> -interface. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GTypePluginClass"></a><h3>struct GTypePluginClass</h3> -<pre class="programlisting">struct GTypePluginClass { - GTypePluginUse use_plugin; - GTypePluginUnuse unuse_plugin; - GTypePluginCompleteTypeInfo complete_type_info; - GTypePluginCompleteInterfaceInfo complete_interface_info; -}; -</pre> -<p> -The <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> interface is used by the type system in order to handle -the lifecycle of dynamically loaded types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="GTypePlugin.html#GTypePluginUse" title="GTypePluginUse ()"><span class="type">GTypePluginUse</span></a> <em class="structfield"><code><a name="GTypePluginClass.use-plugin"></a>use_plugin</code></em>;</span></p></td> -<td>Increases the use count of the plugin.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="GTypePlugin.html#GTypePluginUnuse" title="GTypePluginUnuse ()"><span class="type">GTypePluginUnuse</span></a> <em class="structfield"><code><a name="GTypePluginClass.unuse-plugin"></a>unuse_plugin</code></em>;</span></p></td> -<td>Decreases the use count of the plugin.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="GTypePlugin.html#GTypePluginCompleteTypeInfo" title="GTypePluginCompleteTypeInfo ()"><span class="type">GTypePluginCompleteTypeInfo</span></a> <em class="structfield"><code><a name="GTypePluginClass.complete-type-info"></a>complete_type_info</code></em>;</span></p></td> -<td>Fills in the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> and -<a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> structs for the type. The structs are initialized -with <code class="literal">memset(s, 0, sizeof (s))</code> before calling -this function.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="GTypePlugin.html#GTypePluginCompleteInterfaceInfo" title="GTypePluginCompleteInterfaceInfo ()"><span class="type">GTypePluginCompleteInterfaceInfo</span></a> <em class="structfield"><code><a name="GTypePluginClass.complete-interface-info"></a>complete_interface_info</code></em>;</span></p></td> -<td>Fills in missing parts of the <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> -for the interface. The structs is initialized with -<code class="literal">memset(s, 0, sizeof (s))</code> before calling -this function.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypePluginUse"></a><h3>GTypePluginUse ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GTypePluginUse) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>);</pre> -<p> -The type of the <em class="parameter"><code>use_plugin</code></em> function of <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a>, which gets called -to increase the use count of <em class="parameter"><code>plugin</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> whose use count should be increased</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypePluginUnuse"></a><h3>GTypePluginUnuse ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GTypePluginUnuse) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>);</pre> -<p> -The type of the <em class="parameter"><code>unuse_plugin</code></em> function of <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> whose use count should be decreased</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypePluginCompleteTypeInfo"></a><h3>GTypePluginCompleteTypeInfo ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GTypePluginCompleteTypeInfo) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> *value_table</code></em>);</pre> -<p> -The type of the <em class="parameter"><code>complete_type_info</code></em> function of <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> whose info is completed</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> struct to fill in</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_table</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> to fill in</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypePluginCompleteInterfaceInfo"></a><h3>GTypePluginCompleteInterfaceInfo ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GTypePluginCompleteInterfaceInfo) (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *info</code></em>);</pre> -<p> -The type of the <em class="parameter"><code>complete_interface_info</code></em> function of <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of an instantiable type to which the interface -is added</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the interface whose info is completed</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> to fill in</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-plugin-use"></a><h3>g_type_plugin_use ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_plugin_use (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>);</pre> -<p> -Calls the <em class="parameter"><code>use_plugin</code></em> function from the <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a> of -<em class="parameter"><code>plugin</code></em>. There should be no need to use this function outside of -the GObject type system itself. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-plugin-unuse"></a><h3>g_type_plugin_unuse ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_plugin_unuse (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>);</pre> -<p> -Calls the <em class="parameter"><code>unuse_plugin</code></em> function from the <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a> of -<em class="parameter"><code>plugin</code></em>. There should be no need to use this function outside of -the GObject type system itself. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-plugin-complete-type-info"></a><h3>g_type_plugin_complete_type_info ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_plugin_complete_type_info (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> *value_table</code></em>);</pre> -<p> -Calls the <em class="parameter"><code>complete_type_info</code></em> function from the <a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a> of <em class="parameter"><code>plugin</code></em>. -There should be no need to use this function outside of the GObject -type system itself. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> whose info is completed</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> struct to fill in</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_table</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> to fill in</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-plugin-complete-interface-info"></a><h3>g_type_plugin_complete_interface_info ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_plugin_complete_interface_info - (<em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *info</code></em>);</pre> -<p> -Calls the <em class="parameter"><code>complete_interface_info</code></em> function from the -<a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass"><span class="type">GTypePluginClass</span></a> of <em class="parameter"><code>plugin</code></em>. There should be no need to use this -function outside of the GObject type system itself. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of an instantiable type to which the interface -is added</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the interface whose info is completed</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> to fill in</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="GTypePlugin.see-also"></a><h2>See Also</h2> -<a class="link" href="GTypeModule.html" title="GTypeModule"><span class="type">GTypeModule</span></a> and <a class="link" href="gobject-Type-Information.html#g-type-register-dynamic" title="g_type_register_dynamic ()"><code class="function">g_type_register_dynamic()</code></a>. -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/annotation-glossary.html b/gtk+-mingw/share/gtk-doc/html/gobject/annotation-glossary.html deleted file mode 100644 index e210b56..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/annotation-glossary.html +++ /dev/null @@ -1,101 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Annotation Glossary</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-34.html" title="Index of new symbols in 2.34"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-34.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td> </td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#glsO">O</a> - | - <a class="shortcut" href="#glsA">A</a> - | - <a class="shortcut" href="#glsI">I</a> - | - <a class="shortcut" href="#glsC">C</a> - | - <a class="shortcut" href="#glsT">T</a> - | - <a class="shortcut" href="#glsA">A</a> - | - <a class="shortcut" href="#glsE">E</a> - | - <a class="shortcut" href="#glsT">T</a> - | - <a class="shortcut" href="#glsS">S</a> - | - <a class="shortcut" href="#glsT">T</a> - | - <a class="shortcut" href="#glsS">S</a> -</td></tr> -</table> -<div class="glossary"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="annotation-glossary"></a>Annotation Glossary</h2></div></div></div> -<a name="glsO"></a><h3 class="title">O</h3> -<dt> -<a name="annotation-glossterm-out"></a>out</dt> -<dd><p>Parameter for returning results. Default is <acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>.</p></dd> -<a name="glsA"></a><h3 class="title">A</h3> -<dt> -<a name="annotation-glossterm-allow-none"></a>allow-none</dt> -<dd><p>NULL is ok, both for passing and for returning.</p></dd> -<a name="glsI"></a><h3 class="title">I</h3> -<dt> -<a name="annotation-glossterm-inout"></a>inout</dt> -<dd><p>Parameter for input and for returning results. Default is <acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>.</p></dd> -<a name="glsC"></a><h3 class="title">C</h3> -<dt> -<a name="annotation-glossterm-closure"></a>closure</dt> -<dd><p>This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.</p></dd> -<a name="glsT"></a><h3 class="title">T</h3> -<dt> -<a name="annotation-glossterm-transfer%20none"></a>transfer none</dt> -<dd><p>Don't free data after the code is done.</p></dd> -<a name="glsA"></a><h3 class="title">A</h3> -<dt> -<a name="annotation-glossterm-array"></a>array</dt> -<dd><p>Parameter points to an array of items.</p></dd> -<a name="glsE"></a><h3 class="title">E</h3> -<dt> -<a name="annotation-glossterm-element-type"></a>element-type</dt> -<dd><p>Generics and defining elements of containers and arrays.</p></dd> -<a name="glsT"></a><h3 class="title">T</h3> -<dt> -<a name="annotation-glossterm-transfer%20container"></a>transfer container</dt> -<dd><p>Free data container after the code is done.</p></dd> -<dt> -<a name="annotation-glossterm-transfer%20full"></a>transfer full</dt> -<dd><p>Free data after the code is done.</p></dd> -<a name="glsS"></a><h3 class="title">S</h3> -<dt> -<a name="annotation-glossterm-scope%20call"></a>scope call</dt> -<dd><p>The callback is valid only during the call to the method.</p></dd> -<a name="glsT"></a><h3 class="title">T</h3> -<dt> -<a name="annotation-glossterm-type"></a>type</dt> -<dd><p>Override the parsed C type with given type</p></dd> -<a name="glsS"></a><h3 class="title">S</h3> -<dt> -<a name="annotation-glossterm-scope%20notified"></a>scope notified</dt> -<dd><p>The callback is valid until the GDestroyNotify argument is called.</p></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-10.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-10.html deleted file mode 100644 index 1bf54d0..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-10.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.10</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-8.html" title="Index of new symbols in 2.8"> -<link rel="next" href="api-index-2-12.html" title="Index of new symbols in 2.12"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-8.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-12.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxI">I</a> - | - <a class="shortcut" href="#idxO">O</a> - | - <a class="shortcut" href="#idxP">P</a> - | - <a class="shortcut" href="#idxT">T</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-10"></a>Index of new symbols in 2.10</h2></div></div></div> -<a name="idx"></a><a name="idxI"></a><h3 class="title">I</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-GTYPE:CAPS" title="G_IS_PARAM_SPEC_GTYPE()">G_IS_PARAM_SPEC_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxO"></a><h3 class="title">O</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-force-floating" title="g_object_force_floating ()">g_object_force_floating</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-is-floating" title="g_object_is_floating ()">g_object_is_floating</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()">g_object_ref_sink</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<a name="idxP"></a><h3 class="title">P</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType">GParamSpecGType</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-gtype" title="g_param_spec_gtype ()">g_param_spec_gtype</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-GTYPE:CAPS" title="G_PARAM_SPEC_GTYPE()">G_PARAM_SPEC_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-ref-sink" title="g_param_spec_ref_sink ()">g_param_spec_ref_sink</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-HASH-TABLE:CAPS" title="G_TYPE_HASH_TABLE">G_TYPE_HASH_TABLE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS" title="G_TYPE_PARAM_GTYPE">G_TYPE_PARAM_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-12.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-12.html deleted file mode 100644 index ae7e3a6..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-12.html +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.12</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-10.html" title="Index of new symbols in 2.10"> -<link rel="next" href="api-index-2-14.html" title="Index of new symbols in 2.14"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-10.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-14.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-12"></a>Index of new symbols in 2.12</h2></div></div></div> -<a name="idx"></a><a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-register-static-simple" title="g_type_register_static_simple ()">g_type_register_static_simple</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-gtype" title="g_value_get_gtype ()">g_value_get_gtype</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-GTYPE:CAPS" title="G_VALUE_HOLDS_GTYPE()">G_VALUE_HOLDS_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-gtype" title="g_value_set_gtype ()">g_value_set_gtype</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-14.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-14.html deleted file mode 100644 index d13ea8d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-14.html +++ /dev/null @@ -1,51 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.14</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-12.html" title="Index of new symbols in 2.12"> -<link rel="next" href="api-index-2-18.html" title="Index of new symbols in 2.18"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-12.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-18.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxD">D</a> - | - <a class="shortcut" href="#idxT">T</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-14"></a>Index of new symbols in 2.14</h2></div></div></div> -<a name="idx"></a><a name="idxD"></a><h3 class="title">D</h3> -<dt> -<a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE:CAPS" title="G_DEFINE_DYNAMIC_TYPE()">G_DEFINE_DYNAMIC_TYPE</a>, macro in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" title="G_DEFINE_DYNAMIC_TYPE_EXTENDED()">G_DEFINE_DYNAMIC_TYPE_EXTENDED</a>, macro in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-REGEX:CAPS" title="G_TYPE_REGEX">G_TYPE_REGEX</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-18.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-18.html deleted file mode 100644 index b6d039a..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-18.html +++ /dev/null @@ -1,46 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.18</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-14.html" title="Index of new symbols in 2.14"> -<link rel="next" href="api-index-2-22.html" title="Index of new symbols in 2.22"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-14.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-22.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"><a class="shortcut" href="#idxS">S</a></td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-18"></a>Index of new symbols in 2.18</h2></div></div></div> -<a name="idx"></a><a name="idxS"></a><h3 class="title">S</h3> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()">g_signal_chain_from_overridden_handler</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-new-class-handler" title="g_signal_new_class_handler ()">g_signal_new_class_handler</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()">g_signal_override_class_handler</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-2.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-2.html deleted file mode 100644 index b0b4ed6..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-2.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.2</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-deprecated.html" title="Index of deprecated symbols"> -<link rel="next" href="api-index-2-4.html" title="Index of new symbols in 2.4"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-deprecated.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-4.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"><a class="shortcut" href="#idxT">T</a></td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-2"></a>Index of new symbols in 2.2</h2></div></div></div> -<a name="idx"></a><a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-interface-prerequisites" title="g_type_interface_prerequisites ()">g_type_interface_prerequisites</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-22.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-22.html deleted file mode 100644 index a9c40a8..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-22.html +++ /dev/null @@ -1,46 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.22</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-18.html" title="Index of new symbols in 2.18"> -<link rel="next" href="api-index-2-24.html" title="Index of new symbols in 2.24"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-18.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-24.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"><a class="shortcut" href="#idxT">T</a></td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-22"></a>Index of new symbols in 2.22</h2></div></div></div> -<a name="idx"></a><a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-ARRAY:CAPS" title="G_TYPE_ARRAY">G_TYPE_ARRAY</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-BYTE-ARRAY:CAPS" title="G_TYPE_BYTE_ARRAY">G_TYPE_BYTE_ARRAY</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-PTR-ARRAY:CAPS" title="G_TYPE_PTR_ARRAY">G_TYPE_PTR_ARRAY</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-24.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-24.html deleted file mode 100644 index a561ff8..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-24.html +++ /dev/null @@ -1,73 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.24</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-22.html" title="Index of new symbols in 2.22"> -<link rel="next" href="api-index-2-26.html" title="Index of new symbols in 2.26"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-22.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-26.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxD">D</a> - | - <a class="shortcut" href="#idxI">I</a> - | - <a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-24"></a>Index of new symbols in 2.24</h2></div></div></div> -<a name="idx"></a><a name="idxD"></a><h3 class="title">D</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()">G_DEFINE_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE-WITH-CODE:CAPS" title="G_DEFINE_INTERFACE_WITH_CODE()">G_DEFINE_INTERFACE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<a name="idxI"></a><h3 class="title">I</h3> -<dt> -<a class="link" href="GTypeModule.html#G-IMPLEMENT-INTERFACE-DYNAMIC:CAPS" title="G_IMPLEMENT_INTERFACE_DYNAMIC()">G_IMPLEMENT_INTERFACE_DYNAMIC</a>, macro in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-add-class-private" title="g_type_add_class_private ()">g_type_add_class_private</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CLASS-GET-PRIVATE:CAPS" title="G_TYPE_CLASS_GET_PRIVATE()">G_TYPE_CLASS_GET_PRIVATE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-VARIANT-TYPE:CAPS" title="G_TYPE_VARIANT_TYPE">G_TYPE_VARIANT_TYPE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-INIT:CAPS" title="G_VALUE_COLLECT_INIT()">G_VALUE_COLLECT_INIT</a>, macro in <a class="link" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">Varargs Value Collection</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-26.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-26.html deleted file mode 100644 index 023d34e..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-26.html +++ /dev/null @@ -1,201 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.26</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-24.html" title="Index of new symbols in 2.24"> -<link rel="next" href="api-index-2-28.html" title="Index of new symbols in 2.28"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-24.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-28.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxB">B</a> - | - <a class="shortcut" href="#idxC">C</a> - | - <a class="shortcut" href="#idxD">D</a> - | - <a class="shortcut" href="#idxI">I</a> - | - <a class="shortcut" href="#idxO">O</a> - | - <a class="shortcut" href="#idxP">P</a> - | - <a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-26"></a>Index of new symbols in 2.26</h2></div></div></div> -<a name="idx"></a><a name="idxB"></a><h3 class="title">B</h3> -<dt> -<a class="link" href="GBinding.html#GBinding-struct" title="GBinding">GBinding</a>, struct in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--flags" title='The "flags" property'>GBinding:flags</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--source" title='The "source" property'>GBinding:source</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--source-property" title='The "source-property" property'>GBinding:source-property</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--target" title='The "target" property'>GBinding:target</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--target-property" title='The "target-property" property'>GBinding:target-property</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags">GBindingFlags</a>, enum in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBindingTransformFunc" title="GBindingTransformFunc ()">GBindingTransformFunc</a>, user_function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-flags" title="g_binding_get_flags ()">g_binding_get_flags</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-source" title="g_binding_get_source ()">g_binding_get_source</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-source-property" title="g_binding_get_source_property ()">g_binding_get_source_property</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-target" title="g_binding_get_target ()">g_binding_get_target</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-target-property" title="g_binding_get_target_property ()">g_binding_get_target_property</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<a name="idxC"></a><h3 class="title">C</h3> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANT" title="g_cclosure_marshal_VOID__VARIANT ()">g_cclosure_marshal_VOID__VARIANT</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<a name="idxD"></a><h3 class="title">D</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE:CAPS" title="G_DEFINE_BOXED_TYPE()">G_DEFINE_BOXED_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS" title="G_DEFINE_BOXED_TYPE_WITH_CODE()">G_DEFINE_BOXED_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE:CAPS" title="G_DEFINE_POINTER_TYPE()">G_DEFINE_POINTER_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS" title="G_DEFINE_POINTER_TYPE_WITH_CODE()">G_DEFINE_POINTER_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<a name="idxI"></a><h3 class="title">I</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VARIANT:CAPS" title="G_IS_PARAM_SPEC_VARIANT()">G_IS_PARAM_SPEC_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxO"></a><h3 class="title">O</h3> -<dt> -<a class="link" href="GBinding.html#g-object-bind-property" title="g_object_bind_property ()">g_object_bind_property</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-object-bind-property-full" title="g_object_bind_property_full ()">g_object_bind_property_full</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-object-bind-property-with-closures" title="g_object_bind_property_with_closures ()">g_object_bind_property_with_closures</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-properties" title="g_object_class_install_properties ()">g_object_class_install_properties</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()">g_object_notify_by_pspec</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<a name="idxP"></a><h3 class="title">P</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant">GParamSpecVariant</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-variant" title="g_param_spec_variant ()">g_param_spec_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VARIANT:CAPS" title="G_PARAM_SPEC_VARIANT()">G_PARAM_SPEC_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-DATE-TIME:CAPS" title="G_TYPE_DATE_TIME">G_TYPE_DATE_TIME</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-ERROR:CAPS" title="G_TYPE_ERROR">G_TYPE_ERROR</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS" title="G_TYPE_PARAM_VARIANT">G_TYPE_PARAM_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT">G_TYPE_VARIANT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-variant" title="g_value_dup_variant ()">g_value_dup_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-variant" title="g_value_get_variant ()">g_value_get_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-VARIANT:CAPS" title="G_VALUE_HOLDS_VARIANT()">G_VALUE_HOLDS_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant" title="g_value_set_variant ()">g_value_set_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-variant" title="g_value_take_variant ()">g_value_take_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-28.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-28.html deleted file mode 100644 index 477418d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-28.html +++ /dev/null @@ -1,47 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.28</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-26.html" title="Index of new symbols in 2.26"> -<link rel="next" href="api-index-2-30.html" title="Index of new symbols in 2.30"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-26.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-30.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxC">C</a> - | - <a class="shortcut" href="#idxS">S</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-28"></a>Index of new symbols in 2.28</h2></div></div></div> -<a name="idx"></a><a name="idxC"></a><h3 class="title">C</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-clear-object" title="g_clear_object ()">g_clear_object</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<a name="idxS"></a><h3 class="title">S</h3> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-accumulator-first-wins" title="g_signal_accumulator_first_wins ()">g_signal_accumulator_first_wins</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-30.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-30.html deleted file mode 100644 index 8b8631d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-30.html +++ /dev/null @@ -1,70 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.30</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-28.html" title="Index of new symbols in 2.28"> -<link rel="next" href="api-index-2-32.html" title="Index of new symbols in 2.32"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-28.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-32.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxC">C</a> - | - <a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-30"></a>Index of new symbols in 2.30</h2></div></div></div> -<a name="idx"></a><a name="idxC"></a><h3 class="title">C</h3> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-generic" title="g_cclosure_marshal_generic ()">g_cclosure_marshal_generic</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-CONTEXT:CAPS" title="G_TYPE_MAIN_CONTEXT">G_TYPE_MAIN_CONTEXT</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-LOOP:CAPS" title="G_TYPE_MAIN_LOOP">G_TYPE_MAIN_LOOP</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-MATCH-INFO:CAPS" title="G_TYPE_MATCH_INFO">G_TYPE_MATCH_INFO</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-SOURCE:CAPS" title="G_TYPE_SOURCE">G_TYPE_SOURCE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-VARIANT-BUILDER:CAPS" title="G_TYPE_VARIANT_BUILDER">G_TYPE_VARIANT_BUILDER</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Generic-values.html#G-VALUE-INIT:CAPS" title="G_VALUE_INIT">G_VALUE_INIT</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-32.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-32.html deleted file mode 100644 index e0d6586..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-32.html +++ /dev/null @@ -1,81 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.32</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-30.html" title="Index of new symbols in 2.30"> -<link rel="next" href="api-index-2-34.html" title="Index of new symbols in 2.34"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-30.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-34.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxS">S</a> - | - <a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> - | - <a class="shortcut" href="#idxW">W</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-32"></a>Index of new symbols in 2.32</h2></div></div></div> -<a name="idx"></a><a name="idxS"></a><h3 class="title">S</h3> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-by-data" title="g_signal_handlers_disconnect_by_data()">g_signal_handlers_disconnect_by_data</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-BYTES:CAPS" title="G_TYPE_BYTES">G_TYPE_BYTES</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-KEY-FILE:CAPS" title="G_TYPE_KEY_FILE">G_TYPE_KEY_FILE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()">g_value_get_schar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar" title="g_value_set_schar ()">g_value_set_schar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxW"></a><h3 class="title">W</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-clear" title="g_weak_ref_clear ()">g_weak_ref_clear</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-get" title="g_weak_ref_get ()">g_weak_ref_get</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-init" title="g_weak_ref_init ()">g_weak_ref_init</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-set" title="g_weak_ref_set ()">g_weak_ref_set</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-34.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-34.html deleted file mode 100644 index b79ee76..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-34.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.34</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-32.html" title="Index of new symbols in 2.32"> -<link rel="next" href="annotation-glossary.html" title="Annotation Glossary"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-32.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="annotation-glossary.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"><a class="shortcut" href="#idxT">T</a></td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-34"></a>Index of new symbols in 2.34</h2></div></div></div> -<a name="idx"></a><a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-ensure" title="g_type_ensure ()">g_type_ensure</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-4.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-4.html deleted file mode 100644 index e091a50..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-4.html +++ /dev/null @@ -1,178 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.4</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-2.html" title="Index of new symbols in 2.2"> -<link rel="next" href="api-index-2-6.html" title="Index of new symbols in 2.6"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-2.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-6.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxD">D</a> - | - <a class="shortcut" href="#idxI">I</a> - | - <a class="shortcut" href="#idxO">O</a> - | - <a class="shortcut" href="#idxP">P</a> - | - <a class="shortcut" href="#idxS">S</a> - | - <a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-4"></a>Index of new symbols in 2.4</h2></div></div></div> -<a name="idx"></a><a name="idxD"></a><h3 class="title">D</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE:CAPS" title="G_DEFINE_ABSTRACT_TYPE()">G_DEFINE_ABSTRACT_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS" title="G_DEFINE_ABSTRACT_TYPE_WITH_CODE()">G_DEFINE_ABSTRACT_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()">G_DEFINE_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()">G_DEFINE_TYPE_EXTENDED</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()">G_DEFINE_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<a name="idxI"></a><h3 class="title">I</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()">G_IMPLEMENT_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OVERRIDE:CAPS" title="G_IS_PARAM_SPEC_OVERRIDE()">G_IS_PARAM_SPEC_OVERRIDE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxO"></a><h3 class="title">O</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()">g_object_class_override_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-find-property" title="g_object_interface_find_property ()">g_object_interface_find_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-install-property" title="g_object_interface_install_property ()">g_object_interface_install_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-list-properties" title="g_object_interface_list_properties ()">g_object_interface_list_properties</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<a name="idxP"></a><h3 class="title">P</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride">GParamSpecOverride</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-redirect-target" title="g_param_spec_get_redirect_target ()">g_param_spec_get_redirect_target</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-override" title="g_param_spec_override ()">g_param_spec_override</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OVERRIDE:CAPS" title="G_PARAM_SPEC_OVERRIDE()">G_PARAM_SPEC_OVERRIDE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxS"></a><h3 class="title">S</h3> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-accumulator-true-handled" title="g_signal_accumulator_true_handled ()">g_signal_accumulator_true_handled</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()">GTypeInterfaceCheckFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()">g_type_add_interface_check</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-add-private" title="g_type_class_add_private ()">g_type_class_add_private</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-peek-static" title="g_type_class_peek_static ()">g_type_class_peek_static</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()">g_type_default_interface_peek</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()">g_type_default_interface_ref</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-unref" title="g_type_default_interface_unref ()">g_type_default_interface_unref</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-PRIVATE:CAPS" title="G_TYPE_INSTANCE_GET_PRIVATE()">G_TYPE_INSTANCE_GET_PRIVATE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS" title="G_TYPE_PARAM_OVERRIDE">G_TYPE_PARAM_OVERRIDE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-remove-interface-check" title="g_type_remove_interface_check ()">g_type_remove_interface_check</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV">G_TYPE_STRV</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed" title="g_value_take_boxed ()">g_value_take_boxed</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()">g_value_take_object</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param" title="g_value_take_param ()">g_value_take_param</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string" title="g_value_take_string ()">g_value_take_string</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-6.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-6.html deleted file mode 100644 index 30a1976..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-6.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.6</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-4.html" title="Index of new symbols in 2.4"> -<link rel="next" href="api-index-2-8.html" title="Index of new symbols in 2.8"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-4.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-8.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"><a class="shortcut" href="#idxT">T</a></td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-6"></a>Index of new symbols in 2.6</h2></div></div></div> -<a name="idx"></a><a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-register-enum" title="g_type_module_register_enum ()">g_type_module_register_enum</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-register-flags" title="g_type_module_register_flags ()">g_type_module_register_flags</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-8.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-8.html deleted file mode 100644 index 231dd3a..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-2-8.html +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of new symbols in 2.8</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-2-6.html" title="Index of new symbols in 2.6"> -<link rel="next" href="api-index-2-10.html" title="Index of new symbols in 2.10"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-2-6.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-10.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"><a class="shortcut" href="#idxO">O</a></td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-2-8"></a>Index of new symbols in 2.8</h2></div></div></div> -<a name="idx"></a><a name="idxO"></a><h3 class="title">O</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()">g_object_add_toggle_ref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-remove-toggle-ref" title="g_object_remove_toggle_ref ()">g_object_remove_toggle_ref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-deprecated.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-deprecated.html deleted file mode 100644 index 14de4e8..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-deprecated.html +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index of deprecated symbols</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="api-index-full.html" title="Index"> -<link rel="next" href="api-index-2-2.html" title="Index of new symbols in 2.2"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="api-index-full.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-2-2.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxI">I</a> - | - <a class="shortcut" href="#idxP">P</a> - | - <a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-deprecated"></a>Index of deprecated symbols</h2></div></div></div> -<a name="idx"></a><a name="idxI"></a><h3 class="title">I</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_IS_PARAM_SPEC_VALUE_ARRAY()">G_IS_PARAM_SPEC_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxP"></a><h3 class="title">P</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_PARAM_SPEC_VALUE_ARRAY()">G_PARAM_SPEC_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS" title="G_TYPE_PARAM_VALUE_ARRAY">G_TYPE_PARAM_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY">G_TYPE_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-append" title="g_value_array_append ()">g_value_array_append</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-copy" title="g_value_array_copy ()">g_value_array_copy</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-free" title="g_value_array_free ()">g_value_array_free</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-get-nth" title="g_value_array_get_nth ()">g_value_array_get_nth</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-insert" title="g_value_array_insert ()">g_value_array_insert</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-new" title="g_value_array_new ()">g_value_array_new</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-prepend" title="g_value_array_prepend ()">g_value_array_prepend</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-remove" title="g_value_array_remove ()">g_value_array_remove</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-sort" title="g_value_array_sort ()">g_value_array_sort</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-sort-with-data" title="g_value_array_sort_with_data ()">g_value_array_sort_with_data</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-char" title="g_value_get_char ()">g_value_get_char</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership" title="g_value_set_boxed_take_ownership ()">g_value_set_boxed_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-char" title="g_value_set_char ()">g_value_set_char</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object-take-ownership" title="g_value_set_object_take_ownership ()">g_value_set_object_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param-take-ownership" title="g_value_set_param_take_ownership ()">g_value_set_param_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string-take-ownership" title="g_value_set_string_take_ownership ()">g_value_set_string_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-full.html b/gtk+-mingw/share/gtk-doc/html/gobject/api-index-full.html deleted file mode 100644 index d6f9700..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/api-index-full.html +++ /dev/null @@ -1,2921 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Index</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="tools-gtkdoc.html" title="Writing API docs"> -<link rel="next" href="api-index-deprecated.html" title="Index of deprecated symbols"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="tools-gtkdoc.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-deprecated.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a class="shortcut" href="#idxB">B</a> - | - <a class="shortcut" href="#idxC">C</a> - | - <a class="shortcut" href="#idxD">D</a> - | - <a class="shortcut" href="#idxE">E</a> - | - <a class="shortcut" href="#idxF">F</a> - | - <a class="shortcut" href="#idxI">I</a> - | - <a class="shortcut" href="#idxO">O</a> - | - <a class="shortcut" href="#idxP">P</a> - | - <a class="shortcut" href="#idxS">S</a> - | - <a class="shortcut" href="#idxT">T</a> - | - <a class="shortcut" href="#idxV">V</a> - | - <a class="shortcut" href="#idxW">W</a> -</td></tr> -</table> -<div class="index"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="api-index-full"></a>Index</h2></div></div></div> -<a name="idx"></a><a name="idxB"></a><h3 class="title">B</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()">GBaseFinalizeFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()">GBaseInitFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding-struct" title="GBinding">GBinding</a>, struct in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--flags" title='The "flags" property'>GBinding:flags</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--source" title='The "source" property'>GBinding:source</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--source-property" title='The "source-property" property'>GBinding:source-property</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--target" title='The "target" property'>GBinding:target</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBinding--target-property" title='The "target-property" property'>GBinding:target-property</a>, object property in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBindingFlags" title="enum GBindingFlags">GBindingFlags</a>, enum in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#GBindingTransformFunc" title="GBindingTransformFunc ()">GBindingTransformFunc</a>, user_function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-flags" title="g_binding_get_flags ()">g_binding_get_flags</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-source" title="g_binding_get_source ()">g_binding_get_source</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-source-property" title="g_binding_get_source_property ()">g_binding_get_source_property</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-target" title="g_binding_get_target ()">g_binding_get_target</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-binding-get-target-property" title="g_binding_get_target_property ()">g_binding_get_target_property</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()">GBoxedCopyFunc</a>, user_function in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()">GBoxedFreeFunc</a>, user_function in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#g-boxed-copy" title="g_boxed_copy ()">g_boxed_copy</a>, function in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#g-boxed-free" title="g_boxed_free ()">g_boxed_free</a>, function in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#g-boxed-type-register-static" title="g_boxed_type_register_static ()">g_boxed_type_register_static</a>, function in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxC"></a><h3 class="title">C</h3> -<dt> -<a class="link" href="gobject-Closures.html#G-CALLBACK:CAPS" title="G_CALLBACK()">G_CALLBACK</a>, macro in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()">GCallback</a>, user_function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure">GCClosure</a>, struct in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXED" title="g_cclosure_marshal_BOOLEAN__BOXED_BOXED ()">g_cclosure_marshal_BOOLEAN__BOXED_BOXED</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXEDv" title="g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv ()">g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS" title="g_cclosure_marshal_BOOLEAN__FLAGS ()">g_cclosure_marshal_BOOLEAN__FLAGS</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGSv" title="g_cclosure_marshal_BOOLEAN__FLAGSv ()">g_cclosure_marshal_BOOLEAN__FLAGSv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOL--BOXED-BOXED" title="g_cclosure_marshal_BOOL__BOXED_BOXED">g_cclosure_marshal_BOOL__BOXED_BOXED</a>, macro in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOL--FLAGS" title="g_cclosure_marshal_BOOL__FLAGS">g_cclosure_marshal_BOOL__FLAGS</a>, macro in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-generic" title="g_cclosure_marshal_generic ()">g_cclosure_marshal_generic</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-generic-va" title="g_cclosure_marshal_generic_va ()">g_cclosure_marshal_generic_va</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTER" title="g_cclosure_marshal_STRING__OBJECT_POINTER ()">g_cclosure_marshal_STRING__OBJECT_POINTER</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTERv" title="g_cclosure_marshal_STRING__OBJECT_POINTERv ()">g_cclosure_marshal_STRING__OBJECT_POINTERv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEAN" title="g_cclosure_marshal_VOID__BOOLEAN ()">g_cclosure_marshal_VOID__BOOLEAN</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEANv" title="g_cclosure_marshal_VOID__BOOLEANv ()">g_cclosure_marshal_VOID__BOOLEANv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOXED" title="g_cclosure_marshal_VOID__BOXED ()">g_cclosure_marshal_VOID__BOXED</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOXEDv" title="g_cclosure_marshal_VOID__BOXEDv ()">g_cclosure_marshal_VOID__BOXEDv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--CHAR" title="g_cclosure_marshal_VOID__CHAR ()">g_cclosure_marshal_VOID__CHAR</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--CHARv" title="g_cclosure_marshal_VOID__CHARv ()">g_cclosure_marshal_VOID__CHARv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLE" title="g_cclosure_marshal_VOID__DOUBLE ()">g_cclosure_marshal_VOID__DOUBLE</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLEv" title="g_cclosure_marshal_VOID__DOUBLEv ()">g_cclosure_marshal_VOID__DOUBLEv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ENUM" title="g_cclosure_marshal_VOID__ENUM ()">g_cclosure_marshal_VOID__ENUM</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ENUMv" title="g_cclosure_marshal_VOID__ENUMv ()">g_cclosure_marshal_VOID__ENUMv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGS" title="g_cclosure_marshal_VOID__FLAGS ()">g_cclosure_marshal_VOID__FLAGS</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGSv" title="g_cclosure_marshal_VOID__FLAGSv ()">g_cclosure_marshal_VOID__FLAGSv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLOAT" title="g_cclosure_marshal_VOID__FLOAT ()">g_cclosure_marshal_VOID__FLOAT</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLOATv" title="g_cclosure_marshal_VOID__FLOATv ()">g_cclosure_marshal_VOID__FLOATv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--INT" title="g_cclosure_marshal_VOID__INT ()">g_cclosure_marshal_VOID__INT</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--INTv" title="g_cclosure_marshal_VOID__INTv ()">g_cclosure_marshal_VOID__INTv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--LONG" title="g_cclosure_marshal_VOID__LONG ()">g_cclosure_marshal_VOID__LONG</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--LONGv" title="g_cclosure_marshal_VOID__LONGv ()">g_cclosure_marshal_VOID__LONGv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECT" title="g_cclosure_marshal_VOID__OBJECT ()">g_cclosure_marshal_VOID__OBJECT</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECTv" title="g_cclosure_marshal_VOID__OBJECTv ()">g_cclosure_marshal_VOID__OBJECTv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--PARAM" title="g_cclosure_marshal_VOID__PARAM ()">g_cclosure_marshal_VOID__PARAM</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--PARAMv" title="g_cclosure_marshal_VOID__PARAMv ()">g_cclosure_marshal_VOID__PARAMv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--POINTER" title="g_cclosure_marshal_VOID__POINTER ()">g_cclosure_marshal_VOID__POINTER</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--POINTERv" title="g_cclosure_marshal_VOID__POINTERv ()">g_cclosure_marshal_VOID__POINTERv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--STRING" title="g_cclosure_marshal_VOID__STRING ()">g_cclosure_marshal_VOID__STRING</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--STRINGv" title="g_cclosure_marshal_VOID__STRINGv ()">g_cclosure_marshal_VOID__STRINGv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UCHAR" title="g_cclosure_marshal_VOID__UCHAR ()">g_cclosure_marshal_VOID__UCHAR</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UCHARv" title="g_cclosure_marshal_VOID__UCHARv ()">g_cclosure_marshal_VOID__UCHARv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT" title="g_cclosure_marshal_VOID__UINT ()">g_cclosure_marshal_VOID__UINT</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINTv" title="g_cclosure_marshal_VOID__UINTv ()">g_cclosure_marshal_VOID__UINTv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTER" title="g_cclosure_marshal_VOID__UINT_POINTER ()">g_cclosure_marshal_VOID__UINT_POINTER</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTERv" title="g_cclosure_marshal_VOID__UINT_POINTERv ()">g_cclosure_marshal_VOID__UINT_POINTERv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ULONG" title="g_cclosure_marshal_VOID__ULONG ()">g_cclosure_marshal_VOID__ULONG</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ULONGv" title="g_cclosure_marshal_VOID__ULONGv ()">g_cclosure_marshal_VOID__ULONGv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANT" title="g_cclosure_marshal_VOID__VARIANT ()">g_cclosure_marshal_VOID__VARIANT</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANTv" title="g_cclosure_marshal_VOID__VARIANTv ()">g_cclosure_marshal_VOID__VARIANTv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VOID" title="g_cclosure_marshal_VOID__VOID ()">g_cclosure_marshal_VOID__VOID</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VOIDv" title="g_cclosure_marshal_VOID__VOIDv ()">g_cclosure_marshal_VOID__VOIDv</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()">g_cclosure_new</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-new-object" title="g_cclosure_new_object ()">g_cclosure_new_object</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-new-object-swap" title="g_cclosure_new_object_swap ()">g_cclosure_new_object_swap</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()">g_cclosure_new_swap</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#G-CCLOSURE-SWAP-DATA:CAPS" title="G_CCLOSURE_SWAP_DATA()">G_CCLOSURE_SWAP_DATA</a>, macro in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#gchararray" title="gchararray">gchararray</a>, typedef in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GClassFinalizeFunc" title="GClassFinalizeFunc ()">GClassFinalizeFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()">GClassInitFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-clear-object" title="g_clear_object ()">g_clear_object</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure">GClosure</a>, struct in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()">GClosureMarshal</a>, user_function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()">GClosureNotify</a>, user_function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()">g_closure_add_finalize_notifier</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()">g_closure_add_invalidate_notifier</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()">g_closure_add_marshal_guards</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()">g_closure_invalidate</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()">g_closure_invoke</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#G-CLOSURE-NEEDS-MARSHAL:CAPS" title="G_CLOSURE_NEEDS_MARSHAL()">G_CLOSURE_NEEDS_MARSHAL</a>, macro in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-new-object" title="g_closure_new_object ()">g_closure_new_object</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-new-simple" title="g_closure_new_simple ()">g_closure_new_simple</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#G-CLOSURE-N-NOTIFIERS:CAPS" title="G_CLOSURE_N_NOTIFIERS()">G_CLOSURE_N_NOTIFIERS</a>, macro in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()">g_closure_ref</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-remove-finalize-notifier" title="g_closure_remove_finalize_notifier ()">g_closure_remove_finalize_notifier</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-remove-invalidate-notifier" title="g_closure_remove_invalidate_notifier ()">g_closure_remove_invalidate_notifier</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()">g_closure_set_marshal</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()">g_closure_set_meta_marshal</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()">g_closure_sink</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()">g_closure_unref</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags">GConnectFlags</a>, enum in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<a name="idxD"></a><h3 class="title">D</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE:CAPS" title="G_DEFINE_ABSTRACT_TYPE()">G_DEFINE_ABSTRACT_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS" title="G_DEFINE_ABSTRACT_TYPE_WITH_CODE()">G_DEFINE_ABSTRACT_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE:CAPS" title="G_DEFINE_BOXED_TYPE()">G_DEFINE_BOXED_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS" title="G_DEFINE_BOXED_TYPE_WITH_CODE()">G_DEFINE_BOXED_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE:CAPS" title="G_DEFINE_DYNAMIC_TYPE()">G_DEFINE_DYNAMIC_TYPE</a>, macro in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" title="G_DEFINE_DYNAMIC_TYPE_EXTENDED()">G_DEFINE_DYNAMIC_TYPE_EXTENDED</a>, macro in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()">G_DEFINE_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE-WITH-CODE:CAPS" title="G_DEFINE_INTERFACE_WITH_CODE()">G_DEFINE_INTERFACE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE:CAPS" title="G_DEFINE_POINTER_TYPE()">G_DEFINE_POINTER_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS" title="G_DEFINE_POINTER_TYPE_WITH_CODE()">G_DEFINE_POINTER_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()">G_DEFINE_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()">G_DEFINE_TYPE_EXTENDED</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()">G_DEFINE_TYPE_WITH_CODE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<a name="idxE"></a><h3 class="title">E</h3> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass">GEnumClass</a>, struct in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue">GEnumValue</a>, struct in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS:CAPS" title="G_ENUM_CLASS()">G_ENUM_CLASS</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE:CAPS" title="G_ENUM_CLASS_TYPE()">G_ENUM_CLASS_TYPE</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE-NAME:CAPS" title="G_ENUM_CLASS_TYPE_NAME()">G_ENUM_CLASS_TYPE_NAME</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-complete-type-info" title="g_enum_complete_type_info ()">g_enum_complete_type_info</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value" title="g_enum_get_value ()">g_enum_get_value</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-name" title="g_enum_get_value_by_name ()">g_enum_get_value_by_name</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-nick" title="g_enum_get_value_by_nick ()">g_enum_get_value_by_nick</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-register-static" title="g_enum_register_static ()">g_enum_register_static</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<a name="idxF"></a><h3 class="title">F</h3> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass">GFlagsClass</a>, struct in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue">GFlagsValue</a>, struct in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS:CAPS" title="G_FLAGS_CLASS()">G_FLAGS_CLASS</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE:CAPS" title="G_FLAGS_CLASS_TYPE()">G_FLAGS_CLASS_TYPE</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE-NAME:CAPS" title="G_FLAGS_CLASS_TYPE_NAME()">G_FLAGS_CLASS_TYPE_NAME</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-complete-type-info" title="g_flags_complete_type_info ()">g_flags_complete_type_info</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-first-value" title="g_flags_get_first_value ()">g_flags_get_first_value</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-name" title="g_flags_get_value_by_name ()">g_flags_get_value_by_name</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-nick" title="g_flags_get_value_by_nick ()">g_flags_get_value_by_nick</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-register-static" title="g_flags_register_static ()">g_flags_register_static</a>, function in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<a name="idxI"></a><h3 class="title">I</h3> -<dt> -<a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()">G_IMPLEMENT_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#G-IMPLEMENT-INTERFACE-DYNAMIC:CAPS" title="G_IMPLEMENT_INTERFACE_DYNAMIC()">G_IMPLEMENT_INTERFACE_DYNAMIC</a>, macro in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnowned" title="GInitiallyUnowned">GInitiallyUnowned</a>, typedef in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnownedClass" title="GInitiallyUnownedClass">GInitiallyUnownedClass</a>, typedef in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()">GInstanceInitFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GInterfaceFinalizeFunc" title="GInterfaceFinalizeFunc ()">GInterfaceFinalizeFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo">GInterfaceInfo</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GInterfaceInitFunc" title="GInterfaceInitFunc ()">GInterfaceInitFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-IS-ENUM-CLASS:CAPS" title="G_IS_ENUM_CLASS()">G_IS_ENUM_CLASS</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-IS-FLAGS-CLASS:CAPS" title="G_IS_FLAGS_CLASS()">G_IS_FLAGS_CLASS</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-IS-OBJECT:CAPS" title="G_IS_OBJECT()">G_IS_OBJECT</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-IS-OBJECT-CLASS:CAPS" title="G_IS_OBJECT_CLASS()">G_IS_OBJECT_CLASS</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-IS-PARAM-SPEC:CAPS" title="G_IS_PARAM_SPEC()">G_IS_PARAM_SPEC</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOOLEAN:CAPS" title="G_IS_PARAM_SPEC_BOOLEAN()">G_IS_PARAM_SPEC_BOOLEAN</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOXED:CAPS" title="G_IS_PARAM_SPEC_BOXED()">G_IS_PARAM_SPEC_BOXED</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-CHAR:CAPS" title="G_IS_PARAM_SPEC_CHAR()">G_IS_PARAM_SPEC_CHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-IS-PARAM-SPEC-CLASS:CAPS" title="G_IS_PARAM_SPEC_CLASS()">G_IS_PARAM_SPEC_CLASS</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-DOUBLE:CAPS" title="G_IS_PARAM_SPEC_DOUBLE()">G_IS_PARAM_SPEC_DOUBLE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ENUM:CAPS" title="G_IS_PARAM_SPEC_ENUM()">G_IS_PARAM_SPEC_ENUM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLAGS:CAPS" title="G_IS_PARAM_SPEC_FLAGS()">G_IS_PARAM_SPEC_FLAGS</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLOAT:CAPS" title="G_IS_PARAM_SPEC_FLOAT()">G_IS_PARAM_SPEC_FLOAT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-GTYPE:CAPS" title="G_IS_PARAM_SPEC_GTYPE()">G_IS_PARAM_SPEC_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT:CAPS" title="G_IS_PARAM_SPEC_INT()">G_IS_PARAM_SPEC_INT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT64:CAPS" title="G_IS_PARAM_SPEC_INT64()">G_IS_PARAM_SPEC_INT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-LONG:CAPS" title="G_IS_PARAM_SPEC_LONG()">G_IS_PARAM_SPEC_LONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OBJECT:CAPS" title="G_IS_PARAM_SPEC_OBJECT()">G_IS_PARAM_SPEC_OBJECT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OVERRIDE:CAPS" title="G_IS_PARAM_SPEC_OVERRIDE()">G_IS_PARAM_SPEC_OVERRIDE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-PARAM:CAPS" title="G_IS_PARAM_SPEC_PARAM()">G_IS_PARAM_SPEC_PARAM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-POINTER:CAPS" title="G_IS_PARAM_SPEC_POINTER()">G_IS_PARAM_SPEC_POINTER</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-STRING:CAPS" title="G_IS_PARAM_SPEC_STRING()">G_IS_PARAM_SPEC_STRING</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UCHAR:CAPS" title="G_IS_PARAM_SPEC_UCHAR()">G_IS_PARAM_SPEC_UCHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT:CAPS" title="G_IS_PARAM_SPEC_UINT()">G_IS_PARAM_SPEC_UINT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT64:CAPS" title="G_IS_PARAM_SPEC_UINT64()">G_IS_PARAM_SPEC_UINT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ULONG:CAPS" title="G_IS_PARAM_SPEC_ULONG()">G_IS_PARAM_SPEC_ULONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UNICHAR:CAPS" title="G_IS_PARAM_SPEC_UNICHAR()">G_IS_PARAM_SPEC_UNICHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_IS_PARAM_SPEC_VALUE_ARRAY()">G_IS_PARAM_SPEC_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VARIANT:CAPS" title="G_IS_PARAM_SPEC_VARIANT()">G_IS_PARAM_SPEC_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-IS-VALUE:CAPS" title="G_IS_VALUE()">G_IS_VALUE</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<a name="idxO"></a><h3 class="title">O</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject-struct" title="struct GObject">GObject</a>, struct in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT:CAPS" title="G_OBJECT()">G_OBJECT</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'>GObject::notify</a>, object signal in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass">GObjectClass</a>, struct in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GObjectConstructParam" title="struct GObjectConstructParam">GObjectConstructParam</a>, struct in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GObjectFinalizeFunc" title="GObjectFinalizeFunc ()">GObjectFinalizeFunc</a>, user_function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GObjectGetPropertyFunc" title="GObjectGetPropertyFunc ()">GObjectGetPropertyFunc</a>, user_function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GObjectSetPropertyFunc" title="GObjectSetPropertyFunc ()">GObjectSetPropertyFunc</a>, user_function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()">g_object_add_toggle_ref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()">g_object_add_weak_pointer</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-object-bind-property" title="g_object_bind_property ()">g_object_bind_property</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-object-bind-property-full" title="g_object_bind_property_full ()">g_object_bind_property_full</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GBinding.html#g-object-bind-property-with-closures" title="g_object_bind_property_with_closures ()">g_object_bind_property_with_closures</a>, function in <a class="link" href="GBinding.html" title="GBinding">GBinding</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS" title="G_OBJECT_CLASS()">G_OBJECT_CLASS</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-find-property" title="g_object_class_find_property ()">g_object_class_find_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-properties" title="g_object_class_install_properties ()">g_object_class_install_properties</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-list-properties" title="g_object_class_list_properties ()">g_object_class_list_properties</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-NAME:CAPS" title="G_OBJECT_CLASS_NAME()">G_OBJECT_CLASS_NAME</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()">g_object_class_override_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-TYPE:CAPS" title="G_OBJECT_CLASS_TYPE()">G_OBJECT_CLASS_TYPE</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-connect" title="g_object_connect ()">g_object_connect</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-disconnect" title="g_object_disconnect ()">g_object_disconnect</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-force-floating" title="g_object_force_floating ()">g_object_force_floating</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-freeze-notify" title="g_object_freeze_notify ()">g_object_freeze_notify</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()">g_object_get</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-GET-CLASS:CAPS" title="G_OBJECT_GET_CLASS()">G_OBJECT_GET_CLASS</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-data" title="g_object_get_data ()">g_object_get_data</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-property" title="g_object_get_property ()">g_object_get_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata" title="g_object_get_qdata ()">g_object_get_qdata</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-valist" title="g_object_get_valist ()">g_object_get_valist</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-find-property" title="g_object_interface_find_property ()">g_object_interface_find_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-install-property" title="g_object_interface_install_property ()">g_object_interface_install_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-list-properties" title="g_object_interface_list_properties ()">g_object_interface_list_properties</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-is-floating" title="g_object_is_floating ()">g_object_is_floating</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-newv" title="g_object_newv ()">g_object_newv</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-new-valist" title="g_object_new_valist ()">g_object_new_valist</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify" title="g_object_notify ()">g_object_notify</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()">g_object_notify_by_pspec</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()">g_object_ref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()">g_object_ref_sink</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-remove-toggle-ref" title="g_object_remove_toggle_ref ()">g_object_remove_toggle_ref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-remove-weak-pointer" title="g_object_remove_weak_pointer ()">g_object_remove_weak_pointer</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-run-dispose" title="g_object_run_dispose ()">g_object_run_dispose</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()">g_object_set</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data" title="g_object_set_data ()">g_object_set_data</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data-full" title="g_object_set_data_full ()">g_object_set_data_full</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()">g_object_set_qdata</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata-full" title="g_object_set_qdata_full ()">g_object_set_qdata_full</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-valist" title="g_object_set_valist ()">g_object_set_valist</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-steal-data" title="g_object_steal_data ()">g_object_steal_data</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-steal-qdata" title="g_object_steal_qdata ()">g_object_steal_qdata</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-thaw-notify" title="g_object_thaw_notify ()">g_object_thaw_notify</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-TYPE:CAPS" title="G_OBJECT_TYPE()">G_OBJECT_TYPE</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-TYPE-NAME:CAPS" title="G_OBJECT_TYPE_NAME()">G_OBJECT_TYPE_NAME</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS" title="G_OBJECT_WARN_INVALID_PROPERTY_ID()">G_OBJECT_WARN_INVALID_PROPERTY_ID</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()">g_object_watch_closure</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-ref" title="g_object_weak_ref ()">g_object_weak_ref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-unref" title="g_object_weak_unref ()">g_object_weak_unref</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<a name="idxP"></a><h3 class="title">P</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter">GParameter</a>, struct in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags">GParamFlags</a>, enum in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec">GParamSpec</a>, struct in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean">GParamSpecBoolean</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed">GParamSpecBoxed</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar">GParamSpecChar</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass">GParamSpecClass</a>, struct in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble">GParamSpecDouble</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum">GParamSpecEnum</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags">GParamSpecFlags</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat">GParamSpecFloat</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType">GParamSpecGType</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt">GParamSpecInt</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64">GParamSpecInt64</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong">GParamSpecLong</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject">GParamSpecObject</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride">GParamSpecOverride</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam">GParamSpecParam</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer">GParamSpecPointer</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool">GParamSpecPool</a>, struct in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString">GParamSpecString</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#GParamSpecTypeInfo" title="struct GParamSpecTypeInfo">GParamSpecTypeInfo</a>, struct in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar">GParamSpecUChar</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt">GParamSpecUInt</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64">GParamSpecUInt64</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong">GParamSpecULong</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar">GParamSpecUnichar</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray">GParamSpecValueArray</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant">GParamSpecVariant</a>, struct in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-MASK:CAPS" title="G_PARAM_MASK">G_PARAM_MASK</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-READWRITE:CAPS" title="G_PARAM_READWRITE">G_PARAM_READWRITE</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC:CAPS" title="G_PARAM_SPEC()">G_PARAM_SPEC</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOOLEAN:CAPS" title="G_PARAM_SPEC_BOOLEAN()">G_PARAM_SPEC_BOOLEAN</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boolean" title="g_param_spec_boolean ()">g_param_spec_boolean</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOXED:CAPS" title="G_PARAM_SPEC_BOXED()">G_PARAM_SPEC_BOXED</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed" title="g_param_spec_boxed ()">g_param_spec_boxed</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-char" title="g_param_spec_char ()">g_param_spec_char</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-CHAR:CAPS" title="G_PARAM_SPEC_CHAR()">G_PARAM_SPEC_CHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-CLASS:CAPS" title="G_PARAM_SPEC_CLASS()">G_PARAM_SPEC_CLASS</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-DOUBLE:CAPS" title="G_PARAM_SPEC_DOUBLE()">G_PARAM_SPEC_DOUBLE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-double" title="g_param_spec_double ()">g_param_spec_double</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ENUM:CAPS" title="G_PARAM_SPEC_ENUM()">G_PARAM_SPEC_ENUM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum" title="g_param_spec_enum ()">g_param_spec_enum</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLAGS:CAPS" title="G_PARAM_SPEC_FLAGS()">G_PARAM_SPEC_FLAGS</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags" title="g_param_spec_flags ()">g_param_spec_flags</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLOAT:CAPS" title="G_PARAM_SPEC_FLOAT()">G_PARAM_SPEC_FLOAT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-float" title="g_param_spec_float ()">g_param_spec_float</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-blurb" title="g_param_spec_get_blurb ()">g_param_spec_get_blurb</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-GET-CLASS:CAPS" title="G_PARAM_SPEC_GET_CLASS()">G_PARAM_SPEC_GET_CLASS</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-name" title="g_param_spec_get_name ()">g_param_spec_get_name</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-nick" title="g_param_spec_get_nick ()">g_param_spec_get_nick</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-qdata" title="g_param_spec_get_qdata ()">g_param_spec_get_qdata</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-redirect-target" title="g_param_spec_get_redirect_target ()">g_param_spec_get_redirect_target</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-gtype" title="g_param_spec_gtype ()">g_param_spec_gtype</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-GTYPE:CAPS" title="G_PARAM_SPEC_GTYPE()">G_PARAM_SPEC_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int" title="g_param_spec_int ()">g_param_spec_int</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT:CAPS" title="G_PARAM_SPEC_INT()">G_PARAM_SPEC_INT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int64" title="g_param_spec_int64 ()">g_param_spec_int64</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT64:CAPS" title="G_PARAM_SPEC_INT64()">G_PARAM_SPEC_INT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()">g_param_spec_internal</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-LONG:CAPS" title="G_PARAM_SPEC_LONG()">G_PARAM_SPEC_LONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-long" title="g_param_spec_long ()">g_param_spec_long</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OBJECT:CAPS" title="G_PARAM_SPEC_OBJECT()">G_PARAM_SPEC_OBJECT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object" title="g_param_spec_object ()">g_param_spec_object</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-override" title="g_param_spec_override ()">g_param_spec_override</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OVERRIDE:CAPS" title="G_PARAM_SPEC_OVERRIDE()">G_PARAM_SPEC_OVERRIDE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-PARAM:CAPS" title="G_PARAM_SPEC_PARAM()">G_PARAM_SPEC_PARAM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-param" title="g_param_spec_param ()">g_param_spec_param</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-pointer" title="g_param_spec_pointer ()">g_param_spec_pointer</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-POINTER:CAPS" title="G_PARAM_SPEC_POINTER()">G_PARAM_SPEC_POINTER</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-insert" title="g_param_spec_pool_insert ()">g_param_spec_pool_insert</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-list" title="g_param_spec_pool_list ()">g_param_spec_pool_list</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-list-owned" title="g_param_spec_pool_list_owned ()">g_param_spec_pool_list_owned</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-lookup" title="g_param_spec_pool_lookup ()">g_param_spec_pool_lookup</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-new" title="g_param_spec_pool_new ()">g_param_spec_pool_new</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-remove" title="g_param_spec_pool_remove ()">g_param_spec_pool_remove</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-ref" title="g_param_spec_ref ()">g_param_spec_ref</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-ref-sink" title="g_param_spec_ref_sink ()">g_param_spec_ref_sink</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata" title="g_param_spec_set_qdata ()">g_param_spec_set_qdata</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata-full" title="g_param_spec_set_qdata_full ()">g_param_spec_set_qdata_full</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-sink" title="g_param_spec_sink ()">g_param_spec_sink</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-steal-qdata" title="g_param_spec_steal_qdata ()">g_param_spec_steal_qdata</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string" title="g_param_spec_string ()">g_param_spec_string</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-STRING:CAPS" title="G_PARAM_SPEC_STRING()">G_PARAM_SPEC_STRING</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-TYPE:CAPS" title="G_PARAM_SPEC_TYPE()">G_PARAM_SPEC_TYPE</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-TYPE-NAME:CAPS" title="G_PARAM_SPEC_TYPE_NAME()">G_PARAM_SPEC_TYPE_NAME</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uchar" title="g_param_spec_uchar ()">g_param_spec_uchar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UCHAR:CAPS" title="G_PARAM_SPEC_UCHAR()">G_PARAM_SPEC_UCHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint" title="g_param_spec_uint ()">g_param_spec_uint</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT:CAPS" title="G_PARAM_SPEC_UINT()">G_PARAM_SPEC_UINT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint64" title="g_param_spec_uint64 ()">g_param_spec_uint64</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT64:CAPS" title="G_PARAM_SPEC_UINT64()">G_PARAM_SPEC_UINT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-ulong" title="g_param_spec_ulong ()">g_param_spec_ulong</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ULONG:CAPS" title="G_PARAM_SPEC_ULONG()">G_PARAM_SPEC_ULONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-unichar" title="g_param_spec_unichar ()">g_param_spec_unichar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UNICHAR:CAPS" title="G_PARAM_SPEC_UNICHAR()">G_PARAM_SPEC_UNICHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-spec-unref" title="g_param_spec_unref ()">g_param_spec_unref</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-value-array" title="g_param_spec_value_array ()">g_param_spec_value_array</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_PARAM_SPEC_VALUE_ARRAY()">G_PARAM_SPEC_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-VALUE-TYPE:CAPS" title="G_PARAM_SPEC_VALUE_TYPE()">G_PARAM_SPEC_VALUE_TYPE</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-variant" title="g_param_spec_variant ()">g_param_spec_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VARIANT:CAPS" title="G_PARAM_SPEC_VARIANT()">G_PARAM_SPEC_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-STATIC-STRINGS:CAPS" title="G_PARAM_STATIC_STRINGS">G_PARAM_STATIC_STRINGS</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-type-register-static" title="g_param_type_register_static ()">g_param_type_register_static</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-PARAM-USER-SHIFT:CAPS" title="G_PARAM_USER_SHIFT">G_PARAM_USER_SHIFT</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()">g_param_values_cmp</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-value-convert" title="g_param_value_convert ()">g_param_value_convert</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-value-defaults" title="g_param_value_defaults ()">g_param_value_defaults</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-value-set-default" title="g_param_value_set_default ()">g_param_value_set_default</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#g-param-value-validate" title="g_param_value_validate ()">g_param_value_validate</a>, function in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#g-pointer-type-register-static" title="g_pointer_type_register_static ()">g_pointer_type_register_static</a>, function in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxS"></a><h3 class="title">S</h3> -<dt> -<a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()">GSignalAccumulator</a>, user_function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller">GSignalCMarshaller</a>, typedef in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GSignalCVaMarshaller" title="GSignalCVaMarshaller">GSignalCVaMarshaller</a>, typedef in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()">GSignalEmissionHook</a>, user_function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags">GSignalFlags</a>, enum in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint">GSignalInvocationHint</a>, struct in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType">GSignalMatchType</a>, enum in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#GSignalQuery" title="struct GSignalQuery">GSignalQuery</a>, struct in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-accumulator-first-wins" title="g_signal_accumulator_first_wins ()">g_signal_accumulator_first_wins</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-accumulator-true-handled" title="g_signal_accumulator_true_handled ()">g_signal_accumulator_true_handled</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-add-emission-hook" title="g_signal_add_emission_hook ()">g_signal_add_emission_hook</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()">g_signal_chain_from_overridden</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()">g_signal_chain_from_overridden_handler</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()">g_signal_connect</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-connect-after" title="g_signal_connect_after()">g_signal_connect_after</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-connect-closure" title="g_signal_connect_closure ()">g_signal_connect_closure</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-connect-closure-by-id" title="g_signal_connect_closure_by_id ()">g_signal_connect_closure_by_id</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-connect-data" title="g_signal_connect_data ()">g_signal_connect_data</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-connect-object" title="g_signal_connect_object ()">g_signal_connect_object</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-connect-swapped" title="g_signal_connect_swapped()">g_signal_connect_swapped</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()">g_signal_emit</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()">g_signal_emitv</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-emit-by-name" title="g_signal_emit_by_name ()">g_signal_emit_by_name</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-emit-valist" title="g_signal_emit_valist ()">g_signal_emit_valist</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#G-SIGNAL-FLAGS-MASK:CAPS" title="G_SIGNAL_FLAGS_MASK">G_SIGNAL_FLAGS_MASK</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-get-invocation-hint" title="g_signal_get_invocation_hint ()">g_signal_get_invocation_hint</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-block-by-func" title="g_signal_handlers_block_by_func()">g_signal_handlers_block_by_func</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-block-matched" title="g_signal_handlers_block_matched ()">g_signal_handlers_block_matched</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-by-data" title="g_signal_handlers_disconnect_by_data()">g_signal_handlers_disconnect_by_data</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-by-func" title="g_signal_handlers_disconnect_by_func()">g_signal_handlers_disconnect_by_func</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-matched" title="g_signal_handlers_disconnect_matched ()">g_signal_handlers_disconnect_matched</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-by-func" title="g_signal_handlers_unblock_by_func()">g_signal_handlers_unblock_by_func</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-matched" title="g_signal_handlers_unblock_matched ()">g_signal_handlers_unblock_matched</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handler-block" title="g_signal_handler_block ()">g_signal_handler_block</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handler-disconnect" title="g_signal_handler_disconnect ()">g_signal_handler_disconnect</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handler-find" title="g_signal_handler_find ()">g_signal_handler_find</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handler-is-connected" title="g_signal_handler_is_connected ()">g_signal_handler_is_connected</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-handler-unblock" title="g_signal_handler_unblock ()">g_signal_handler_unblock</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-has-handler-pending" title="g_signal_has_handler_pending ()">g_signal_has_handler_pending</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-list-ids" title="g_signal_list_ids ()">g_signal_list_ids</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-lookup" title="g_signal_lookup ()">g_signal_lookup</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-MASK:CAPS" title="G_SIGNAL_MATCH_MASK">G_SIGNAL_MATCH_MASK</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-name" title="g_signal_name ()">g_signal_name</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()">g_signal_new</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-newv" title="g_signal_newv ()">g_signal_newv</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-new-class-handler" title="g_signal_new_class_handler ()">g_signal_new_class_handler</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-new-valist" title="g_signal_new_valist ()">g_signal_new_valist</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()">g_signal_override_class_closure</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()">g_signal_override_class_handler</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-parse-name" title="g_signal_parse_name ()">g_signal_parse_name</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-query" title="g_signal_query ()">g_signal_query</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-remove-emission-hook" title="g_signal_remove_emission_hook ()">g_signal_remove_emission_hook</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-set-va-marshaller" title="g_signal_set_va_marshaller ()">g_signal_set_va_marshaller</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-stop-emission" title="g_signal_stop_emission ()">g_signal_stop_emission</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-stop-emission-by-name" title="g_signal_stop_emission_by_name ()">g_signal_stop_emission_by_name</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#g-signal-type-cclosure-new" title="g_signal_type_cclosure_new ()">g_signal_type_cclosure_new</a>, function in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Signals.html#G-SIGNAL-TYPE-STATIC-SCOPE:CAPS" title="G_SIGNAL_TYPE_STATIC_SCOPE">G_SIGNAL_TYPE_STATIC_SCOPE</a>, macro in <a class="link" href="gobject-Signals.html" title="Signals">Signals</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-source-set-closure" title="g_source_set_closure ()">g_source_set_closure</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#g-source-set-dummy-callback" title="g_source_set_dummy_callback ()">g_source_set_dummy_callback</a>, function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-strdup-value-contents" title="g_strdup_value_contents ()">g_strdup_value_contents</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#GStrv" title="GStrv">GStrv</a>, typedef in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxT"></a><h3 class="title">T</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()">GToggleNotify</a>, user_function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GType" title="GType">GType</a>, typedef in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass">GTypeClass</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()">GTypeClassCacheFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Varargs-Value-Collection.html#GTypeCValue" title="union GTypeCValue">GTypeCValue</a>, union in <a class="link" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">Varargs Value Collection</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeDebugFlags" title="enum GTypeDebugFlags">GTypeDebugFlags</a>, enum in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags">GTypeFlags</a>, enum in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeFundamentalFlags" title="enum GTypeFundamentalFlags">GTypeFundamentalFlags</a>, enum in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo">GTypeFundamentalInfo</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo">GTypeInfo</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance">GTypeInstance</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface">GTypeInterface</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()">GTypeInterfaceCheckFunc</a>, user_function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#GTypeModule-struct" title="struct GTypeModule">GTypeModule</a>, struct in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#GTypeModuleClass" title="struct GTypeModuleClass">GTypeModuleClass</a>, struct in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#GTypePlugin-struct" title="GTypePlugin">GTypePlugin</a>, struct in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#GTypePluginClass" title="struct GTypePluginClass">GTypePluginClass</a>, struct in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#GTypePluginCompleteInterfaceInfo" title="GTypePluginCompleteInterfaceInfo ()">GTypePluginCompleteInterfaceInfo</a>, user_function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#GTypePluginCompleteTypeInfo" title="GTypePluginCompleteTypeInfo ()">GTypePluginCompleteTypeInfo</a>, user_function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#GTypePluginUnuse" title="GTypePluginUnuse ()">GTypePluginUnuse</a>, user_function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#GTypePluginUse" title="GTypePluginUse ()">GTypePluginUse</a>, user_function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeQuery" title="struct GTypeQuery">GTypeQuery</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable">GTypeValueTable</a>, struct in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-add-class-cache-func" title="g_type_add_class_cache_func ()">g_type_add_class_cache_func</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-add-class-private" title="g_type_add_class_private ()">g_type_add_class_private</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()">g_type_add_interface_check</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-add-interface-dynamic" title="g_type_add_interface_dynamic ()">g_type_add_interface_dynamic</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-add-interface-static" title="g_type_add_interface_static ()">g_type_add_interface_static</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-ARRAY:CAPS" title="G_TYPE_ARRAY">G_TYPE_ARRAY</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN">G_TYPE_BOOLEAN</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED">G_TYPE_BOXED</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-BYTES:CAPS" title="G_TYPE_BYTES">G_TYPE_BYTES</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-BYTE-ARRAY:CAPS" title="G_TYPE_BYTE_ARRAY">G_TYPE_BYTE_ARRAY</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR">G_TYPE_CHAR</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-CLASS-CAST:CAPS" title="G_TYPE_CHECK_CLASS_CAST()">G_TYPE_CHECK_CLASS_CAST</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-CLASS-TYPE:CAPS" title="G_TYPE_CHECK_CLASS_TYPE()">G_TYPE_CHECK_CLASS_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE:CAPS" title="G_TYPE_CHECK_INSTANCE()">G_TYPE_CHECK_INSTANCE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-CAST:CAPS" title="G_TYPE_CHECK_INSTANCE_CAST()">G_TYPE_CHECK_INSTANCE_CAST</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-TYPE:CAPS" title="G_TYPE_CHECK_INSTANCE_TYPE()">G_TYPE_CHECK_INSTANCE_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-VALUE:CAPS" title="G_TYPE_CHECK_VALUE()">G_TYPE_CHECK_VALUE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-VALUE-TYPE:CAPS" title="G_TYPE_CHECK_VALUE_TYPE()">G_TYPE_CHECK_VALUE_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-children" title="g_type_children ()">g_type_children</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-add-private" title="g_type_class_add_private ()">g_type_class_add_private</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-CLASS-GET-PRIVATE:CAPS" title="G_TYPE_CLASS_GET_PRIVATE()">G_TYPE_CLASS_GET_PRIVATE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-peek" title="g_type_class_peek ()">g_type_class_peek</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-peek-parent" title="g_type_class_peek_parent ()">g_type_class_peek_parent</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-peek-static" title="g_type_class_peek_static ()">g_type_class_peek_static</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()">g_type_class_ref</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()">g_type_class_unref</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-class-unref-uncached" title="g_type_class_unref_uncached ()">g_type_class_unref_uncached</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Closures.html#G-TYPE-CLOSURE:CAPS" title="G_TYPE_CLOSURE">G_TYPE_CLOSURE</a>, macro in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-DATE:CAPS" title="G_TYPE_DATE">G_TYPE_DATE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-DATE-TIME:CAPS" title="G_TYPE_DATE_TIME">G_TYPE_DATE_TIME</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()">g_type_default_interface_peek</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()">g_type_default_interface_ref</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-unref" title="g_type_default_interface_unref ()">g_type_default_interface_unref</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-depth" title="g_type_depth ()">g_type_depth</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE">G_TYPE_DOUBLE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-ensure" title="g_type_ensure ()">g_type_ensure</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM">G_TYPE_ENUM</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-ERROR:CAPS" title="G_TYPE_ERROR">G_TYPE_ERROR</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS">G_TYPE_FLAGS</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FLAG-RESERVED-ID-BIT:CAPS" title="G_TYPE_FLAG_RESERVED_ID_BIT">G_TYPE_FLAG_RESERVED_ID_BIT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT">G_TYPE_FLOAT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-free-instance" title="g_type_free_instance ()">g_type_free_instance</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS" title="G_TYPE_FROM_CLASS()">G_TYPE_FROM_CLASS</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FROM-INSTANCE:CAPS" title="G_TYPE_FROM_INSTANCE()">G_TYPE_FROM_INSTANCE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FROM-INTERFACE:CAPS" title="G_TYPE_FROM_INTERFACE()">G_TYPE_FROM_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-from-name" title="g_type_from_name ()">g_type_from_name</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-fundamental" title="g_type_fundamental ()">g_type_fundamental</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL:CAPS" title="G_TYPE_FUNDAMENTAL()">G_TYPE_FUNDAMENTAL</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL-MAX:CAPS" title="G_TYPE_FUNDAMENTAL_MAX">G_TYPE_FUNDAMENTAL_MAX</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-fundamental-next" title="g_type_fundamental_next ()">g_type_fundamental_next</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-get-plugin" title="g_type_get_plugin ()">g_type_get_plugin</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-get-qdata" title="g_type_get_qdata ()">g_type_get_qdata</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-GSTRING:CAPS" title="G_TYPE_GSTRING">G_TYPE_GSTRING</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE">G_TYPE_GTYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-HASH-TABLE:CAPS" title="G_TYPE_HASH_TABLE">G_TYPE_HASH_TABLE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-HAS-VALUE-TABLE:CAPS" title="G_TYPE_HAS_VALUE_TABLE()">G_TYPE_HAS_VALUE_TABLE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()">g_type_init</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-TYPE-INITIALLY-UNOWNED:CAPS" title="G_TYPE_INITIALLY_UNOWNED">G_TYPE_INITIALLY_UNOWNED</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-init-with-debug-flags" title="g_type_init_with_debug_flags ()">g_type_init_with_debug_flags</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-CLASS:CAPS" title="G_TYPE_INSTANCE_GET_CLASS()">G_TYPE_INSTANCE_GET_CLASS</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-INTERFACE:CAPS" title="G_TYPE_INSTANCE_GET_INTERFACE()">G_TYPE_INSTANCE_GET_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-PRIVATE:CAPS" title="G_TYPE_INSTANCE_GET_PRIVATE()">G_TYPE_INSTANCE_GET_PRIVATE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT">G_TYPE_INT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64">G_TYPE_INT64</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INTERFACE:CAPS" title="G_TYPE_INTERFACE">G_TYPE_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-interfaces" title="g_type_interfaces ()">g_type_interfaces</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-interface-add-prerequisite" title="g_type_interface_add_prerequisite ()">g_type_interface_add_prerequisite</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-interface-get-plugin" title="g_type_interface_get_plugin ()">g_type_interface_get_plugin</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-interface-peek" title="g_type_interface_peek ()">g_type_interface_peek</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-interface-peek-parent" title="g_type_interface_peek_parent ()">g_type_interface_peek_parent</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-interface-prerequisites" title="g_type_interface_prerequisites ()">g_type_interface_prerequisites</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" title="G_TYPE_INVALID">G_TYPE_INVALID</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-IO-CHANNEL:CAPS" title="G_TYPE_IO_CHANNEL">G_TYPE_IO_CHANNEL</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-IO-CONDITION:CAPS" title="G_TYPE_IO_CONDITION">G_TYPE_IO_CONDITION</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-is-a" title="g_type_is_a ()">g_type_is_a</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-ABSTRACT:CAPS" title="G_TYPE_IS_ABSTRACT()">G_TYPE_IS_ABSTRACT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-CLASSED:CAPS" title="G_TYPE_IS_CLASSED()">G_TYPE_IS_CLASSED</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-DEEP-DERIVABLE:CAPS" title="G_TYPE_IS_DEEP_DERIVABLE()">G_TYPE_IS_DEEP_DERIVABLE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-DERIVABLE:CAPS" title="G_TYPE_IS_DERIVABLE()">G_TYPE_IS_DERIVABLE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-DERIVED:CAPS" title="G_TYPE_IS_DERIVED()">G_TYPE_IS_DERIVED</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-ENUM:CAPS" title="G_TYPE_IS_ENUM()">G_TYPE_IS_ENUM</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-FLAGS:CAPS" title="G_TYPE_IS_FLAGS()">G_TYPE_IS_FLAGS</a>, macro in <a class="link" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types">Enumeration and Flag Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-FUNDAMENTAL:CAPS" title="G_TYPE_IS_FUNDAMENTAL()">G_TYPE_IS_FUNDAMENTAL</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-INSTANTIATABLE:CAPS" title="G_TYPE_IS_INSTANTIATABLE()">G_TYPE_IS_INSTANTIATABLE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-INTERFACE:CAPS" title="G_TYPE_IS_INTERFACE()">G_TYPE_IS_INTERFACE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#G-TYPE-IS-OBJECT:CAPS" title="G_TYPE_IS_OBJECT()">G_TYPE_IS_OBJECT</a>, macro in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-GParamSpec.html#G-TYPE-IS-PARAM:CAPS" title="G_TYPE_IS_PARAM()">G_TYPE_IS_PARAM</a>, macro in <a class="link" href="gobject-GParamSpec.html" title="GParamSpec">GParamSpec</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-TYPE-IS-VALUE:CAPS" title="G_TYPE_IS_VALUE()">G_TYPE_IS_VALUE</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-TYPE-IS-VALUE-ABSTRACT:CAPS" title="G_TYPE_IS_VALUE_ABSTRACT()">G_TYPE_IS_VALUE_ABSTRACT</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-IS-VALUE-TYPE:CAPS" title="G_TYPE_IS_VALUE_TYPE()">G_TYPE_IS_VALUE_TYPE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-KEY-FILE:CAPS" title="G_TYPE_KEY_FILE">G_TYPE_KEY_FILE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG">G_TYPE_LONG</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-CONTEXT:CAPS" title="G_TYPE_MAIN_CONTEXT">G_TYPE_MAIN_CONTEXT</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-LOOP:CAPS" title="G_TYPE_MAIN_LOOP">G_TYPE_MAIN_LOOP</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-MAKE-FUNDAMENTAL:CAPS" title="G_TYPE_MAKE_FUNDAMENTAL()">G_TYPE_MAKE_FUNDAMENTAL</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-MATCH-INFO:CAPS" title="G_TYPE_MATCH_INFO">G_TYPE_MATCH_INFO</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-add-interface" title="g_type_module_add_interface ()">g_type_module_add_interface</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-register-enum" title="g_type_module_register_enum ()">g_type_module_register_enum</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-register-flags" title="g_type_module_register_flags ()">g_type_module_register_flags</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-register-type" title="g_type_module_register_type ()">g_type_module_register_type</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-set-name" title="g_type_module_set_name ()">g_type_module_set_name</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-unuse" title="g_type_module_unuse ()">g_type_module_unuse</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypeModule.html#g-type-module-use" title="g_type_module_use ()">g_type_module_use</a>, function in <a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-name" title="g_type_name ()">g_type_name</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-next-base" title="g_type_next_base ()">g_type_next_base</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE">G_TYPE_NONE</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT">G_TYPE_OBJECT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM">G_TYPE_PARAM</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS" title="G_TYPE_PARAM_BOOLEAN">G_TYPE_PARAM_BOOLEAN</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS" title="G_TYPE_PARAM_BOXED">G_TYPE_PARAM_BOXED</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS" title="G_TYPE_PARAM_CHAR">G_TYPE_PARAM_CHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS" title="G_TYPE_PARAM_DOUBLE">G_TYPE_PARAM_DOUBLE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS" title="G_TYPE_PARAM_ENUM">G_TYPE_PARAM_ENUM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS" title="G_TYPE_PARAM_FLAGS">G_TYPE_PARAM_FLAGS</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS" title="G_TYPE_PARAM_FLOAT">G_TYPE_PARAM_FLOAT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS" title="G_TYPE_PARAM_GTYPE">G_TYPE_PARAM_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS" title="G_TYPE_PARAM_INT">G_TYPE_PARAM_INT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS" title="G_TYPE_PARAM_INT64">G_TYPE_PARAM_INT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS" title="G_TYPE_PARAM_LONG">G_TYPE_PARAM_LONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS" title="G_TYPE_PARAM_OBJECT">G_TYPE_PARAM_OBJECT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS" title="G_TYPE_PARAM_OVERRIDE">G_TYPE_PARAM_OVERRIDE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS" title="G_TYPE_PARAM_PARAM">G_TYPE_PARAM_PARAM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS" title="G_TYPE_PARAM_POINTER">G_TYPE_PARAM_POINTER</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS" title="G_TYPE_PARAM_STRING">G_TYPE_PARAM_STRING</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS" title="G_TYPE_PARAM_UCHAR">G_TYPE_PARAM_UCHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS" title="G_TYPE_PARAM_UINT">G_TYPE_PARAM_UINT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS" title="G_TYPE_PARAM_UINT64">G_TYPE_PARAM_UINT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS" title="G_TYPE_PARAM_ULONG">G_TYPE_PARAM_ULONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS" title="G_TYPE_PARAM_UNICHAR">G_TYPE_PARAM_UNICHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS" title="G_TYPE_PARAM_VALUE_ARRAY">G_TYPE_PARAM_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS" title="G_TYPE_PARAM_VARIANT">G_TYPE_PARAM_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-parent" title="g_type_parent ()">g_type_parent</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#g-type-plugin-complete-interface-info" title="g_type_plugin_complete_interface_info ()">g_type_plugin_complete_interface_info</a>, function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#g-type-plugin-complete-type-info" title="g_type_plugin_complete_type_info ()">g_type_plugin_complete_type_info</a>, function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#g-type-plugin-unuse" title="g_type_plugin_unuse ()">g_type_plugin_unuse</a>, function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="GTypePlugin.html#g-type-plugin-use" title="g_type_plugin_use ()">g_type_plugin_use</a>, function in <a class="link" href="GTypePlugin.html" title="GTypePlugin">GTypePlugin</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER">G_TYPE_POINTER</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-PTR-ARRAY:CAPS" title="G_TYPE_PTR_ARRAY">G_TYPE_PTR_ARRAY</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-qname" title="g_type_qname ()">g_type_qname</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-query" title="g_type_query ()">g_type_query</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-REGEX:CAPS" title="G_TYPE_REGEX">G_TYPE_REGEX</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-register-dynamic" title="g_type_register_dynamic ()">g_type_register_dynamic</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-register-fundamental" title="g_type_register_fundamental ()">g_type_register_fundamental</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()">g_type_register_static</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-register-static-simple" title="g_type_register_static_simple ()">g_type_register_static_simple</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-remove-class-cache-func" title="g_type_remove_class_cache_func ()">g_type_remove_class_cache_func</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-remove-interface-check" title="g_type_remove_interface_check ()">g_type_remove_interface_check</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-BSE-FIRST:CAPS" title="G_TYPE_RESERVED_BSE_FIRST">G_TYPE_RESERVED_BSE_FIRST</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-BSE-LAST:CAPS" title="G_TYPE_RESERVED_BSE_LAST">G_TYPE_RESERVED_BSE_LAST</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-FIRST:CAPS" title="G_TYPE_RESERVED_GLIB_FIRST">G_TYPE_RESERVED_GLIB_FIRST</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-LAST:CAPS" title="G_TYPE_RESERVED_GLIB_LAST">G_TYPE_RESERVED_GLIB_LAST</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-USER-FIRST:CAPS" title="G_TYPE_RESERVED_USER_FIRST">G_TYPE_RESERVED_USER_FIRST</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-set-qdata" title="g_type_set_qdata ()">g_type_set_qdata</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-SOURCE:CAPS" title="G_TYPE_SOURCE">G_TYPE_SOURCE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING">G_TYPE_STRING</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV">G_TYPE_STRV</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR">G_TYPE_UCHAR</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT">G_TYPE_UINT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64">G_TYPE_UINT64</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG">G_TYPE_ULONG</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE:CAPS" title="G_TYPE_VALUE">G_TYPE_VALUE</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY">G_TYPE_VALUE_ARRAY</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#g-type-value-table-peek" title="g_type_value_table_peek ()">g_type_value_table_peek</a>, function in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT">G_TYPE_VARIANT</a>, macro in <a class="link" href="gobject-Type-Information.html" title="Type Information">Type Information</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-VARIANT-BUILDER:CAPS" title="G_TYPE_VARIANT_BUILDER">G_TYPE_VARIANT_BUILDER</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Boxed-Types.html#G-TYPE-VARIANT-TYPE:CAPS" title="G_TYPE_VARIANT_TYPE">G_TYPE_VARIANT_TYPE</a>, macro in <a class="link" href="gobject-Boxed-Types.html" title="Boxed Types">Boxed Types</a> -</dt> -<dd></dd> -<a name="idxV"></a><h3 class="title">V</h3> -<dt> -<a class="link" href="gobject-Closures.html#GVaClosureMarshal" title="GVaClosureMarshal ()">GVaClosureMarshal</a>, user_function in <a class="link" href="gobject-Closures.html" title="Closures">Closures</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue">GValue</a>, struct in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray">GValueArray</a>, struct in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#GValueTransform" title="GValueTransform ()">GValueTransform</a>, user_function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-append" title="g_value_array_append ()">g_value_array_append</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-copy" title="g_value_array_copy ()">g_value_array_copy</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-free" title="g_value_array_free ()">g_value_array_free</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-get-nth" title="g_value_array_get_nth ()">g_value_array_get_nth</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-insert" title="g_value_array_insert ()">g_value_array_insert</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-new" title="g_value_array_new ()">g_value_array_new</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-prepend" title="g_value_array_prepend ()">g_value_array_prepend</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-remove" title="g_value_array_remove ()">g_value_array_remove</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-sort" title="g_value_array_sort ()">g_value_array_sort</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Value-arrays.html#g-value-array-sort-with-data" title="g_value_array_sort_with_data ()">g_value_array_sort_with_data</a>, function in <a class="link" href="gobject-Value-arrays.html" title="Value arrays">Value arrays</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT:CAPS" title="G_VALUE_COLLECT()">G_VALUE_COLLECT</a>, macro in <a class="link" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">Varargs Value Collection</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-FORMAT-MAX-LENGTH:CAPS" title="G_VALUE_COLLECT_FORMAT_MAX_LENGTH">G_VALUE_COLLECT_FORMAT_MAX_LENGTH</a>, macro in <a class="link" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">Varargs Value Collection</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-INIT:CAPS" title="G_VALUE_COLLECT_INIT()">G_VALUE_COLLECT_INIT</a>, macro in <a class="link" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">Varargs Value Collection</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-SKIP:CAPS" title="G_VALUE_COLLECT_SKIP()">G_VALUE_COLLECT_SKIP</a>, macro in <a class="link" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">Varargs Value Collection</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-copy" title="g_value_copy ()">g_value_copy</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-boxed" title="g_value_dup_boxed ()">g_value_dup_boxed</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-object" title="g_value_dup_object ()">g_value_dup_object</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-param" title="g_value_dup_param ()">g_value_dup_param</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-string" title="g_value_dup_string ()">g_value_dup_string</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-variant" title="g_value_dup_variant ()">g_value_dup_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-fits-pointer" title="g_value_fits_pointer ()">g_value_fits_pointer</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boolean" title="g_value_get_boolean ()">g_value_get_boolean</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed" title="g_value_get_boxed ()">g_value_get_boxed</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-char" title="g_value_get_char ()">g_value_get_char</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-double" title="g_value_get_double ()">g_value_get_double</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-enum" title="g_value_get_enum ()">g_value_get_enum</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-flags" title="g_value_get_flags ()">g_value_get_flags</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-float" title="g_value_get_float ()">g_value_get_float</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-gtype" title="g_value_get_gtype ()">g_value_get_gtype</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int" title="g_value_get_int ()">g_value_get_int</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int64" title="g_value_get_int64 ()">g_value_get_int64</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-long" title="g_value_get_long ()">g_value_get_long</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-object" title="g_value_get_object ()">g_value_get_object</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-param" title="g_value_get_param ()">g_value_get_param</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-pointer" title="g_value_get_pointer ()">g_value_get_pointer</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()">g_value_get_schar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-string" title="g_value_get_string ()">g_value_get_string</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uchar" title="g_value_get_uchar ()">g_value_get_uchar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint" title="g_value_get_uint ()">g_value_get_uint</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint64" title="g_value_get_uint64 ()">g_value_get_uint64</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-ulong" title="g_value_get_ulong ()">g_value_get_ulong</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-variant" title="g_value_get_variant ()">g_value_get_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-VALUE-HOLDS:CAPS" title="G_VALUE_HOLDS()">G_VALUE_HOLDS</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOOLEAN:CAPS" title="G_VALUE_HOLDS_BOOLEAN()">G_VALUE_HOLDS_BOOLEAN</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOXED:CAPS" title="G_VALUE_HOLDS_BOXED()">G_VALUE_HOLDS_BOXED</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-CHAR:CAPS" title="G_VALUE_HOLDS_CHAR()">G_VALUE_HOLDS_CHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-DOUBLE:CAPS" title="G_VALUE_HOLDS_DOUBLE()">G_VALUE_HOLDS_DOUBLE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ENUM:CAPS" title="G_VALUE_HOLDS_ENUM()">G_VALUE_HOLDS_ENUM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLAGS:CAPS" title="G_VALUE_HOLDS_FLAGS()">G_VALUE_HOLDS_FLAGS</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLOAT:CAPS" title="G_VALUE_HOLDS_FLOAT()">G_VALUE_HOLDS_FLOAT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-GTYPE:CAPS" title="G_VALUE_HOLDS_GTYPE()">G_VALUE_HOLDS_GTYPE</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT:CAPS" title="G_VALUE_HOLDS_INT()">G_VALUE_HOLDS_INT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT64:CAPS" title="G_VALUE_HOLDS_INT64()">G_VALUE_HOLDS_INT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-LONG:CAPS" title="G_VALUE_HOLDS_LONG()">G_VALUE_HOLDS_LONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-OBJECT:CAPS" title="G_VALUE_HOLDS_OBJECT()">G_VALUE_HOLDS_OBJECT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-PARAM:CAPS" title="G_VALUE_HOLDS_PARAM()">G_VALUE_HOLDS_PARAM</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-POINTER:CAPS" title="G_VALUE_HOLDS_POINTER()">G_VALUE_HOLDS_POINTER</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-STRING:CAPS" title="G_VALUE_HOLDS_STRING()">G_VALUE_HOLDS_STRING</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UCHAR:CAPS" title="G_VALUE_HOLDS_UCHAR()">G_VALUE_HOLDS_UCHAR</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT:CAPS" title="G_VALUE_HOLDS_UINT()">G_VALUE_HOLDS_UINT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT64:CAPS" title="G_VALUE_HOLDS_UINT64()">G_VALUE_HOLDS_UINT64</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ULONG:CAPS" title="G_VALUE_HOLDS_ULONG()">G_VALUE_HOLDS_ULONG</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-VARIANT:CAPS" title="G_VALUE_HOLDS_VARIANT()">G_VALUE_HOLDS_VARIANT</a>, macro in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()">g_value_init</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-VALUE-INIT:CAPS" title="G_VALUE_INIT">G_VALUE_INIT</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-LCOPY:CAPS" title="G_VALUE_LCOPY()">G_VALUE_LCOPY</a>, macro in <a class="link" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection">Varargs Value Collection</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-peek-pointer" title="g_value_peek_pointer ()">g_value_peek_pointer</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-register-transform-func" title="g_value_register_transform_func ()">g_value_register_transform_func</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-reset" title="g_value_reset ()">g_value_reset</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boolean" title="g_value_set_boolean ()">g_value_set_boolean</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed" title="g_value_set_boxed ()">g_value_set_boxed</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership" title="g_value_set_boxed_take_ownership ()">g_value_set_boxed_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-char" title="g_value_set_char ()">g_value_set_char</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-double" title="g_value_set_double ()">g_value_set_double</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-enum" title="g_value_set_enum ()">g_value_set_enum</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-flags" title="g_value_set_flags ()">g_value_set_flags</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-float" title="g_value_set_float ()">g_value_set_float</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-gtype" title="g_value_set_gtype ()">g_value_set_gtype</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-set-instance" title="g_value_set_instance ()">g_value_set_instance</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int" title="g_value_set_int ()">g_value_set_int</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int64" title="g_value_set_int64 ()">g_value_set_int64</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-long" title="g_value_set_long ()">g_value_set_long</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object" title="g_value_set_object ()">g_value_set_object</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object-take-ownership" title="g_value_set_object_take_ownership ()">g_value_set_object_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param" title="g_value_set_param ()">g_value_set_param</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param-take-ownership" title="g_value_set_param_take_ownership ()">g_value_set_param_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-pointer" title="g_value_set_pointer ()">g_value_set_pointer</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar" title="g_value_set_schar ()">g_value_set_schar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-boxed" title="g_value_set_static_boxed ()">g_value_set_static_boxed</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string" title="g_value_set_static_string ()">g_value_set_static_string</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string" title="g_value_set_string ()">g_value_set_string</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string-take-ownership" title="g_value_set_string_take_ownership ()">g_value_set_string_take_ownership</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uchar" title="g_value_set_uchar ()">g_value_set_uchar</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint" title="g_value_set_uint ()">g_value_set_uint</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint64" title="g_value_set_uint64 ()">g_value_set_uint64</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-ulong" title="g_value_set_ulong ()">g_value_set_ulong</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant" title="g_value_set_variant ()">g_value_set_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed" title="g_value_take_boxed ()">g_value_take_boxed</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()">g_value_take_object</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param" title="g_value_take_param ()">g_value_take_param</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string" title="g_value_take_string ()">g_value_take_string</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-variant" title="g_value_take_variant ()">g_value_take_variant</a>, function in <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard Parameter and Value Types</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()">g_value_transform</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-VALUE-TYPE:CAPS" title="G_VALUE_TYPE()">G_VALUE_TYPE</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-type-compatible" title="g_value_type_compatible ()">g_value_type_compatible</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#G-VALUE-TYPE-NAME:CAPS" title="G_VALUE_TYPE_NAME()">G_VALUE_TYPE_NAME</a>, macro in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-type-transformable" title="g_value_type_transformable ()">g_value_type_transformable</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-Generic-values.html#g-value-unset" title="g_value_unset ()">g_value_unset</a>, function in <a class="link" href="gobject-Generic-values.html" title="Generic values">Generic values</a> -</dt> -<dd></dd> -<a name="idxW"></a><h3 class="title">W</h3> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()">GWeakNotify</a>, user_function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef">GWeakRef</a>, struct in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-clear" title="g_weak_ref_clear ()">g_weak_ref_clear</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-get" title="g_weak_ref_get ()">g_weak_ref_get</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-init" title="g_weak_ref_init ()">g_weak_ref_init</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -<dt> -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-set" title="g_weak_ref_set ()">g_weak_ref_set</a>, function in <a class="link" href="gobject-The-Base-Object-Type.html" title="GObject">The Base Object Type</a> -</dt> -<dd></dd> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/ch01s02.html b/gtk+-mingw/share/gtk-doc/html/gobject/ch01s02.html deleted file mode 100644 index 4763d7e..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/ch01s02.html +++ /dev/null @@ -1,136 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Exporting a C API</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-intro.html" title="Background"> -<link rel="prev" href="chapter-intro.html" title="Background"> -<link rel="next" href="chapter-gtype.html" title="The GLib Dynamic Type System"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="chapter-intro.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-intro.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">GObject Reference Manual</th> -<td><a accesskey="n" href="chapter-gtype.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="idp5742128"></a>Exporting a C API</h2></div></div></div> -<p> - C APIs are defined by a set of functions and global variables which are usually exported from a - binary. C functions have an arbitrary number of arguments and one return value. Each function is thus - uniquely identified by the function name and the set of C types which describe the function arguments - and return value. The global variables exported by the API are similarly identified by their name and - their type. - </p> -<p> - A C API is thus merely defined by a set of names to which a set of types are associated. If you know the - function calling convention and the mapping of the C types to the machine types used by the platform you - are on, you can resolve the name of each function to find where the code associated to this function - is located in memory, and then construct a valid argument list for the function. Finally, all you have to - do is trigger a call to the target C function with the argument list. - </p> -<p> - For the sake of discussion, here is a sample C function and the associated 32 bit x86 - assembly code generated by GCC on my Linux box: -</p> -<pre class="programlisting"> -static void function_foo (int foo) -{} - -int main (int argc, char *argv[]) -{ - - function_foo (10); - - return 0; -} - -push $0xa -call 0x80482f4 <function_foo> -</pre> -<p> - The assembly code shown above is pretty straightforward: the first instruction pushes - the hexadecimal value 0xa (decimal value 10) as a 32-bit integer on the stack and calls - <code class="function">function_foo</code>. As you can see, C function calls are implemented by - gcc by native function calls (this is probably the fastest implementation possible). - </p> -<p> - Now, let's say we want to call the C function <code class="function">function_foo</code> from - a Python program. To do this, the Python interpreter needs to: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>Find where the function is located. This probably means finding the binary generated by the C compiler - which exports this function.</p></li> -<li class="listitem"><p>Load the code of the function in executable memory.</p></li> -<li class="listitem"><p>Convert the Python parameters to C-compatible parameters before calling - the function.</p></li> -<li class="listitem"><p>Call the function with the right calling convention.</p></li> -<li class="listitem"><p>Convert the return values of the C function to Python-compatible - variables to return them to the Python code.</p></li> -</ul></div> -<p> - </p> -<p> - The process described above is pretty complex and there are a lot of ways to make it entirely automatic - and transparent to C and Python programmers: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>The first solution is to write by hand a lot of glue code, once for each function exported or imported, - which does the Python-to-C parameter conversion and the C-to-Python return value conversion. This glue code is then - linked with the interpreter which allows Python programs to call Python functions which delegate work to - C functions.</p></li> -<li class="listitem"><p>Another, nicer solution is to automatically generate the glue code, once for each function exported or - imported, with a special compiler which - reads the original function signature.</p></li> -<li class="listitem"><p>The solution used by GLib is to use the GType library which holds at runtime a description of - all the objects manipulated by the programmer. This so-called <span class="emphasis"><em>dynamic type</em></span> - <sup>[<a name="idp5754896" href="#ftn.idp5754896" class="footnote">1</a>]</sup> - library is then used by special generic glue code to automatically convert function parameters and - function calling conventions between different runtime domains.</p></li> -</ul></div> -<p> - The greatest advantage of the solution implemented by GType is that the glue code sitting at the runtime domain - boundaries is written once: the figure below states this more clearly. - </p> -<div class="figure"> -<a name="idp5757120"></a><p class="title"><b>Figure 1. </b></p> -<div class="figure-contents"><div class="mediaobject" align="center"><img src="glue.png" align="middle"></div></div> -</div> -<p><br class="figure-break"> - - Currently, there exist at least Python and Perl generic glue code which makes it possible to use - C objects written with GType directly in Python or Perl, with a minimum amount of work: there - is no need to generate huge amounts of glue code either automatically or by hand. - </p> -<p> - Although that goal was arguably laudable, its pursuit has had a major influence on - the whole GType/GObject library. C programmers are likely to be puzzled at the complexity - of the features exposed in the following chapters if they forget that the GType/GObject library - was not only designed to offer OO-like features to C programmers but also transparent - cross-language interoperability. - </p> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp5754896" href="#idp5754896" class="para">1</a>] </sup> - There are numerous different implementations of dynamic type systems: all C++ - compilers have one, Java and .NET have one too. A dynamic type system allows you - to get information about every instantiated object at runtime. It can be implemented - by a process-specific database: every new object created registers the characteristics - of its associated type in the type system. It can also be implemented by introspection - interfaces. The common point between all these different type systems and implementations - is that they all allow you to query for object metadata at runtime. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-gobject.html b/gtk+-mingw/share/gtk-doc/html/gobject/chapter-gobject.html deleted file mode 100644 index 8649629..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-gobject.html +++ /dev/null @@ -1,290 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>The GObject base class</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt01.html" title="Part I. Concepts"> -<link rel="prev" href="gtype-non-instantiable-classed.html" title="Non-instantiable classed types: interfaces"> -<link rel="next" href="gobject-memory.html" title="Object memory management"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="gtype-non-instantiable-classed.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-memory.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="chapter-gobject"></a>The GObject base class</h2></div></div></div> -<div class="toc"><dl> -<dt><span class="sect1"><a href="chapter-gobject.html#gobject-instantiation">Object instantiation</a></span></dt> -<dt><span class="sect1"><a href="gobject-memory.html">Object memory management</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-refcount">Reference count</a></span></dt> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-weakref">Weak References</a></span></dt> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-cycles">Reference counts and cycles</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="gobject-properties.html">Object properties</a></span></dt> -<dd><dl><dt><span class="sect2"><a href="gobject-properties.html#gobject-multi-properties">Accessing multiple properties at once</a></span></dt></dl></dd> -</dl></div> -<p> - The previous chapter discussed the details of GLib's Dynamic Type System. - The GObject library also contains an implementation for a base fundamental - type named <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. - </p> -<p> - <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> is a fundamental classed instantiable type. It implements: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>Memory management with reference counting</p></li> -<li class="listitem"><p>Construction/Destruction of instances</p></li> -<li class="listitem"><p>Generic per-object properties with set/get function pairs</p></li> -<li class="listitem"><p>Easy use of signals</p></li> -</ul></div> -<p> - All the GNOME libraries which use the GLib type system (like GTK+ and GStreamer) - inherit from <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which is why it is important to understand - the details of how it works. - </p> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gobject-instantiation"></a>Object instantiation</h2></div></div></div> -<p> - The <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> - family of functions can be used to instantiate any GType which inherits - from the GObject base type. All these functions make sure the class and - instance structures have been correctly initialized by GLib's type system - and then invoke at one point or another the constructor class method - which is used to: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - Allocate and clear memory through <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code>, - </p></li> -<li class="listitem"><p> - Initialize the object's instance with the construction properties. - </p></li> -</ul></div> -<p> - Although one can expect all class and instance members (except the fields - pointing to the parents) to be set to zero, some consider it good practice - to explicitly set them. - </p> -<p> - Objects which inherit from GObject are allowed to override this - constructor class method: they should however chain to their parent - constructor method before doing so: -</p> -<pre class="programlisting"> - GObject *(* constructor) (GType gtype, - guint n_properties, - GObjectConstructParam *properties); -</pre> -<p> - </p> -<p> - The example below shows how <span class="type">MamanBar</span> overrides the parent's constructor: -</p> -<pre class="programlisting"> -#define MAMAN_TYPE_BAR (maman_bar_get_type ()) -#define MAMAN_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BAR, MamanBar)) -#define MAMAN_IS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BAR)) -#define MAMAN_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BAR, MamanBarClass)) -#define MAMAN_IS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BAR)) -#define MAMAN_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BAR, MamanBarClass)) - -typedef struct _MamanBar MamanBar; -typedef struct _MamanBarClass MamanBarClass; - -struct _MamanBar -{ - GObject parent_instance; - - /* instance members */ -}; - -struct _MamanBarClass -{ - GObjectClass parent_class; - - /* class members */ -}; - -/* will create maman_bar_get_type and set maman_bar_parent_class */ -G_DEFINE_TYPE (MamanBar, maman_bar, G_TYPE_OBJECT); - -static GObject * -maman_bar_constructor (GType gtype, - guint n_properties, - GObjectConstructParam *properties) -{ - GObject *obj; - - { - /* Always chain up to the parent constructor */ - obj = G_OBJECT_CLASS (maman_bar_parent_class)->constructor (gtype, n_properties, properties); - } - - /* update the object state depending on constructor properties */ - - return obj; -} - -static void -maman_bar_class_init (MamanBarClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - - gobject_class->constructor = maman_bar_constructor; -} - -static void -maman_bar_init (MamanBar *self) -{ - /* initialize the object */ -} - -</pre> -<p> - If the user instantiates an object <span class="type">MamanBar</span> with: -</p> -<pre class="programlisting"> -MamanBar *bar = g_object_new (MAMAN_TYPE_BAR, NULL); -</pre> -<p> - If this is the first instantiation of such an object, the - <code class="function">maman_bar_class_init</code> function will be invoked - after any <code class="function">maman_bar_base_class_init</code> function. - This will make sure the class structure of this new object is - correctly initialized. Here, <code class="function">maman_bar_class_init</code> - is expected to override the object's class methods and setup the - class' own methods. In the example above, the constructor method is - the only overridden method: it is set to - <code class="function">maman_bar_constructor</code>. - </p> -<p> - Once <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> has obtained a reference to an initialized - class structure, it invokes its constructor method to create an instance of the new - object. Since it has just been overridden by <code class="function">maman_bar_class_init</code> - to <code class="function">maman_bar_constructor</code>, the latter is called and, because it - was implemented correctly, it chains up to its parent's constructor. In - order to find the parent class and chain up to the parent class - constructor, we can use the <code class="literal">maman_bar_parent_class</code> - pointer that has been set up for us by the - <code class="literal">G_DEFINE_TYPE</code> macro. - </p> -<p> - Finally, at one point or another, <code class="function">g_object_constructor</code> is invoked - by the last constructor in the chain. This function allocates the object's instance' buffer - through <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> - which means that the instance_init function is invoked at this point if one - was registered. After instance_init returns, the object is fully initialized and should be - ready to answer any user-request. When <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> - returns, <code class="function">g_object_constructor</code> sets the construction properties - (i.e. the properties which were given to <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code>) and returns - to the user's constructor which is then allowed to do useful instance initialization... - </p> -<p> - The process described above might seem a bit complicated, but it can be - summarized easily by the table below which lists the functions invoked - by <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> - and their order of invocation: - </p> -<p> - </p> -<div class="table"> -<a name="gobject-construction-table"></a><p class="title"><b>Table 4. <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code></b></p> -<div class="table-contents"><table summary="g_object_new" border="1"> -<colgroup> -<col align="left"> -<col align="left"> -<col align="left"> -</colgroup> -<thead><tr> -<th align="left">Invocation time</th> -<th align="left">Function Invoked</th> -<th align="left">Function's parameters</th> -<th>Remark</th> -</tr></thead> -<tbody> -<tr> -<td rowspan="4" align="left">First call to <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> for target type</td> -<td align="left">target type's base_init function</td> -<td align="left">On the inheritance tree of classes from fundamental type to target type. - base_init is invoked once for each class structure.</td> -<td> - I have no real idea on how this can be used. If you have a good real-life - example of how a class' base_init can be used, please, let me know. - </td> -</tr> -<tr> -<td align="left">target type's class_init function</td> -<td align="left">On target type's class structure</td> -<td> - Here, you should make sure to initialize or override class methods (that is, - assign to each class' method its function pointer) and create the signals and - the properties associated to your object. - </td> -</tr> -<tr> -<td align="left">interface' base_init function</td> -<td align="left">On interface' vtable</td> -<td> </td> -</tr> -<tr> -<td align="left">interface' interface_init function</td> -<td align="left">On interface' vtable</td> -<td> </td> -</tr> -<tr> -<td rowspan="2" align="left">Each call to <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> for target type</td> -<td align="left">target type's class constructor method: GObjectClass->constructor</td> -<td align="left">On object's instance</td> -<td> - If you need to complete the object initialization after all the construction properties - are set, override the constructor method and make sure to chain up to the object's - parent class before doing your own initialization. - In doubt, do not override the constructor method. - </td> -</tr> -<tr> -<td align="left">type's instance_init function</td> -<td align="left">On the inheritance tree of classes from fundamental type to target type. - the instance_init provided for each type is invoked once for each instance - structure.</td> -<td> - Provide an instance_init function to initialize your object before its construction - properties are set. This is the preferred way to initialize a GObject instance. - This function is equivalent to C++ constructors. - </td> -</tr> -</tbody> -</table></div> -</div> -<p><br class="table-break"> - </p> -<p> - Readers should feel concerned about one little twist in the order in - which functions are invoked: while, technically, the class' constructor - method is called <span class="emphasis"><em>before</em></span> the GType's instance_init - function (since <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> which calls instance_init is called by - <code class="function">g_object_constructor</code> which is the top-level class - constructor method and to which users are expected to chain to), the - user's code which runs in a user-provided constructor will always - run <span class="emphasis"><em>after</em></span> GType's instance_init function since the - user-provided constructor <span class="emphasis"><em>must</em></span> (you've been warned) - chain up <span class="emphasis"><em>before</em></span> doing anything useful. - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-gtype.html b/gtk+-mingw/share/gtk-doc/html/gobject/chapter-gtype.html deleted file mode 100644 index 6232f1c..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-gtype.html +++ /dev/null @@ -1,263 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>The GLib Dynamic Type System</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt01.html" title="Part I. Concepts"> -<link rel="prev" href="ch01s02.html" title="Exporting a C API"> -<link rel="next" href="gtype-conventions.html" title="Conventions"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="ch01s02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gtype-conventions.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="chapter-gtype"></a>The GLib Dynamic Type System</h2></div></div></div> -<div class="toc"><dl> -<dt><span class="sect1"><a href="chapter-gtype.html#gtype-copy">Copy functions</a></span></dt> -<dt><span class="sect1"><a href="gtype-conventions.html">Conventions</a></span></dt> -<dt><span class="sect1"><a href="gtype-non-instantiable.html">Non-instantiable non-classed fundamental types</a></span></dt> -<dt><span class="sect1"><a href="gtype-instantiable-classed.html">Instantiable classed types: objects</a></span></dt> -<dd><dl><dt><span class="sect2"><a href="gtype-instantiable-classed.html#gtype-instantiable-classed-init-done">Initialization and Destruction</a></span></dt></dl></dd> -<dt><span class="sect1"><a href="gtype-non-instantiable-classed.html">Non-instantiable classed types: interfaces</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-init">Interface Initialization</a></span></dt> -<dt><span class="sect2"><a href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-dest">Interface Destruction</a></span></dt> -</dl></dd> -</dl></div> -<p> - A type, as manipulated by the GLib type system, is much more generic than what - is usually understood as an Object type. It is best explained by looking at the - structure and the functions used to register new types in the type system. - </p> -<pre class="programlisting"> -typedef struct _GTypeInfo GTypeInfo; -struct _GTypeInfo -{ - /* interface types, classed types, instantiated types */ - guint16 class_size; - - GBaseInitFunc base_init; - GBaseFinalizeFunc base_finalize; - - /* classed types, instantiated types */ - GClassInitFunc class_init; - GClassFinalizeFunc class_finalize; - gconstpointer class_data; - - /* instantiated types */ - guint16 instance_size; - guint16 n_preallocs; - GInstanceInitFunc instance_init; - - /* value handling */ - const GTypeValueTable *value_table; -}; -GType g_type_register_static (GType parent_type, - const gchar *type_name, - const GTypeInfo *info, - GTypeFlags flags); -GType g_type_register_fundamental (GType type_id, - const gchar *type_name, - const GTypeInfo *info, - const GTypeFundamentalInfo *finfo, - GTypeFlags flags); - </pre> -<p> - </p> -<p> - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()">g_type_register_static</a></code> and - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-fundamental" title="g_type_register_fundamental ()">g_type_register_fundamental</a></code> - are the C functions, defined in - <code class="filename">gtype.h</code> and implemented in <code class="filename">gtype.c</code> - which you should use to register a new <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> in the program's type system. - It is not likely you will ever need to use - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-fundamental" title="g_type_register_fundamental ()">g_type_register_fundamental</a></code> (you have to be Tim Janik - to do that) but in case you want to, the last chapter explains how to create - new fundamental types. - <sup>[<a name="idp4094816" href="#ftn.idp4094816" class="footnote">2</a>]</sup> - </p> -<p> - Fundamental types are top-level types which do not derive from any other type - while other non-fundamental types derive from other types. - Upon initialization by <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()">g_type_init</a></code>, the type system not - only initializes its internal data structures but it also registers a number of core - types: some of these are fundamental types. Others are types derived from these - fundamental types. - </p> -<p> - Fundamental and non-fundamental types are defined by: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - class size: the class_size field in <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>. - </p></li> -<li class="listitem"><p> - class initialization functions (C++ constructor): the base_init and - class_init fields in <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>. - </p></li> -<li class="listitem"><p> - class destruction functions (C++ destructor): the base_finalize and - class_finalize fields in <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>. - </p></li> -<li class="listitem"><p> - instance size (C++ parameter to new): the instance_size field in - <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>. - </p></li> -<li class="listitem"><p> - instantiation policy (C++ type of new operator): the n_preallocs - field in <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>. - </p></li> -<li class="listitem"><p> - copy functions (C++ copy operators): the value_table field in - <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>. - </p></li> -<li class="listitem"><p> - type characteristic flags: <a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a>. - </p></li> -</ul></div> -<p> - Fundamental types are also defined by a set of <a class="link" href="gobject-Type-Information.html#GTypeFundamentalFlags" title="enum GTypeFundamentalFlags"><span class="type">GTypeFundamentalFlags</span></a> - which are stored in a <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo"><span class="type">GTypeFundamentalInfo</span></a>. - Non-fundamental types are furthermore defined by the type of their parent which is - passed as the parent_type parameter to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()">g_type_register_static</a></code> - and <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-dynamic" title="g_type_register_dynamic ()">g_type_register_dynamic</a></code>. - </p> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gtype-copy"></a>Copy functions</h2></div></div></div> -<p> - The major common point between <span class="emphasis"><em>all</em></span> GLib types (fundamental and - non-fundamental, classed and non-classed, instantiable and non-instantiable) is that - they can all be manipulated through a single API to copy/assign them. - </p> -<p> - The <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure is used as an abstract container for all of these - types. Its simplistic API (defined in <code class="filename">gobject/gvalue.h</code>) can be - used to invoke the value_table functions registered - during type registration: for example <code class="function"><a class="link" href="gobject-Generic-values.html#g-value-copy" title="g_value_copy ()">g_value_copy</a></code> copies the - content of a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to another <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. This is similar - to a C++ assignment which invokes the C++ copy operator to modify the default - bit-by-bit copy semantics of C++/C structures/classes. - </p> -<p> - The following code shows how you can copy around a 64 bit integer, as well as a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> - instance pointer (sample code for this is located in the source tarball for this document in - <code class="filename">sample/gtype/test.c</code>): -</p> -<pre class="programlisting"> -static void test_int (void) -{ - GValue a_value = G_VALUE_INIT; - GValue b_value = G_VALUE_INIT; - guint64 a, b; - - a = 0xdeadbeaf; - - g_value_init (&a_value, G_TYPE_UINT64); - g_value_set_uint64 (&a_value, a); - - g_value_init (&b_value, G_TYPE_UINT64); - g_value_copy (&a_value, &b_value); - - b = g_value_get_uint64 (&b_value); - - if (a == b) { - g_print ("Yay !! 10 lines of code to copy around a uint64.\n"); - } else { - g_print ("Are you sure this is not a Z80 ?\n"); - } -} - -static void test_object (void) -{ - GObject *obj; - GValue obj_vala = G_VALUE_INIT; - GValue obj_valb = G_VALUE_INIT; - obj = g_object_new (MAMAN_TYPE_BAR, NULL); - - g_value_init (&obj_vala, MAMAN_TYPE_BAR); - g_value_set_object (&obj_vala, obj); - - g_value_init (&obj_valb, G_TYPE_OBJECT); - - /* g_value_copy's semantics for G_TYPE_OBJECT types is to copy the reference. - This function thus calls g_object_ref. - It is interesting to note that the assignment works here because - MAMAN_TYPE_BAR is a G_TYPE_OBJECT. - */ - g_value_copy (&obj_vala, &obj_valb); - - g_object_unref (G_OBJECT (obj)); - g_object_unref (G_OBJECT (obj)); -} -</pre> -<p> - The important point about the above code is that the exact semantics of the copy calls - is undefined since they depend on the implementation of the copy function. Certain - copy functions might decide to allocate a new chunk of memory and then to copy the - data from the source to the destination. Others might want to simply increment - the reference count of the instance and copy the reference to the new GValue. - </p> -<p> - The value_table used to specify these assignment functions is defined in - <code class="filename">gtype.h</code> and is thoroughly described in the - API documentation provided with GObject (for once ;-) which is why we will - not detail its exact semantics. - </p> -<pre class="programlisting"> -typedef struct _GTypeValueTable GTypeValueTable; -struct _GTypeValueTable -{ - void (*value_init) (GValue *value); - void (*value_free) (GValue *value); - void (*value_copy) (const GValue *src_value, - GValue *dest_value); - /* varargs functionality (optional) */ - gpointer (*value_peek_pointer) (const GValue *value); - gchar *collect_format; - gchar* (*collect_value) (GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags); - gchar *lcopy_format; - gchar* (*lcopy_value) (const GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags); -}; - </pre> -<p> - Interestingly, it is also very unlikely - you will ever need to specify a value_table during type registration - because these value_tables are inherited from the parent types for - non-fundamental types which means that unless you want to write a - fundamental type (not a great idea!), you will not need to provide - a new value_table since you will inherit the value_table structure - from your parent type. - </p> -</div> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp4094816" href="#idp4094816" class="para">2</a>] </sup> - Please note that there exists another registration function: the - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-register-dynamic" title="g_type_register_dynamic ()">g_type_register_dynamic</a></code>. We will not discuss this - function here since its use is very similar to the <code class="function">_static</code> - version. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-intro.html b/gtk+-mingw/share/gtk-doc/html/gobject/chapter-intro.html deleted file mode 100644 index e5a7ed2..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-intro.html +++ /dev/null @@ -1,92 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Background</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt01.html" title="Part I. Concepts"> -<link rel="prev" href="pt01.html" title="Part I. Concepts"> -<link rel="next" href="ch01s02.html" title="Exporting a C API"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="pt01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="ch01s02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="chapter-intro"></a>Background</h2></div></div></div> -<div class="toc"><dl> -<dt><span class="sect1"><a href="chapter-intro.html#idp6598384">Data types and programming</a></span></dt> -<dt><span class="sect1"><a href="ch01s02.html">Exporting a C API</a></span></dt> -</dl></div> -<p> - GObject, and its lower-level type system, GType, are used by GTK+ and most GNOME libraries to - provide: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>object-oriented C-based APIs and</p></li> -<li class="listitem"><p>automatic transparent API bindings to other compiled - or interpreted languages.</p></li> -</ul></div> -<p> - </p> -<p> - A lot of programmers are used to working with compiled-only or dynamically interpreted-only - languages and do not understand the challenges associated with cross-language interoperability. - This introduction tries to provide an insight into these challenges and briefly describes - the solution chosen by GLib. - </p> -<p> - The following chapters go into greater detail into how GType and GObject work and - how you can use them as a C programmer. It is useful to keep in mind that - allowing access to C objects from other interpreted languages was one of the major design - goals: this can often explain the sometimes rather convoluted APIs and features present - in this library. - </p> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="idp6598384"></a>Data types and programming</h2></div></div></div> -<p> - One could say (I have seen such definitions used in some textbooks on programming language theory) - that a programming language is merely a way to create data types and manipulate them. Most languages - provide a number of language-native types and a few primitives to create more complex types based - on these primitive types. - </p> -<p> - In C, the language provides types such as <span class="emphasis"><em>char</em></span>, <span class="emphasis"><em>long</em></span>, - <span class="emphasis"><em>pointer</em></span>. During compilation of C code, the compiler maps these - language types to the compiler's target architecture machine types. If you are using a C interpreter - (I have never seen one myself but it is possible :), the interpreter (the program which interprets - the source code and executes it) maps the language types to the machine types of the target machine at - runtime, during the program execution (or just before execution if it uses a Just In Time compiler engine). - </p> -<p> - Perl and Python are interpreted languages which do not really provide type definitions similar - to those used by C. Perl and Python programmers manipulate variables and the type of the variables - is decided only upon the first assignment or upon the first use which forces a type on the variable. - The interpreter also often provides a lot of automatic conversions from one type to the other. For example, - in Perl, a variable which holds an integer can be automatically converted to a string given the - required context: -</p> -<pre class="programlisting"> -my $tmp = 10; -print "this is an integer converted to a string:" . $tmp . "\n"; -</pre> -<p> - Of course, it is also often possible to explicitly specify conversions when the default conversions provided - by the language are not intuitive. - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-signal.html b/gtk+-mingw/share/gtk-doc/html/gobject/chapter-signal.html deleted file mode 100644 index 71ffa37..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/chapter-signal.html +++ /dev/null @@ -1,214 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>The GObject messaging system</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt01.html" title="Part I. Concepts"> -<link rel="prev" href="gobject-properties.html" title="Object properties"> -<link rel="next" href="signal.html" title="Signals"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="gobject-properties.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="signal.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="chapter-signal"></a>The GObject messaging system</h2></div></div></div> -<div class="toc"><dl> -<dt><span class="sect1"><a href="chapter-signal.html#closure">Closures</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="chapter-signal.html#idp9473520">C Closures</a></span></dt> -<dt><span class="sect2"><a href="chapter-signal.html#idp6382272">Non-C closures (for the fearless)</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="signal.html">Signals</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="signal.html#signal-registration">Signal registration</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-connection">Signal connection</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-emission">Signal emission</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-detail">The <span class="emphasis"><em>detail</em></span> argument</a></span></dt> -</dl></dd> -</dl></div> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="closure"></a>Closures</h2></div></div></div> -<p> - Closures are central to the concept of asynchronous signal delivery - which is widely used throughout GTK+ and GNOME applications. A closure is an - abstraction, a generic representation of a callback. It is a small structure - which contains three objects: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"> -<p>a function pointer (the callback itself) whose prototype looks like: -</p> -<pre class="programlisting"> -return_type function_callback (... , gpointer user_data); -</pre> -<p> - </p> -</li> -<li class="listitem"><p> - the user_data pointer which is passed to the callback upon invocation of the closure - </p></li> -<li class="listitem"><p> - a function pointer which represents the destructor of the closure: whenever the - closure's refcount reaches zero, this function will be called before the closure - structure is freed. - </p></li> -</ul></div> -<p> - </p> -<p> - The <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> structure represents the common functionality of all - closure implementations: there exists a different Closure implementation for - each separate runtime which wants to use the GObject type system. - <sup>[<a name="idp8360640" href="#ftn.idp8360640" class="footnote">6</a>]</sup> - The GObject library provides a simple <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> type which - is a specific implementation of closures to be used with C/C++ callbacks. - </p> -<p> - A <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> provides simple services: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - Invocation (<code class="function"><a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()">g_closure_invoke</a></code>): this is what closures - were created for: they hide the details of callback invocation from the - callback invoker.</p></li> -<li class="listitem"><p> - Notification: the closure notifies listeners of certain events such as - closure invocation, closure invalidation and closure finalization. Listeners - can be registered with <code class="function"><a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()">g_closure_add_finalize_notifier</a></code> - (finalization notification), <code class="function"><a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()">g_closure_add_invalidate_notifier</a></code> - (invalidation notification) and - <code class="function"><a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()">g_closure_add_marshal_guards</a></code> (invocation notification). - There exist symmetric deregistration functions for finalization and invalidation - events (<code class="function"><a class="link" href="gobject-Closures.html#g-closure-remove-finalize-notifier" title="g_closure_remove_finalize_notifier ()">g_closure_remove_finalize_notifier</a></code> and - <code class="function"><a class="link" href="gobject-Closures.html#g-closure-remove-invalidate-notifier" title="g_closure_remove_invalidate_notifier ()">g_closure_remove_invalidate_notifier</a></code>) but not for the invocation - process. - <sup>[<a name="idp7220656" href="#ftn.idp7220656" class="footnote">7</a>]</sup></p></li> -</ul></div> -<p> - </p> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="idp9473520"></a>C Closures</h3></div></div></div> -<p> - If you are using C or C++ - to connect a callback to a given event, you will either use simple <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a>s - which have a pretty minimal API or the even simpler <code class="function"><a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()">g_signal_connect</a></code> - functions (which will be presented a bit later :). -</p> -<pre class="programlisting"> -GClosure *g_cclosure_new (GCallback callback_func, - gpointer user_data, - GClosureNotify destroy_data); -GClosure *g_cclosure_new_swap (GCallback callback_func, - gpointer user_data, - GClosureNotify destroy_data); -GClosure *g_signal_type_cclosure_new (GType itype, - guint struct_offset); -</pre> -<p> - </p> -<p> - <code class="function"><a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()">g_cclosure_new</a></code> will create a new closure which can invoke the - user-provided callback_func with the user-provided user_data as last parameter. When the closure - is finalized (second stage of the destruction process), it will invoke the destroy_data function - if the user has supplied one. - </p> -<p> - <code class="function"><a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()">g_cclosure_new_swap</a></code> will create a new closure which can invoke the - user-provided callback_func with the user-provided user_data as first parameter (instead of being the - last parameter as with <code class="function"><a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()">g_cclosure_new</a></code>). When the closure - is finalized (second stage of the destruction process), it will invoke the destroy_data - function if the user has supplied one. - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="idp6382272"></a>Non-C closures (for the fearless)</h3></div></div></div> -<p> - As was explained above, closures hide the details of callback invocation. In C, - callback invocation is just like function invocation: it is a matter of creating - the correct stack frame for the called function and executing a <span class="emphasis"><em>call</em></span> - assembly instruction. - </p> -<p> - C closure marshallers transform the array of GValues which represent - the parameters to the target function into a C-style function parameter list, invoke - the user-supplied C function with this new parameter list, get the return value of the - function, transform it into a GValue and return this GValue to the marshaller caller. - </p> -<p> - The following code implements a simple marshaller in C for a C function which takes an - integer as first parameter and returns void. -</p> -<pre class="programlisting"> -g_cclosure_marshal_VOID__INT (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data) -{ - typedef void (*GMarshalFunc_VOID__INT) (gpointer data1, - gint arg_1, - gpointer data2); - register GMarshalFunc_VOID__INT callback; - register GCClosure *cc = (GCClosure*) closure; - register gpointer data1, data2; - - g_return_if_fail (n_param_values == 2); - - data1 = g_value_peek_pointer (param_values + 0); - data2 = closure->data; - - callback = (GMarshalFunc_VOID__INT) (marshal_data ? marshal_data : cc->callback); - - callback (data1, - g_marshal_value_peek_int (param_values + 1), - data2); -} -</pre> -<p> - </p> -<p> - Of course, there exist other kinds of marshallers. For example, James Henstridge - wrote a generic Python marshaller which is used by all Python closures (a Python closure - is used to have Python-based callback be invoked by the closure invocation process). - This Python marshaller transforms the input GValue list representing the function - parameters into a Python tuple which is the equivalent structure in Python (you can - look in <code class="function">pyg_closure_marshal</code> in <code class="filename">pygtype.c</code> - in the <span class="emphasis"><em>pygobject</em></span> module in the GNOME source code repository). - </p> -</div> -</div> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp8360640" href="#idp8360640" class="para">6</a>] </sup> - In practice, closures sit at the boundary of language runtimes: if you are - writing Python code and one of your Python callbacks receives a signal from - a GTK+ widget, the C code in GTK+ needs to execute your Python - code. The closure invoked by the GTK+ object invokes the Python callback: - it behaves as a normal C object for GTK+ and as a normal Python object for - Python code. - </p></div> -<div class="footnote"><p><sup>[<a id="ftn.idp7220656" href="#idp7220656" class="para">7</a>] </sup> - Closures are reference counted and notify listeners of their destruction in a two-stage - process: the invalidation notifiers are invoked before the finalization notifiers. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/glib-genmarshal.html b/gtk+-mingw/share/gtk-doc/html/gobject/glib-genmarshal.html deleted file mode 100644 index 0c4ee44..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/glib-genmarshal.html +++ /dev/null @@ -1,360 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>glib-genmarshal</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn02.html" title="Tools Reference"> -<link rel="prev" href="glib-mkenums.html" title="glib-mkenums"> -<link rel="next" href="gobject-query.html" title="gobject-query"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="glib-mkenums.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn02.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-query.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div lang="en" class="refentry"> -<a name="glib-genmarshal"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle">glib-genmarshal</span></h2> -<p>glib-genmarshal — C code marshaller generation utility for GLib closures</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<h2>Synopsis</h2> -<div class="cmdsynopsis"><p><code class="command">glib-genmarshal</code> [OPTION...] [FILE...]</p></div> -</div> -<div class="refsect1"> -<a name="idp11532208"></a><h2>Description</h2> -<p><span class="command"><strong>glib-genmarshal</strong></span> is a small utility that generates C code -marshallers for callback functions of the GClosure mechanism in the GObject -sublibrary of GLib. The marshaller functions have a standard signature, -they get passed in the invoking closure, an array of value structures holding -the callback function parameters and a value structure for the return value -of the callback. The marshaller is then responsible to call the respective C -code function of the closure with all the parameters on the stack and to -collect its return value. -</p> -<p><span class="command"><strong>glib-genmarshal</strong></span> takes a list of marshallers to generate as -input. The marshaller list is either read from standard input or from files -passed as additional arguments on the command line. -</p> -<div class="refsect2"> -<a name="idp11173984"></a><h3>Marshaller list format</h3> -<p> -The marshaller lists are processed line by line, a line can contain a -comment in the form of -</p> -<pre class="programlisting"> -# this is a comment -</pre> -<p> -or a marshaller specification of the form -</p> -<pre class="programlisting"> -<em class="replaceable"><code>RTYPE</code></em>:<em class="replaceable"><code>PTYPE</code></em> -<em class="replaceable"><code>RTYPE</code></em>:<em class="replaceable"><code>PTYPE</code></em>,<em class="replaceable"><code>PTYPE</code></em> -<em class="replaceable"><code>RTYPE</code></em>:<em class="replaceable"><code>PTYPE</code></em>,<em class="replaceable"><code>PTYPE</code></em>,<em class="replaceable"><code>PTYPE</code></em> -</pre> -<p> -(up to 16 <em class="replaceable"><code>PTYPE</code></em>s may be present). -</p> -<p> -The <em class="replaceable"><code>RTYPE</code></em> part specifies the callback's return -type and the <em class="replaceable"><code>PTYPE</code></em>s right to the colon specify -the callback's parameter list, except for the first and the last arguments -which are always pointers. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="idp10129840"></a><h3>Parameter types</h3> -<p> -Currently, the following types are supported: -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="replaceable"><code>VOID</code></em></span></p></td> -<td><p> -indicates no return type, or no extra parameters. -If <em class="replaceable"><code>VOID</code></em> is used as the parameter list, no -additional parameters may be present. -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>BOOLEAN</code></em></span></p></td> -<td><p> -for boolean types (gboolean) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>CHAR</code></em></span></p></td> -<td><p> -for signed char types (gchar) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>UCHAR</code></em></span></p></td> -<td><p> -for unsigned char types (guchar) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>INT</code></em></span></p></td> -<td><p> -for signed integer types (gint) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>UINT</code></em></span></p></td> -<td><p> -for unsigned integer types (guint) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>LONG</code></em></span></p></td> -<td><p> -for signed long integer types (glong) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>ULONG</code></em></span></p></td> -<td><p> -for unsigned long integer types (gulong) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>INT64</code></em></span></p></td> -<td><p> -for signed 64bit integer types (gint64) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>UINT64</code></em></span></p></td> -<td><p> -for unsigned 64bit integer types (guint64) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>ENUM</code></em></span></p></td> -<td><p> -for enumeration types (gint) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>FLAGS</code></em></span></p></td> -<td><p> -for flag enumeration types (guint) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>FLOAT</code></em></span></p></td> -<td><p> -for single-precision float types (gfloat) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>DOUBLE</code></em></span></p></td> -<td><p> -for double-precision float types (gdouble) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>STRING</code></em></span></p></td> -<td><p> -for string types (gchar*) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>BOXED</code></em></span></p></td> -<td><p> -for boxed (anonymous but reference counted) types (GBoxed*) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>PARAM</code></em></span></p></td> -<td><p> -for GParamSpec or derived types (GParamSpec*) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>POINTER</code></em></span></p></td> -<td><p> -for anonymous pointer types (gpointer) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>OBJECT</code></em></span></p></td> -<td><p> -for GObject or derived types (GObject*) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>VARIANT</code></em></span></p></td> -<td><p> -for GVariant types (GVariant*) -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>NONE</code></em></span></p></td> -<td><p> -deprecated alias for <em class="replaceable"><code>VOID</code></em> -</p></td> -</tr> -<tr> -<td><p><span class="term"><em class="replaceable"><code>BOOL</code></em></span></p></td> -<td><p> -deprecated alias for <em class="replaceable"><code>BOOLEAN</code></em> -</p></td> -</tr> -</tbody> -</table></div> -<p> -</p> -</div> -</div> -<div class="refsect1"> -<a name="idp11109872"></a><h2>Options</h2> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><code class="option">--header</code></span></p></td> -<td><p> -Generate header file contents of the marshallers. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--body</code></span></p></td> -<td><p> -Generate C code file contents of the marshallers. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--prefix=<em class="replaceable"><code>PREFIX</code></em></code></span></p></td> -<td><p> -Specify marshaller prefix. The default prefix is <code class="literal">`g_cclosure_marshal'</code>. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--skip-source</code></span></p></td> -<td><p> -Skip source location remarks in generated comments. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--nostdinc</code></span></p></td> -<td><p> -Do not use the standard marshallers of the GObject library, and skip -<code class="filename">gmarshal.h</code> include directive in generated header files. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--internal</code></span></p></td> -<td><p> -Mark generated functions as internal, using G_GNUC_INTERNAL. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--valist-marshallers</code></span></p></td> -<td><p> -Generate valist marshallers, for use with g_signal_set_va_marshaller(). -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-v</code>, <code class="option">--version</code></span></p></td> -<td><p> -Print version information. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--g-fatal-warnings</code></span></p></td> -<td><p> -Make warnings fatal, that is, exit immediately once a warning occurs. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td> -<td><p> -Print brief help and exit. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-v</code>, <code class="option">--version</code></span></p></td> -<td><p> -Print version and exit. -</p></td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect1"> -<a name="idp10224528"></a><h2>Example</h2> -<p> -To generate marshallers for the following callback functions: -</p> -<pre class="programlisting"> -void foo (gpointer data1, - gpointer data2); -void bar (gpointer data1, - gint param1, - gpointer data2); -gfloat baz (gpointer data1, - gboolean param1, - guchar param2, - gpointer data2); -</pre> -<p> -The marshaller list has to look like this: -</p> -<pre class="programlisting"> -VOID:VOID -VOID:INT -FLOAT:BOOLEAN,UCHAR -</pre> -<p> -The generated marshallers have the arguments encoded in their function name. -For this particular list, they are -</p> -<pre class="programlisting"> -g_cclosure_marshal_VOID__VOID(), -g_cclosure_marshal_VOID__INT(), -g_cclosure_marshal_FLOAT__BOOLEAN_UCHAR(). -</pre> -<p> -They can be used directly for GClosures or be passed in as the -GSignalCMarshaller c_marshaller; argument upon creation of signals: -</p> -<pre class="programlisting"> -GClosure *cc_foo, *cc_bar, *cc_baz; - -cc_foo = g_cclosure_new (NULL, foo, NULL); -g_closure_set_marshal (cc_foo, g_cclosure_marshal_VOID__VOID); -cc_bar = g_cclosure_new (NULL, bar, NULL); -g_closure_set_marshal (cc_bar, g_cclosure_marshal_VOID__INT); -cc_baz = g_cclosure_new (NULL, baz, NULL); -g_closure_set_marshal (cc_baz, g_cclosure_marshal_FLOAT__BOOLEAN_UCHAR); -</pre> -</div> -<div class="refsect1"> -<a name="idp10434272"></a><h2>See also</h2> -<p> -<span class="citerefentry"><span class="refentrytitle">glib-mkenums</span>(1)</span> -</p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/glib-mkenums.html b/gtk+-mingw/share/gtk-doc/html/gobject/glib-mkenums.html deleted file mode 100644 index 9a9e6ea..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/glib-mkenums.html +++ /dev/null @@ -1,325 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>glib-mkenums</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn02.html" title="Tools Reference"> -<link rel="prev" href="rn02.html" title="Tools Reference"> -<link rel="next" href="glib-genmarshal.html" title="glib-genmarshal"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="rn02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn02.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">GObject Reference Manual</th> -<td><a accesskey="n" href="glib-genmarshal.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div lang="en" class="refentry"> -<a name="glib-mkenums"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle">glib-mkenums</span></h2> -<p>glib-mkenums — C language enum description generation utility</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<h2>Synopsis</h2> -<div class="cmdsynopsis"><p><code class="command">glib-mkenums</code> [OPTION...] [FILE...]</p></div> -</div> -<div class="refsect1"> -<a name="idp10269952"></a><h2>Description</h2> -<p><span class="command"><strong>glib-mkenums</strong></span> is a small perl-script utility that -parses C code to extract enum definitions and produces enum descriptions based -on text templates specified by the user. Most frequently this script is used to -produce C code that contains enum values as strings so programs can provide -value name strings for introspection. -</p> -<p><span class="command"><strong>glib-mkenums</strong></span> takes a list of valid C code files as -input. The options specified control the text that is output, certain -substitutions are performed on the text templates for keywords enclosed -in @ characters. -</p> -<div class="refsect2"> -<a name="idm21776"></a><h3>Production text substitutions</h3> -<p> -Certain keywords enclosed in @ characters will be substituted in the -emitted text. For the substitution examples of the keywords below, -the following example enum definition is assumed: -</p> -<pre class="programlisting"> -typedef enum -{ - PREFIX_THE_XVALUE = 1 << 3, - PREFIX_ANOTHER_VALUE = 1 << 4 -} PrefixTheXEnum; -</pre> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term">@EnumName@</span></p></td> -<td><p> -The name of the enum currently being processed, enum names are assumed to be -properly namespaced and to use mixed capitalization to separate -words (e.g. PrefixTheXEnum). -</p></td> -</tr> -<tr> -<td><p><span class="term">@enum_name@</span></p></td> -<td><p> -The enum name with words lowercase and word-separated by underscores -(e.g. prefix_the_xenum). -</p></td> -</tr> -<tr> -<td><p><span class="term">@ENUMNAME@</span></p></td> -<td><p> -The enum name with words uppercase and word-separated by underscores -(e.g. PREFIX_THE_XENUM). -</p></td> -</tr> -<tr> -<td><p><span class="term">@ENUMSHORT@</span></p></td> -<td><p> -The enum name with words uppercase and word-separated by underscores, -prefix stripped (e.g. THE_XENUM). -</p></td> -</tr> -<tr> -<td><p><span class="term">@VALUENAME@</span></p></td> -<td><p> -The enum value name currently being processed with words uppercase and -word-separated by underscores, -this is the assumed literal notation of enum values in the C sources -(e.g. PREFIX_THE_XVALUE). -</p></td> -</tr> -<tr> -<td><p><span class="term">@valuenick@</span></p></td> -<td><p> -A nick name for the enum value currently being processed, this is usually -generated by stripping common prefix words of all the enum values of the -current enum, the words are lowercase and underscores are substituted by a -minus (e.g. the-xvalue). -</p></td> -</tr> -<tr> -<td><p><span class="term">@valuenum@</span></p></td> -<td><p> -The integer value for the enum value currently being processed. This is -calculated by using <span class="command"><strong>perl</strong></span> to attempt to evaluate the -expression as it appears in the C source code. If evaluation fails then -<span class="command"><strong>glib-mkenums</strong></span> will exit with an error status, but this -only happens if <code class="literal">@valuenum@</code> appears in your value -production template. (Since: 2.26) -</p></td> -</tr> -<tr> -<td><p><span class="term">@type@</span></p></td> -<td><p> -This is substituted either by "enum" or "flags", depending on whether the -enum value definitions contained bit-shift operators or not (e.g. flags). -</p></td> -</tr> -<tr> -<td><p><span class="term">@Type@</span></p></td> -<td><p> -The same as <code class="literal">@type@</code> with the first letter capitalized (e.g. Flags). -</p></td> -</tr> -<tr> -<td><p><span class="term">@TYPE@</span></p></td> -<td><p> -The same as <code class="literal">@type@</code> with all letters uppercased (e.g. FLAGS). -</p></td> -</tr> -<tr> -<td><p><span class="term">@filename@</span></p></td> -<td><p> -The name of the input file currently being processed (e.g. foo.h). -</p></td> -</tr> -<tr> -<td><p><span class="term">@basename@</span></p></td> -<td><p> -The base name of the input file currently being processed (e.g. foo.h). (Since: 2.22) -</p></td> -</tr> -</tbody> -</table></div> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="idp5871120"></a><h3>Trigraph extensions</h3> -<p> -Some C comments are treated specially in the parsed enum definitions, -such comments start out with the trigraph sequence <code class="literal">/*<</code> -and end with the trigraph sequence <code class="literal">>*/</code>. -Per enum definition, the options "skip" and "flags" can be specified, to -indicate this enum definition to be skipped, or for it to be treated as -a flags definition, or to specify the common prefix to be stripped from -all values to generate value nicknames, respectively. The "underscore_name" -option can be used to specify the word separation used in the *_get_type() -function. For instance, /*< underscore_name=gnome_vfs_uri_hide_options >*/. -</p> -<p> -Per value definition, the options "skip" and "nick" are supported. -The former causes the value to be skipped, and the latter can be used to -specify the otherwise auto-generated nickname. -Examples: -</p> -<pre class="programlisting"> -typedef enum /*< skip >*/ -{ - PREFIX_FOO -} PrefixThisEnumWillBeSkipped; -typedef enum /*< flags,prefix=PREFIX >*/ -{ - PREFIX_THE_ZEROTH_VALUE, /*< skip >*/ - PREFIX_THE_FIRST_VALUE, - PREFIX_THE_SECOND_VALUE, - PREFIX_THE_THIRD_VALUE, /*< nick=the-last-value >*/ -} PrefixTheFlagsEnum; -</pre> -<p> -</p> -</div> -</div> -<div class="refsect1"> -<a name="idp7548736"></a><h2>Options</h2> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><code class="option">--fhead</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Put out <em class="replaceable"><code>TEXT</code></em> prior to processing input files. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--fprod</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Put out <em class="replaceable"><code>TEXT</code></em> everytime a new input file -is being processed. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--ftail</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Put out <em class="replaceable"><code>TEXT</code></em> after all input files have been -processed. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--eprod</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Put out <em class="replaceable"><code>TEXT</code></em> everytime an enum is encountered -in the input files. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--vhead</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Put out <em class="replaceable"><code>TEXT</code></em> before iterating over the set of -values of an enum. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--vprod</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Put out <em class="replaceable"><code>TEXT</code></em> for every value of an enum. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--vtail</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Put out <em class="replaceable"><code>TEXT</code></em> after iterating over all values -of an enum. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--comments</code> <em class="replaceable"><code>TEXT</code></em></span></p></td> -<td><p> -Template for auto-generated comments, the default (for C code generations) is -<code class="literal">"/* @comment@ */"</code>. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--template</code> <em class="replaceable"><code>FILE</code></em></span></p></td> -<td> -<p> -Read templates from the given file. The templates are enclosed in -specially-formatted C comments -</p> -<pre class="programlisting"> -/*** BEGIN section ***/ -/*** END section ***/ -</pre> -<p> -where section may be <code class="literal">file-header</code>, -<code class="literal">file-production</code>, <code class="literal">file-tail</code>, -<code class="literal">enumeration-production</code>, <code class="literal">value-header</code>, -<code class="literal">value-production</code>, <code class="literal">value-tail</code> or -<code class="literal">comment</code>. -</p> -</td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--identifier-prefix</code> <em class="replaceable"><code>PREFIX</code></em></span></p></td> -<td><p> -Indicates what portion of the enum name should be intepreted as the -prefix (eg, the "<code class="literal">Gtk</code>" in -"<code class="literal">GtkDirectionType</code>"). Normally this will be figured -out automatically, but you may need to override the default if your -namespace is capitalized oddly. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--symbol-prefix</code> <em class="replaceable"><code>PREFIX</code></em></span></p></td> -<td><p> -Indicates what prefix should be used to correspond to the identifier -prefix in related C function names (eg, the "<code class="literal">gtk</code>" -in "<code class="literal">gtk_direction_type_get_type</code>". Equivalently, -this is the lowercase version of the prefix component of the enum -value names (eg, the "<code class="literal">GTK</code>" in -"<code class="literal">GTK_DIR_UP</code>". The default value is the identifier -prefix, converted to lowercase. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--help</code></span></p></td> -<td><p> -Print brief help and exit. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">--version</code></span></p></td> -<td><p> -Print version and exit. -</p></td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect1"> -<a name="idp9203968"></a><h2>See also</h2> -<p> -<span class="citerefentry"><span class="refentrytitle">glib-genmarshal</span>(1)</span> -</p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/glue.png b/gtk+-mingw/share/gtk-doc/html/gobject/glue.png Binary files differdeleted file mode 100644 index f5f3aab..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/glue.png +++ /dev/null diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Boxed-Types.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Boxed-Types.html deleted file mode 100644 index 29ae56d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +++ /dev/null @@ -1,474 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Boxed Types</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types"> -<link rel="next" href="gobject-Generic-values.html" title="Generic values"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Enumeration-and-Flag-Types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Generic-values.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Boxed-Types.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Boxed-Types.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Boxed-Types"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Boxed-Types.top_of_page"></a>Boxed Types</span></h2> -<p>Boxed Types — A mechanism to wrap opaque C structures registered - by the type system</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Boxed-Types.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (<a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()">*GBoxedCopyFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()">*GBoxedFreeFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Boxed-Types.html#g-boxed-copy" title="g_boxed_copy ()">g_boxed_copy</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> src_boxed</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Boxed-Types.html#g-boxed-free" title="g_boxed_free ()">g_boxed_free</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Boxed-Types.html#g-boxed-type-register-static" title="g_boxed_type_register_static ()">g_boxed_type_register_static</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()"><span class="type">GBoxedCopyFunc</span></a> boxed_copy</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()"><span class="type">GBoxedFreeFunc</span></a> boxed_free</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Boxed-Types.html#g-pointer-type-register-static" title="g_pointer_type_register_static ()">g_pointer_type_register_static</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); - -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-HASH-TABLE:CAPS" title="G_TYPE_HASH_TABLE">G_TYPE_HASH_TABLE</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-DATE:CAPS" title="G_TYPE_DATE">G_TYPE_DATE</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-GSTRING:CAPS" title="G_TYPE_GSTRING">G_TYPE_GSTRING</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV">G_TYPE_STRV</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-REGEX:CAPS" title="G_TYPE_REGEX">G_TYPE_REGEX</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-MATCH-INFO:CAPS" title="G_TYPE_MATCH_INFO">G_TYPE_MATCH_INFO</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-ARRAY:CAPS" title="G_TYPE_ARRAY">G_TYPE_ARRAY</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-BYTE-ARRAY:CAPS" title="G_TYPE_BYTE_ARRAY">G_TYPE_BYTE_ARRAY</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-PTR-ARRAY:CAPS" title="G_TYPE_PTR_ARRAY">G_TYPE_PTR_ARRAY</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-BYTES:CAPS" title="G_TYPE_BYTES">G_TYPE_BYTES</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-VARIANT-TYPE:CAPS" title="G_TYPE_VARIANT_TYPE">G_TYPE_VARIANT_TYPE</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-ERROR:CAPS" title="G_TYPE_ERROR">G_TYPE_ERROR</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-DATE-TIME:CAPS" title="G_TYPE_DATE_TIME">G_TYPE_DATE_TIME</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-IO-CHANNEL:CAPS" title="G_TYPE_IO_CHANNEL">G_TYPE_IO_CHANNEL</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-IO-CONDITION:CAPS" title="G_TYPE_IO_CONDITION">G_TYPE_IO_CONDITION</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-VARIANT-BUILDER:CAPS" title="G_TYPE_VARIANT_BUILDER">G_TYPE_VARIANT_BUILDER</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-KEY-FILE:CAPS" title="G_TYPE_KEY_FILE">G_TYPE_KEY_FILE</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-CONTEXT:CAPS" title="G_TYPE_MAIN_CONTEXT">G_TYPE_MAIN_CONTEXT</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-MAIN-LOOP:CAPS" title="G_TYPE_MAIN_LOOP">G_TYPE_MAIN_LOOP</a> -#define <a class="link" href="gobject-Boxed-Types.html#G-TYPE-SOURCE:CAPS" title="G_TYPE_SOURCE">G_TYPE_SOURCE</a> -typedef <a class="link" href="gobject-Boxed-Types.html#GStrv" title="GStrv">GStrv</a>; -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Boxed-Types.description"></a><h2>Description</h2> -<p> -GBoxed is a generic wrapper mechanism for arbitrary C structures. The only -thing the type system needs to know about the structures is how to copy and -free them, beyond that they are treated as opaque chunks of memory. -</p> -<p> -Boxed types are useful for simple value-holder structures like rectangles or -points. They can also be used for wrapping structures defined in non-GObject -based libraries. -</p> -</div> -<div class="refsect1"> -<a name="gobject-Boxed-Types.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GBoxedCopyFunc"></a><h3>GBoxedCopyFunc ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> (*GBoxedCopyFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);</pre> -<p> -This function is provided by the user and should produce a copy -of the passed in boxed structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>boxed</code></em> :</span></p></td> -<td>The boxed structure to be copied.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The newly created copy of the boxed structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GBoxedFreeFunc"></a><h3>GBoxedFreeFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GBoxedFreeFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);</pre> -<p> -This function is provided by the user and should free the boxed -structure passed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>boxed</code></em> :</span></p></td> -<td>The boxed structure to be freed.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-boxed-copy"></a><h3>g_boxed_copy ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_boxed_copy (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> src_boxed</code></em>);</pre> -<p> -Provide a copy of a boxed structure <em class="parameter"><code>src_boxed</code></em> which is of type <em class="parameter"><code>boxed_type</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>boxed_type</code></em> :</span></p></td> -<td>The type of <em class="parameter"><code>src_boxed</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_boxed</code></em> :</span></p></td> -<td>The boxed structure to be copied.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The newly created copy of the boxed structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-boxed-free"></a><h3>g_boxed_free ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_boxed_free (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> boxed</code></em>);</pre> -<p> -Free the boxed structure <em class="parameter"><code>boxed</code></em> which is of type <em class="parameter"><code>boxed_type</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>boxed_type</code></em> :</span></p></td> -<td>The type of <em class="parameter"><code>boxed</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>boxed</code></em> :</span></p></td> -<td>The boxed structure to be freed.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-boxed-type-register-static"></a><h3>g_boxed_type_register_static ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_boxed_type_register_static (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()"><span class="type">GBoxedCopyFunc</span></a> boxed_copy</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()"><span class="type">GBoxedFreeFunc</span></a> boxed_free</code></em>);</pre> -<p> -This function creates a new <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type id for a new -boxed type with name <em class="parameter"><code>name</code></em>. Boxed type handling functions have to be -provided to copy and free opaque boxed structures of this type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>Name of the new boxed type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>boxed_copy</code></em> :</span></p></td> -<td>Boxed structure copy function.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>boxed_free</code></em> :</span></p></td> -<td>Boxed structure free function.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>New <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type id for <em class="parameter"><code>name</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-pointer-type-register-static"></a><h3>g_pointer_type_register_static ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_pointer_type_register_static (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a> derived type id for a new -pointer type with name <em class="parameter"><code>name</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the name of the new pointer type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a> derived type id for <em class="parameter"><code>name</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-HASH-TABLE:CAPS"></a><h3>G_TYPE_HASH_TABLE</h3> -<pre class="programlisting">#define G_TYPE_HASH_TABLE (g_hash_table_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> reference. -</p> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-DATE:CAPS"></a><h3>G_TYPE_DATE</h3> -<pre class="programlisting">#define G_TYPE_DATE (g_date_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-GSTRING:CAPS"></a><h3>G_TYPE_GSTRING</h3> -<pre class="programlisting">#define G_TYPE_GSTRING (g_gstring_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-Strings.html#GString"><span class="type">GString</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-STRV:CAPS"></a><h3>G_TYPE_STRV</h3> -<pre class="programlisting">#define G_TYPE_STRV (g_strv_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings. -</p> -<p> -The code fragments in the following example show the use of a property of -type <a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV"><span class="type">G_TYPE_STRV</span></a> with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()"><code class="function">g_object_set()</code></a> -and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a>. -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -g_object_class_install_property (object_class, - PROP_AUTHORS, - g_param_spec_boxed ("authors", - _("Authors"), - _("List of authors"), - G_TYPE_STRV, - G_PARAM_READWRITE)); - -gchar *authors[] = { "Owen", "Tim", NULL }; -g_object_set (obj, "authors", authors, NULL); - -gchar *writers[]; -g_object_get (obj, "authors", &writers, NULL); -/* do something with writers */ -g_strfreev (writers); -</pre></div> -<p> -</p> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-REGEX:CAPS"></a><h3>G_TYPE_REGEX</h3> -<pre class="programlisting">#define G_TYPE_REGEX (g_regex_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Perl-compatible-regular-expressions.html#GRegex"><span class="type">GRegex</span></a> reference. -</p> -<p class="since">Since 2.14</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-MATCH-INFO:CAPS"></a><h3>G_TYPE_MATCH_INFO</h3> -<pre class="programlisting">#define G_TYPE_MATCH_INFO (g_match_info_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Perl-compatible-regular-expressions.html#GMatchInfo"><span class="type">GMatchInfo</span></a> reference. -</p> -<p class="since">Since 2.30</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-ARRAY:CAPS"></a><h3>G_TYPE_ARRAY</h3> -<pre class="programlisting">#define G_TYPE_ARRAY (g_array_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> reference. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-BYTE-ARRAY:CAPS"></a><h3>G_TYPE_BYTE_ARRAY</h3> -<pre class="programlisting">#define G_TYPE_BYTE_ARRAY (g_byte_array_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Byte-Arrays.html#GByteArray"><span class="type">GByteArray</span></a> reference. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PTR-ARRAY:CAPS"></a><h3>G_TYPE_PTR_ARRAY</h3> -<pre class="programlisting">#define G_TYPE_PTR_ARRAY (g_ptr_array_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> reference. -</p> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-BYTES:CAPS"></a><h3>G_TYPE_BYTES</h3> -<pre class="programlisting">#define G_TYPE_BYTES (g_bytes_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-Byte-Arrays.html#GBytes"><span class="type">GBytes</span></a>. -</p> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-VARIANT-TYPE:CAPS"></a><h3>G_TYPE_VARIANT_TYPE</h3> -<pre class="programlisting">#define G_TYPE_VARIANT_TYPE (g_variant_type_get_gtype ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a>. -</p> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-ERROR:CAPS"></a><h3>G_TYPE_ERROR</h3> -<pre class="programlisting">#define G_TYPE_ERROR (g_error_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-DATE-TIME:CAPS"></a><h3>G_TYPE_DATE_TIME</h3> -<pre class="programlisting">#define G_TYPE_DATE_TIME (g_date_time_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a>. -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IO-CHANNEL:CAPS"></a><h3>G_TYPE_IO_CHANNEL</h3> -<pre class="programlisting">#define G_TYPE_IO_CHANNEL (g_io_channel_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-IO-Channels.html#GIOChannel"><span class="type">GIOChannel</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IO-CONDITION:CAPS"></a><h3>G_TYPE_IO_CONDITION</h3> -<pre class="programlisting">#define G_TYPE_IO_CONDITION (g_io_condition_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a href="./../glib/glib/glib-IO-Channels.html#GIOCondition"><span class="type">GIOCondition</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-VARIANT-BUILDER:CAPS"></a><h3>G_TYPE_VARIANT_BUILDER</h3> -<pre class="programlisting">#define G_TYPE_VARIANT_BUILDER (g_variant_builder_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-GVariant.html#GVariantBuilder"><span class="type">GVariantBuilder</span></a>. -</p> -<p class="since">Since 2.30</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-KEY-FILE:CAPS"></a><h3>G_TYPE_KEY_FILE</h3> -<pre class="programlisting">#define G_TYPE_KEY_FILE (g_key_file_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-Key-value-file-parser.html#GKeyFile"><span class="type">GKeyFile</span></a>. -</p> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-MAIN-CONTEXT:CAPS"></a><h3>G_TYPE_MAIN_CONTEXT</h3> -<pre class="programlisting">#define G_TYPE_MAIN_CONTEXT (g_main_context_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GMainContext"><span class="type">GMainContext</span></a>. -</p> -<p class="since">Since 2.30</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-MAIN-LOOP:CAPS"></a><h3>G_TYPE_MAIN_LOOP</h3> -<pre class="programlisting">#define G_TYPE_MAIN_LOOP (g_main_loop_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a>. -</p> -<p class="since">Since 2.30</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-SOURCE:CAPS"></a><h3>G_TYPE_SOURCE</h3> -<pre class="programlisting">#define G_TYPE_SOURCE (g_source_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for a boxed type holding a <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a>. -</p> -<p class="since">Since 2.30</p> -</div> -<hr> -<div class="refsect2"> -<a name="GStrv"></a><h3>GStrv</h3> -<pre class="programlisting">typedef gchar** GStrv; -</pre> -<p> -A C representable type name for <a class="link" href="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" title="G_TYPE_STRV"><span class="type">G_TYPE_STRV</span></a>. -</p> -</div> -</div> -<div class="refsect1"> -<a name="gobject-Boxed-Types.see-also"></a><h2>See Also</h2> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed" title="g_param_spec_boxed ()"><code class="function">g_param_spec_boxed()</code></a> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Closures.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Closures.html deleted file mode 100644 index 0e3bb43..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Closures.html +++ /dev/null @@ -1,2735 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Closures</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Signals.html" title="Signals"> -<link rel="next" href="gobject-Value-arrays.html" title="Value arrays"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Signals.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Value-arrays.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Closures.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Closures.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Closures"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Closures.top_of_page"></a>Closures</span></h2> -<p>Closures — Functions as first-class objects</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Closures.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -#define <a class="link" href="gobject-Closures.html#G-CLOSURE-NEEDS-MARSHAL:CAPS" title="G_CLOSURE_NEEDS_MARSHAL()">G_CLOSURE_NEEDS_MARSHAL</a> (closure) -#define <a class="link" href="gobject-Closures.html#G-CLOSURE-N-NOTIFIERS:CAPS" title="G_CLOSURE_N_NOTIFIERS()">G_CLOSURE_N_NOTIFIERS</a> (cl) -#define <a class="link" href="gobject-Closures.html#G-CCLOSURE-SWAP-DATA:CAPS" title="G_CCLOSURE_SWAP_DATA()">G_CCLOSURE_SWAP_DATA</a> (cclosure) -#define <a class="link" href="gobject-Closures.html#G-CALLBACK:CAPS" title="G_CALLBACK()">G_CALLBACK</a> (f) -<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()">*GCallback</a>) (<em class="parameter"><code><span class="type">void</span></code></em>); -struct <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure">GClosure</a>; -#define <a class="link" href="gobject-Closures.html#G-TYPE-CLOSURE:CAPS" title="G_TYPE_CLOSURE">G_TYPE_CLOSURE</a> -struct <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure">GCClosure</a>; -<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()">*GClosureMarshal</a>) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GVaClosureMarshal" title="GVaClosureMarshal ()">*GVaClosureMarshal</a>) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()">*GClosureNotify</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()">g_cclosure_new</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()">g_cclosure_new_swap</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new-object" title="g_cclosure_new_object ()">g_cclosure_new_object</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-cclosure-new-object-swap" title="g_cclosure_new_object_swap ()">g_cclosure_new_object_swap</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-generic" title="g_cclosure_marshal_generic ()">g_cclosure_marshal_generic</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_gvalue</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-closure-new-object" title="g_closure_new_object ()">g_closure_new_object</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()">g_closure_ref</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()">g_closure_sink</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()">g_closure_unref</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()">g_closure_invoke</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()">g_closure_invalidate</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()">g_closure_add_finalize_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()">g_closure_add_invalidate_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-remove-finalize-notifier" title="g_closure_remove_finalize_notifier ()">g_closure_remove_finalize_notifier</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-remove-invalidate-notifier" title="g_closure_remove_invalidate_notifier ()">g_closure_remove_invalidate_notifier</a> - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Closures.html#g-closure-new-simple" title="g_closure_new_simple ()">g_closure_new_simple</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()">g_closure_set_marshal</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshal</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()">g_closure_add_marshal_guards</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pre_marshal_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> pre_marshal_notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> post_marshal_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> post_marshal_notify</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()">g_closure_set_meta_marshal</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> meta_marshal</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-source-set-closure" title="g_source_set_closure ()">g_source_set_closure</a> (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-source-set-dummy-callback" title="g_source_set_dummy_callback ()">g_source_set_dummy_callback</a> (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>); - -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VOID" title="g_cclosure_marshal_VOID__VOID ()">g_cclosure_marshal_VOID__VOID</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEAN" title="g_cclosure_marshal_VOID__BOOLEAN ()">g_cclosure_marshal_VOID__BOOLEAN</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--CHAR" title="g_cclosure_marshal_VOID__CHAR ()">g_cclosure_marshal_VOID__CHAR</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UCHAR" title="g_cclosure_marshal_VOID__UCHAR ()">g_cclosure_marshal_VOID__UCHAR</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--INT" title="g_cclosure_marshal_VOID__INT ()">g_cclosure_marshal_VOID__INT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT" title="g_cclosure_marshal_VOID__UINT ()">g_cclosure_marshal_VOID__UINT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--LONG" title="g_cclosure_marshal_VOID__LONG ()">g_cclosure_marshal_VOID__LONG</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ULONG" title="g_cclosure_marshal_VOID__ULONG ()">g_cclosure_marshal_VOID__ULONG</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ENUM" title="g_cclosure_marshal_VOID__ENUM ()">g_cclosure_marshal_VOID__ENUM</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGS" title="g_cclosure_marshal_VOID__FLAGS ()">g_cclosure_marshal_VOID__FLAGS</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLOAT" title="g_cclosure_marshal_VOID__FLOAT ()">g_cclosure_marshal_VOID__FLOAT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLE" title="g_cclosure_marshal_VOID__DOUBLE ()">g_cclosure_marshal_VOID__DOUBLE</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--STRING" title="g_cclosure_marshal_VOID__STRING ()">g_cclosure_marshal_VOID__STRING</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--PARAM" title="g_cclosure_marshal_VOID__PARAM ()">g_cclosure_marshal_VOID__PARAM</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOXED" title="g_cclosure_marshal_VOID__BOXED ()">g_cclosure_marshal_VOID__BOXED</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--POINTER" title="g_cclosure_marshal_VOID__POINTER ()">g_cclosure_marshal_VOID__POINTER</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECT" title="g_cclosure_marshal_VOID__OBJECT ()">g_cclosure_marshal_VOID__OBJECT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANT" title="g_cclosure_marshal_VOID__VARIANT ()">g_cclosure_marshal_VOID__VARIANT</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTER" title="g_cclosure_marshal_STRING__OBJECT_POINTER ()">g_cclosure_marshal_STRING__OBJECT_POINTER</a> - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTER" title="g_cclosure_marshal_VOID__UINT_POINTER ()">g_cclosure_marshal_VOID__UINT_POINTER</a> - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS" title="g_cclosure_marshal_BOOLEAN__FLAGS ()">g_cclosure_marshal_BOOLEAN__FLAGS</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -#define <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOL--FLAGS" title="g_cclosure_marshal_BOOL__FLAGS">g_cclosure_marshal_BOOL__FLAGS</a> -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXED" title="g_cclosure_marshal_BOOLEAN__BOXED_BOXED ()">g_cclosure_marshal_BOOLEAN__BOXED_BOXED</a> - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>); -#define <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOL--BOXED-BOXED" title="g_cclosure_marshal_BOOL__BOXED_BOXED">g_cclosure_marshal_BOOL__BOXED_BOXED</a> - -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-generic-va" title="g_cclosure_marshal_generic_va ()">g_cclosure_marshal_generic_va</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args_list</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VOIDv" title="g_cclosure_marshal_VOID__VOIDv ()">g_cclosure_marshal_VOID__VOIDv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEANv" title="g_cclosure_marshal_VOID__BOOLEANv ()">g_cclosure_marshal_VOID__BOOLEANv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--CHARv" title="g_cclosure_marshal_VOID__CHARv ()">g_cclosure_marshal_VOID__CHARv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UCHARv" title="g_cclosure_marshal_VOID__UCHARv ()">g_cclosure_marshal_VOID__UCHARv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--INTv" title="g_cclosure_marshal_VOID__INTv ()">g_cclosure_marshal_VOID__INTv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINTv" title="g_cclosure_marshal_VOID__UINTv ()">g_cclosure_marshal_VOID__UINTv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--LONGv" title="g_cclosure_marshal_VOID__LONGv ()">g_cclosure_marshal_VOID__LONGv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ULONGv" title="g_cclosure_marshal_VOID__ULONGv ()">g_cclosure_marshal_VOID__ULONGv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--ENUMv" title="g_cclosure_marshal_VOID__ENUMv ()">g_cclosure_marshal_VOID__ENUMv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGSv" title="g_cclosure_marshal_VOID__FLAGSv ()">g_cclosure_marshal_VOID__FLAGSv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--FLOATv" title="g_cclosure_marshal_VOID__FLOATv ()">g_cclosure_marshal_VOID__FLOATv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLEv" title="g_cclosure_marshal_VOID__DOUBLEv ()">g_cclosure_marshal_VOID__DOUBLEv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--STRINGv" title="g_cclosure_marshal_VOID__STRINGv ()">g_cclosure_marshal_VOID__STRINGv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--PARAMv" title="g_cclosure_marshal_VOID__PARAMv ()">g_cclosure_marshal_VOID__PARAMv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--BOXEDv" title="g_cclosure_marshal_VOID__BOXEDv ()">g_cclosure_marshal_VOID__BOXEDv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--POINTERv" title="g_cclosure_marshal_VOID__POINTERv ()">g_cclosure_marshal_VOID__POINTERv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECTv" title="g_cclosure_marshal_VOID__OBJECTv ()">g_cclosure_marshal_VOID__OBJECTv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANTv" title="g_cclosure_marshal_VOID__VARIANTv ()">g_cclosure_marshal_VOID__VARIANTv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTERv" title="g_cclosure_marshal_STRING__OBJECT_POINTERv ()">g_cclosure_marshal_STRING__OBJECT_POINTERv</a> - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTERv" title="g_cclosure_marshal_VOID__UINT_POINTERv ()">g_cclosure_marshal_VOID__UINT_POINTERv</a> - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGSv" title="g_cclosure_marshal_BOOLEAN__FLAGSv ()">g_cclosure_marshal_BOOLEAN__FLAGSv</a> (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXEDv" title="g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv ()">g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv</a> - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Closures.description"></a><h2>Description</h2> -<p> -A <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> represents a callback supplied by the programmer. It -will generally comprise a function of some kind and a marshaller -used to call it. It is the reponsibility of the marshaller to -convert the arguments for the invocation from <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s into -a suitable form, perform the callback on the converted arguments, -and transform the return value back into a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<p> -In the case of C programs, a closure usually just holds a pointer -to a function and maybe a data argument, and the marshaller -converts between <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> and native C types. The GObject -library provides the <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> type for this purpose. Bindings for -other languages need marshallers which convert between <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s and suitable representations in the runtime of the language in -order to use functions written in that languages as callbacks. -</p> -<p> -Within GObject, closures play an important role in the -implementation of signals. When a signal is registered, the -<em class="parameter"><code>c_marshaller</code></em> argument to <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> specifies the default C -marshaller for any closure which is connected to this -signal. GObject provides a number of C marshallers for this -purpose, see the g_cclosure_marshal_*() functions. Additional C -marshallers can be generated with the <a href="glib-genmarshal.html">glib-genmarshal</a> utility. Closures -can be explicitly connected to signals with -<a class="link" href="gobject-Signals.html#g-signal-connect-closure" title="g_signal_connect_closure ()"><code class="function">g_signal_connect_closure()</code></a>, but it usually more convenient to let -GObject create a closure automatically by using one of the -g_signal_connect_*() functions which take a callback function/user -data pair. -</p> -<p> -Using closures has a number of important advantages over a simple -callback function/data pointer combination: -</p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> -Closures allow the callee to get the types of the callback parameters, -which means that language bindings don't have to write individual glue -for each callback type. -</p></li> -<li class="listitem"><p> -The reference counting of <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> makes it easy to handle reentrancy -right; if a callback is removed while it is being invoked, the closure -and its parameters won't be freed until the invocation finishes. -</p></li> -<li class="listitem"><p> -<a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> and invalidation notifiers allow callbacks to be -automatically removed when the objects they point to go away. -</p></li> -</ul></div> -<p> -</p> -</div> -<div class="refsect1"> -<a name="gobject-Closures.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="G-CLOSURE-NEEDS-MARSHAL:CAPS"></a><h3>G_CLOSURE_NEEDS_MARSHAL()</h3> -<pre class="programlisting">#define G_CLOSURE_NEEDS_MARSHAL(closure) (((GClosure*) (closure))->marshal == NULL) -</pre> -<p> -Check if the closure still needs a marshaller. See <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()"><code class="function">g_closure_set_marshal()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshaller has not yet been set on -<em class="parameter"><code>closure</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-CLOSURE-N-NOTIFIERS:CAPS"></a><h3>G_CLOSURE_N_NOTIFIERS()</h3> -<pre class="programlisting">#define G_CLOSURE_N_NOTIFIERS(cl)</pre> -<p> -Get the total number of notifiers connected with the closure <em class="parameter"><code>cl</code></em>. -The count includes the meta marshaller, the finalize and invalidate notifiers -and the marshal guards. Note that each guard counts as two notifiers. -See <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>, <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()"><code class="function">g_closure_add_finalize_notifier()</code></a>, -<a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()"><code class="function">g_closure_add_invalidate_notifier()</code></a> and <a class="link" href="gobject-Closures.html#g-closure-add-marshal-guards" title="g_closure_add_marshal_guards ()"><code class="function">g_closure_add_marshal_guards()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>cl</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>number of notifiers</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-CCLOSURE-SWAP-DATA:CAPS"></a><h3>G_CCLOSURE_SWAP_DATA()</h3> -<pre class="programlisting">#define G_CCLOSURE_SWAP_DATA(cclosure) (((GClosure*) (cclosure))->derivative_flag) -</pre> -<p> -Checks whether the user data of the <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> should be passed as the -first parameter to the callback. See <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()"><code class="function">g_cclosure_new_swap()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>cclosure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if data has to be swapped.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-CALLBACK:CAPS"></a><h3>G_CALLBACK()</h3> -<pre class="programlisting">#define G_CALLBACK(f) ((GCallback) (f)) -</pre> -<p> -Cast a function pointer to a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>f</code></em> :</span></p></td> -<td>a function pointer.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GCallback"></a><h3>GCallback ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GCallback) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -The type used for callback functions in structure definitions and function -signatures. This doesn't mean that all callback functions must take no -parameters and return void. The required signature of a callback function -is determined by the context in which is used (e.g. the signal to which it -is connected). Use <a class="link" href="gobject-Closures.html#G-CALLBACK:CAPS" title="G_CALLBACK()"><code class="function">G_CALLBACK()</code></a> to cast the callback function to a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GClosure"></a><h3>struct GClosure</h3> -<pre class="programlisting">struct GClosure { - volatile guint in_marshal : 1; - volatile guint is_invalid : 1; -}; -</pre> -<p> -A <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> represents a callback supplied by the programmer. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term">volatile <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GClosure.in-marshal"></a>in_marshal</code></em> : 1;</span></p></td> -<td>Indicates whether the closure is currently being invoked with -<a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term">volatile <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GClosure.is-invalid"></a>is_invalid</code></em> : 1;</span></p></td> -<td>Indicates whether the closure has been invalidated by -<a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CLOSURE:CAPS"></a><h3>G_TYPE_CLOSURE</h3> -<pre class="programlisting">#define G_TYPE_CLOSURE (g_closure_get_type ()) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GCClosure"></a><h3>struct GCClosure</h3> -<pre class="programlisting">struct GCClosure { - GClosure closure; - gpointer callback; -}; -</pre> -<p> -A <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> is a specialization of <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> for C function callbacks. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> <em class="structfield"><code><a name="GCClosure.closure"></a>closure</code></em>;</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GCClosure.callback"></a>callback</code></em>;</span></p></td> -<td>the callback function</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GClosureMarshal"></a><h3>GClosureMarshal ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GClosureMarshal) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -The type used for marshaller functions. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to store the return -value. May be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the callback of <em class="parameter"><code>closure</code></em> doesn't return a -value. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>the length of the <em class="parameter"><code>param_values</code></em> array</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>an array of -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s holding the arguments on which to invoke the -callback of <em class="parameter"><code>closure</code></em>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_param_values]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the -last argument to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when -registering the marshaller, see <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()"><code class="function">g_closure_set_marshal()</code></a> and -<a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GVaClosureMarshal"></a><h3>GVaClosureMarshal ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GVaClosureMarshal) (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="GClosureNotify"></a><h3>GClosureNotify ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GClosureNotify) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre> -<p> -The type used for the various notification callbacks which can be registered -on closures. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data specified when registering the notification callback</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> on which the notification is emitted</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-new"></a><h3>g_cclosure_new ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);</pre> -<p> -Creates a new closure which invokes <em class="parameter"><code>callback_func</code></em> with <em class="parameter"><code>user_data</code></em> as -the last parameter. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td> -<td>the function to invoke</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data to pass to <em class="parameter"><code>callback_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td> -<td>destroy notify to be called when <em class="parameter"><code>user_data</code></em> is no longer used</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-new-swap"></a><h3>g_cclosure_new_swap ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new_swap (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>);</pre> -<p> -Creates a new closure which invokes <em class="parameter"><code>callback_func</code></em> with <em class="parameter"><code>user_data</code></em> as -the first parameter. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td> -<td>the function to invoke</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data to pass to <em class="parameter"><code>callback_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td> -<td>destroy notify to be called when <em class="parameter"><code>user_data</code></em> is no longer used</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-new-object"></a><h3>g_cclosure_new_object ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new_object (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -A variant of <a class="link" href="gobject-Closures.html#g-cclosure-new" title="g_cclosure_new ()"><code class="function">g_cclosure_new()</code></a> which uses <em class="parameter"><code>object</code></em> as <em class="parameter"><code>user_data</code></em> and -calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on <em class="parameter"><code>object</code></em> and the created -closure. This function is useful when you have a callback closely -associated with a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, and want the callback to no longer run -after the object is is freed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td> -<td>the function to invoke</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to pass to <em class="parameter"><code>callback_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-new-object-swap"></a><h3>g_cclosure_new_object_swap ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_cclosure_new_object_swap (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> callback_func</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -A variant of <a class="link" href="gobject-Closures.html#g-cclosure-new-swap" title="g_cclosure_new_swap ()"><code class="function">g_cclosure_new_swap()</code></a> which uses <em class="parameter"><code>object</code></em> as <em class="parameter"><code>user_data</code></em> -and calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on <em class="parameter"><code>object</code></em> and the created -closure. This function is useful when you have a callback closely -associated with a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, and want the callback to no longer run -after the object is is freed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>callback_func</code></em> :</span></p></td> -<td>the function to invoke</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to pass to <em class="parameter"><code>callback_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-generic"></a><h3>g_cclosure_marshal_generic ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_generic (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_gvalue</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A generic marshaller function implemented via <a class="ulink" href="http://sourceware.org/libffi/" target="_top">libffi</a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_gvalue</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to store the return value. May be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -if the callback of closure doesn't return a value.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>The length of the <em class="parameter"><code>param_values</code></em> array.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>An array of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s holding the arguments -on which to invoke the callback of closure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>The invocation hint given as the last argument to -<a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>Additional data specified when registering the -marshaller, see <a class="link" href="gobject-Closures.html#g-closure-set-marshal" title="g_closure_set_marshal ()"><code class="function">g_closure_set_marshal()</code></a> and -<a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.30</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-new-object"></a><h3>g_closure_new_object ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_closure_new_object (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -A variant of <a class="link" href="gobject-Closures.html#g-closure-new-simple" title="g_closure_new_simple ()"><code class="function">g_closure_new_simple()</code></a> which stores <em class="parameter"><code>object</code></em> in the -<em class="parameter"><code>data</code></em> field of the closure and calls <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> on -<em class="parameter"><code>object</code></em> and the created closure. This function is mainly useful -when implementing new types of closures. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>sizeof_closure</code></em> :</span></p></td> -<td>the size of the structure to allocate, must be at least -<code class="literal">sizeof (GClosure)</code> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> pointer to store in the <em class="parameter"><code>data</code></em> field of the newly -allocated <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-ref"></a><h3>g_closure_ref ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_closure_ref (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre> -<p> -Increments the reference count on a closure to force it staying -alive while the caller holds a pointer to it. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to increment the reference count on</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The <em class="parameter"><code>closure</code></em> passed in, for convenience. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-sink"></a><h3>g_closure_sink ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_sink (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre> -<p> -Takes over the initial ownership of a closure. Each closure is -initially created in a <em class="firstterm">floating</em> state, which -means that the initial reference count is not owned by any caller. -<a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> checks to see if the object is still floating, and -if so, unsets the floating state and decreases the reference -count. If the closure is not floating, <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> does -nothing. The reason for the existence of the floating state is to -prevent cumbersome code sequences like: -</p> -<div class="informalexample"><pre class="programlisting"> -closure = g_cclosure_new (cb_func, cb_data); -g_source_set_closure (source, closure); -g_closure_unref (closure); // XXX GObject doesn't really need this -</pre></div> -<p> -Because <a class="link" href="gobject-Closures.html#g-source-set-closure" title="g_source_set_closure ()"><code class="function">g_source_set_closure()</code></a> (and similar functions) take ownership of the -initial reference count, if it is unowned, we instead can write: -</p> -<div class="informalexample"><pre class="programlisting"> -g_source_set_closure (source, g_cclosure_new (cb_func, cb_data)); -</pre></div> -<p> -</p> -<p> -Generally, this function is used together with <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a>. Ane example -of storing a closure for later notification looks like: -</p> -<div class="informalexample"><pre class="programlisting"> -static GClosure *notify_closure = NULL; -void -foo_notify_set_closure (GClosure *closure) -{ - if (notify_closure) - g_closure_unref (notify_closure); - notify_closure = closure; - if (notify_closure) - { - g_closure_ref (notify_closure); - g_closure_sink (notify_closure); - } -} -</pre></div> -<p> -</p> -<p> -Because <a class="link" href="gobject-Closures.html#g-closure-sink" title="g_closure_sink ()"><code class="function">g_closure_sink()</code></a> may decrement the reference count of a closure -(if it hasn't been called on <em class="parameter"><code>closure</code></em> yet) just like <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()"><code class="function">g_closure_unref()</code></a>, -<a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a> should be called prior to this function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to decrement the initial reference count on, if it's -still being held</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-unref"></a><h3>g_closure_unref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_unref (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre> -<p> -Decrements the reference count of a closure after it was previously -incremented by the same caller. If no other callers are using the -closure, then the closure will be destroyed and freed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to decrement the reference count on</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-invoke"></a><h3>g_closure_invoke ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_invoke (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>);</pre> -<p> -Invokes the closure, i.e. executes the callback represented by the <em class="parameter"><code>closure</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to store the return -value. May be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the callback of <em class="parameter"><code>closure</code></em> -doesn't return a value. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>the length of the <em class="parameter"><code>param_values</code></em> array</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>an array of -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s holding the arguments on which to -invoke the callback of <em class="parameter"><code>closure</code></em>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_param_values]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>a context-dependent invocation hint. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-invalidate"></a><h3>g_closure_invalidate ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_invalidate (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre> -<p> -Sets a flag on the closure to indicate that its calling -environment has become invalid, and thus causes any future -invocations of <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> on this <em class="parameter"><code>closure</code></em> to be -ignored. Also, invalidation notifiers installed on the closure will -be called at this point. Note that unless you are holding a -reference to the closure yourself, the invalidation notifiers may -unref the closure and cause it to be destroyed, so if you need to -access the closure after calling <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>, make sure -that you've previously called <a class="link" href="gobject-Closures.html#g-closure-ref" title="g_closure_ref ()"><code class="function">g_closure_ref()</code></a>. -</p> -<p> -Note that <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> will also be called when the -reference count of a closure drops to zero (unless it has already -been invalidated before). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>GClosure to invalidate</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-add-finalize-notifier"></a><h3>g_closure_add_finalize_notifier ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_finalize_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre> -<p> -Registers a finalization notifier which will be called when the -reference count of <em class="parameter"><code>closure</code></em> goes down to 0. Multiple finalization -notifiers on a single closure are invoked in unspecified order. If -a single call to <a class="link" href="gobject-Closures.html#g-closure-unref" title="g_closure_unref ()"><code class="function">g_closure_unref()</code></a> results in the closure being -both invalidated and finalized, then the invalidate notifiers will -be run before the finalize notifiers. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>notify_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td> -<td>the callback function to register</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-add-invalidate-notifier"></a><h3>g_closure_add_invalidate_notifier ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_invalidate_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre> -<p> -Registers an invalidation notifier which will be called when the -<em class="parameter"><code>closure</code></em> is invalidated with <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a>. Invalidation -notifiers are invoked before finalization notifiers, in an -unspecified order. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>notify_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td> -<td>the callback function to register</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-remove-finalize-notifier"></a><h3>g_closure_remove_finalize_notifier ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_remove_finalize_notifier (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre> -<p> -Removes a finalization notifier. -</p> -<p> -Notice that notifiers are automatically removed after they are run. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td> -<td>data which was passed to <a class="link" href="gobject-Closures.html#g-closure-add-finalize-notifier" title="g_closure_add_finalize_notifier ()"><code class="function">g_closure_add_finalize_notifier()</code></a> -when registering <em class="parameter"><code>notify_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td> -<td>the callback function to remove</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-remove-invalidate-notifier"></a><h3>g_closure_remove_invalidate_notifier ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_remove_invalidate_notifier - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> notify_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> notify_func</code></em>);</pre> -<p> -Removes an invalidation notifier. -</p> -<p> -Notice that notifiers are automatically removed after they are run. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_data</code></em> :</span></p></td> -<td>data which was passed to <a class="link" href="gobject-Closures.html#g-closure-add-invalidate-notifier" title="g_closure_add_invalidate_notifier ()"><code class="function">g_closure_add_invalidate_notifier()</code></a> -when registering <em class="parameter"><code>notify_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify_func</code></em> :</span></p></td> -<td>the callback function to remove</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-new-simple"></a><h3>g_closure_new_simple ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_closure_new_simple (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> sizeof_closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Allocates a struct of the given size and initializes the initial -part as a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a>. This function is mainly useful when -implementing new types of closures. -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -typedef struct _MyClosure MyClosure; -struct _MyClosure -{ - GClosure closure; - // extra data goes here -}; - -static void -my_closure_finalize (gpointer notify_data, - GClosure *closure) -{ - MyClosure *my_closure = (MyClosure *)closure; - - // free extra data here -} - -MyClosure *my_closure_new (gpointer data) -{ - GClosure *closure; - MyClosure *my_closure; - - closure = g_closure_new_simple (sizeof (MyClosure), data); - my_closure = (MyClosure *) closure; - - // initialize extra data here - - g_closure_add_finalize_notifier (closure, notify_data, - my_closure_finalize); - return my_closure; -} -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>sizeof_closure</code></em> :</span></p></td> -<td>the size of the structure to allocate, must be at least -<code class="literal">sizeof (GClosure)</code> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to store in the <em class="parameter"><code>data</code></em> field of the newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly allocated <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-set-marshal"></a><h3>g_closure_set_marshal ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_set_marshal (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> marshal</code></em>);</pre> -<p> -Sets the marshaller of <em class="parameter"><code>closure</code></em>. The <code class="literal">marshal_data</code> -of <em class="parameter"><code>marshal</code></em> provides a way for a meta marshaller to provide additional -information to the marshaller. (See <a class="link" href="gobject-Closures.html#g-closure-set-meta-marshal" title="g_closure_set_meta_marshal ()"><code class="function">g_closure_set_meta_marshal()</code></a>.) For -GObject's C predefined marshallers (the g_cclosure_marshal_*() -functions), what it provides is a callback function to use instead of -<em class="parameter"><code>closure->callback</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> function</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-add-marshal-guards"></a><h3>g_closure_add_marshal_guards ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_add_marshal_guards (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> pre_marshal_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> pre_marshal_notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> post_marshal_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> post_marshal_notify</code></em>);</pre> -<p> -Adds a pair of notifiers which get invoked before and after the -closure callback, respectively. This is typically used to protect -the extra arguments for the duration of the callback. See -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()"><code class="function">g_object_watch_closure()</code></a> for an example of marshal guards. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pre_marshal_data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>pre_marshal_notify</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pre_marshal_notify</code></em> :</span></p></td> -<td>a function to call before the closure callback</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>post_marshal_data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>post_marshal_notify</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>post_marshal_notify</code></em> :</span></p></td> -<td>a function to call after the closure callback</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-closure-set-meta-marshal"></a><h3>g_closure_set_meta_marshal ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_closure_set_meta_marshal (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> meta_marshal</code></em>);</pre> -<p> -Sets the meta marshaller of <em class="parameter"><code>closure</code></em>. A meta marshaller wraps -<em class="parameter"><code>closure->marshal</code></em> and modifies the way it is called in some -fashion. The most common use of this facility is for C callbacks. -The same marshallers (generated by <a href="glib-genmarshal.html">glib-genmarshal</a>) are used -everywhere, but the way that we get the callback function -differs. In most cases we want to use <em class="parameter"><code>closure->callback</code></em>, but in -other cases we want to use some different technique to retrieve the -callback function. -</p> -<p> -For example, class closures for signals (see -<a class="link" href="gobject-Signals.html#g-signal-type-cclosure-new" title="g_signal_type_cclosure_new ()"><code class="function">g_signal_type_cclosure_new()</code></a>) retrieve the callback function from a -fixed offset in the class structure. The meta marshaller retrieves -the right callback and passes it to the marshaller as the -<em class="parameter"><code>marshal_data</code></em> argument. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>context-dependent data to pass to <em class="parameter"><code>meta_marshal</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>meta_marshal</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> function</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-source-set-closure"></a><h3>g_source_set_closure ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_closure (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre> -<p> -Set the callback for a source as a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a>. -</p> -<p> -If the source is not one of the standard GLib types, the <em class="parameter"><code>closure_callback</code></em> -and <em class="parameter"><code>closure_marshal</code></em> fields of the <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSourceFuncs"><span class="type">GSourceFuncs</span></a> structure must have been -filled in with pointers to appropriate functions. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td> -<td>the source</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-source-set-dummy-callback"></a><h3>g_source_set_dummy_callback ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_source_set_dummy_callback (<em class="parameter"><code><a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSource"><span class="type">GSource</span></a> *source</code></em>);</pre> -<p> -Sets a dummy callback for <em class="parameter"><code>source</code></em>. The callback will do nothing, and -if the source expects a <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> return value, it will return <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. -(If the source expects any other type of return value, it will return -a 0/<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value; whatever <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a> initializes a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to for -that type.) -</p> -<p> -If the source is not one of the standard GLib types, the -<em class="parameter"><code>closure_callback</code></em> and <em class="parameter"><code>closure_marshal</code></em> fields of the <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GSourceFuncs"><span class="type">GSourceFuncs</span></a> -structure must have been filled in with pointers to appropriate -functions. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td> -<td>the source</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--VOID"></a><h3>g_cclosure_marshal_VOID__VOID ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__VOID (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>1</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding only the instance</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--BOOLEAN"></a><h3>g_cclosure_marshal_VOID__BOOLEAN ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOOLEAN (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gboolean arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--CHAR"></a><h3>g_cclosure_marshal_VOID__CHAR ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__CHAR (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gchar arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--UCHAR"></a><h3>g_cclosure_marshal_VOID__UCHAR ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UCHAR (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, guchar arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--INT"></a><h3>g_cclosure_marshal_VOID__INT ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__INT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--UINT"></a><h3>g_cclosure_marshal_VOID__UINT ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, guint arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--LONG"></a><h3>g_cclosure_marshal_VOID__LONG ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__LONG (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, glong arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--ULONG"></a><h3>g_cclosure_marshal_VOID__ULONG ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ULONG (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gulong arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--ENUM"></a><h3>g_cclosure_marshal_VOID__ENUM ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ENUM (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter denotes an enumeration type.. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the enumeration parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--FLAGS"></a><h3>g_cclosure_marshal_VOID__FLAGS ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLAGS (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter denotes a flags type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the flags parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--FLOAT"></a><h3>g_cclosure_marshal_VOID__FLOAT ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLOAT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gfloat arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--DOUBLE"></a><h3>g_cclosure_marshal_VOID__DOUBLE ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__DOUBLE (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gdouble arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--STRING"></a><h3>g_cclosure_marshal_VOID__STRING ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__STRING (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--PARAM"></a><h3>g_cclosure_marshal_VOID__PARAM ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__PARAM (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>* parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--BOXED"></a><h3>g_cclosure_marshal_VOID__BOXED ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOXED (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <span class="type">GBoxed</span>* parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--POINTER"></a><h3>g_cclosure_marshal_VOID__POINTER ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__POINTER (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, gpointer arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--OBJECT"></a><h3>g_cclosure_marshal_VOID__OBJECT ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__OBJECT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, GObject *arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>* parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--VARIANT"></a><h3>g_cclosure_marshal_VOID__VARIANT ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__VARIANT (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, GVariant *arg1, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding the instance and the <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>* parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-STRING--OBJECT-POINTER"></a><h3>g_cclosure_marshal_STRING__OBJECT_POINTER ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_STRING__OBJECT_POINTER - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, which can store the returned string</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>3</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance, arg1 and arg2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--UINT-POINTER"></a><h3>g_cclosure_marshal_VOID__UINT_POINTER ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINT_POINTER - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data)</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>ignored</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>3</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance, arg1 and arg2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-BOOLEAN--FLAGS"></a><h3>g_cclosure_marshal_BOOLEAN__FLAGS ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_BOOLEAN__FLAGS (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -<p> -A marshaller for a <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> with a callback of type -<code class="literal">gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data)</code> where the <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> parameter -denotes a flags type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> to which the marshaller belongs</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> which can store the returned <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>2</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> array holding instance and arg1</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>invocation_hint</code></em> :</span></p></td> -<td>the invocation hint given as the last argument -to <a class="link" href="gobject-Closures.html#g-closure-invoke" title="g_closure_invoke ()"><code class="function">g_closure_invoke()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>marshal_data</code></em> :</span></p></td> -<td>additional data specified when registering the marshaller</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-BOOL--FLAGS"></a><h3>g_cclosure_marshal_BOOL__FLAGS</h3> -<pre class="programlisting">#define g_cclosure_marshal_BOOL__FLAGS</pre> -<p> -Another name for <a class="link" href="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS" title="g_cclosure_marshal_BOOLEAN__FLAGS ()"><code class="function">g_cclosure_marshal_BOOLEAN__FLAGS()</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-BOOLEAN--BOXED-BOXED"></a><h3>g_cclosure_marshal_BOOLEAN__BOXED_BOXED ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_BOOLEAN__BOXED_BOXED - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> invocation_hint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-BOOL--BOXED-BOXED"></a><h3>g_cclosure_marshal_BOOL__BOXED_BOXED</h3> -<pre class="programlisting">#define g_cclosure_marshal_BOOL__BOXED_BOXED</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-generic-va"></a><h3>g_cclosure_marshal_generic_va ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_generic_va (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args_list</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--VOIDv"></a><h3>g_cclosure_marshal_VOID__VOIDv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__VOIDv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--BOOLEANv"></a><h3>g_cclosure_marshal_VOID__BOOLEANv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOOLEANv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--CHARv"></a><h3>g_cclosure_marshal_VOID__CHARv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__CHARv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--UCHARv"></a><h3>g_cclosure_marshal_VOID__UCHARv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UCHARv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--INTv"></a><h3>g_cclosure_marshal_VOID__INTv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__INTv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--UINTv"></a><h3>g_cclosure_marshal_VOID__UINTv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINTv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--LONGv"></a><h3>g_cclosure_marshal_VOID__LONGv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__LONGv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--ULONGv"></a><h3>g_cclosure_marshal_VOID__ULONGv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ULONGv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--ENUMv"></a><h3>g_cclosure_marshal_VOID__ENUMv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__ENUMv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--FLAGSv"></a><h3>g_cclosure_marshal_VOID__FLAGSv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLAGSv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--FLOATv"></a><h3>g_cclosure_marshal_VOID__FLOATv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__FLOATv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--DOUBLEv"></a><h3>g_cclosure_marshal_VOID__DOUBLEv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__DOUBLEv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--STRINGv"></a><h3>g_cclosure_marshal_VOID__STRINGv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__STRINGv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--PARAMv"></a><h3>g_cclosure_marshal_VOID__PARAMv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__PARAMv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--BOXEDv"></a><h3>g_cclosure_marshal_VOID__BOXEDv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__BOXEDv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--POINTERv"></a><h3>g_cclosure_marshal_VOID__POINTERv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__POINTERv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--OBJECTv"></a><h3>g_cclosure_marshal_VOID__OBJECTv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__OBJECTv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--VARIANTv"></a><h3>g_cclosure_marshal_VOID__VARIANTv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__VARIANTv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-STRING--OBJECT-POINTERv"></a><h3>g_cclosure_marshal_STRING__OBJECT_POINTERv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_STRING__OBJECT_POINTERv - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-VOID--UINT-POINTERv"></a><h3>g_cclosure_marshal_VOID__UINT_POINTERv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_VOID__UINT_POINTERv - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-BOOLEAN--FLAGSv"></a><h3>g_cclosure_marshal_BOOLEAN__FLAGSv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_BOOLEAN__FLAGSv (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-cclosure-marshal-BOOLEAN--BOXED-BOXEDv"></a><h3>g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv - (<em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> marshal_data</code></em>, - <em class="parameter"><code><span class="type">int</span> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html deleted file mode 100644 index 5470054..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +++ /dev/null @@ -1,783 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Enumeration and Flag Types</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-The-Base-Object-Type.html" title="GObject"> -<link rel="next" href="gobject-Boxed-Types.html" title="Boxed Types"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-The-Base-Object-Type.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Boxed-Types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Enumeration-and-Flag-Types.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Enumeration-and-Flag-Types.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Enumeration-and-Flag-Types"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Enumeration-and-Flag-Types.top_of_page"></a>Enumeration and Flag Types</span></h2> -<p>Enumeration and Flag Types — Enumeration and flags types</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Enumeration-and-Flag-Types.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -struct <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass">GEnumClass</a>; -struct <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass">GFlagsClass</a>; -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE:CAPS" title="G_ENUM_CLASS_TYPE()">G_ENUM_CLASS_TYPE</a> (class) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE-NAME:CAPS" title="G_ENUM_CLASS_TYPE_NAME()">G_ENUM_CLASS_TYPE_NAME</a> (class) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-ENUM:CAPS" title="G_TYPE_IS_ENUM()">G_TYPE_IS_ENUM</a> (type) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS:CAPS" title="G_ENUM_CLASS()">G_ENUM_CLASS</a> (class) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-IS-ENUM-CLASS:CAPS" title="G_IS_ENUM_CLASS()">G_IS_ENUM_CLASS</a> (class) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-FLAGS:CAPS" title="G_TYPE_IS_FLAGS()">G_TYPE_IS_FLAGS</a> (type) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS:CAPS" title="G_FLAGS_CLASS()">G_FLAGS_CLASS</a> (class) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-IS-FLAGS-CLASS:CAPS" title="G_IS_FLAGS_CLASS()">G_IS_FLAGS_CLASS</a> (class) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE:CAPS" title="G_FLAGS_CLASS_TYPE()">G_FLAGS_CLASS_TYPE</a> (class) -#define <a class="link" href="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE-NAME:CAPS" title="G_FLAGS_CLASS_TYPE_NAME()">G_FLAGS_CLASS_TYPE_NAME</a> (class) -struct <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue">GEnumValue</a>; -struct <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue">GFlagsValue</a>; -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="returnvalue">GEnumValue</span></a> * <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value" title="g_enum_get_value ()">g_enum_get_value</a> (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>); -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="returnvalue">GEnumValue</span></a> * <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-name" title="g_enum_get_value_by_name ()">g_enum_get_value_by_name</a> (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="returnvalue">GEnumValue</span></a> * <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-nick" title="g_enum_get_value_by_nick ()">g_enum_get_value_by_nick</a> (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>); -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="returnvalue">GFlagsValue</span></a> * <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-first-value" title="g_flags_get_first_value ()">g_flags_get_first_value</a> (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>); -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="returnvalue">GFlagsValue</span></a> * <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-name" title="g_flags_get_value_by_name ()">g_flags_get_value_by_name</a> (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="returnvalue">GFlagsValue</span></a> * <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-nick" title="g_flags_get_value_by_nick ()">g_flags_get_value_by_nick</a> (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-register-static" title="g_enum_register_static ()">g_enum_register_static</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> *const_static_values</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-register-static" title="g_flags_register_static ()">g_flags_register_static</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> *const_static_values</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-complete-type-info" title="g_enum_complete_type_info ()">g_enum_complete_type_info</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_enum_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> *const_values</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-complete-type-info" title="g_flags_complete_type_info ()">g_flags_complete_type_info</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_flags_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> *const_values</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Enumeration-and-Flag-Types.description"></a><h2>Description</h2> -<p> -The GLib type system provides fundamental types for enumeration and -flags types. (Flags types are like enumerations, but allow their -values to be combined by bitwise or). A registered enumeration or -flags type associates a name and a nickname with each allowed -value, and the methods <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-name" title="g_enum_get_value_by_name ()"><code class="function">g_enum_get_value_by_name()</code></a>, -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-nick" title="g_enum_get_value_by_nick ()"><code class="function">g_enum_get_value_by_nick()</code></a>, <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-name" title="g_flags_get_value_by_name ()"><code class="function">g_flags_get_value_by_name()</code></a> and -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-nick" title="g_flags_get_value_by_nick ()"><code class="function">g_flags_get_value_by_nick()</code></a> can look up values by their name or -nickname. When an enumeration or flags type is registered with the -GLib type system, it can be used as value type for object -properties, using <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum" title="g_param_spec_enum ()"><code class="function">g_param_spec_enum()</code></a> or <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags" title="g_param_spec_flags ()"><code class="function">g_param_spec_flags()</code></a>. -</p> -<p> -GObject ships with a utility called <a href="glib-mkenums.html">glib-mkenums</a> that can construct -suitable type registration functions from C enumeration -definitions. -</p> -</div> -<div class="refsect1"> -<a name="gobject-Enumeration-and-Flag-Types.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GEnumClass"></a><h3>struct GEnumClass</h3> -<pre class="programlisting">struct GEnumClass { - GTypeClass g_type_class; - - gint minimum; - gint maximum; - guint n_values; - GEnumValue *values; -}; -</pre> -<p> -The class of an enumeration type holds information about its -possible values. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> <em class="structfield"><code><a name="GEnumClass.g-type-class"></a>g_type_class</code></em>;</span></p></td> -<td>the parent class</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GEnumClass.minimum"></a>minimum</code></em>;</span></p></td> -<td>the smallest possible value.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GEnumClass.maximum"></a>maximum</code></em>;</span></p></td> -<td>the largest possible value.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GEnumClass.n-values"></a>n_values</code></em>;</span></p></td> -<td>the number of possible values.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> *<em class="structfield"><code><a name="GEnumClass.values"></a>values</code></em>;</span></p></td> -<td>an array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> structs describing the -individual values.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GFlagsClass"></a><h3>struct GFlagsClass</h3> -<pre class="programlisting">struct GFlagsClass { - GTypeClass g_type_class; - - guint mask; - guint n_values; - GFlagsValue *values; -}; -</pre> -<p> -The class of a flags type holds information about its -possible values. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> <em class="structfield"><code><a name="GFlagsClass.g-type-class"></a>g_type_class</code></em>;</span></p></td> -<td>the parent class</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GFlagsClass.mask"></a>mask</code></em>;</span></p></td> -<td>a mask covering all possible values.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GFlagsClass.n-values"></a>n_values</code></em>;</span></p></td> -<td>the number of possible values.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> *<em class="structfield"><code><a name="GFlagsClass.values"></a>values</code></em>;</span></p></td> -<td>an array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> structs describing the -individual values.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-ENUM-CLASS-TYPE:CAPS"></a><h3>G_ENUM_CLASS_TYPE()</h3> -<pre class="programlisting">#define G_ENUM_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) -</pre> -<p> -Get the type identifier from a given <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-ENUM-CLASS-TYPE-NAME:CAPS"></a><h3>G_ENUM_CLASS_TYPE_NAME()</h3> -<pre class="programlisting">#define G_ENUM_CLASS_TYPE_NAME(class) (g_type_name (G_ENUM_CLASS_TYPE (class))) -</pre> -<p> -Get the static type name from a given <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the type name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-ENUM:CAPS"></a><h3>G_TYPE_IS_ENUM()</h3> -<pre class="programlisting">#define G_TYPE_IS_ENUM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_ENUM) -</pre> -<p> -Checks whether <em class="parameter"><code>type</code></em> "is a" <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> ID.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> "is a" <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-ENUM-CLASS:CAPS"></a><h3>G_ENUM_CLASS()</h3> -<pre class="programlisting">#define G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass)) -</pre> -<p> -Casts a derived <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> structure into a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-ENUM-CLASS:CAPS"></a><h3>G_IS_ENUM_CLASS()</h3> -<pre class="programlisting">#define G_IS_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ENUM)) -</pre> -<p> -Checks whether <em class="parameter"><code>class</code></em> "is a" valid <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> structure of type <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> -or derived. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-FLAGS:CAPS"></a><h3>G_TYPE_IS_FLAGS()</h3> -<pre class="programlisting">#define G_TYPE_IS_FLAGS(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_FLAGS) -</pre> -<p> -Checks whether <em class="parameter"><code>type</code></em> "is a" <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> ID.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>type</code></em> "is a" <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-FLAGS-CLASS:CAPS"></a><h3>G_FLAGS_CLASS()</h3> -<pre class="programlisting">#define G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass)) -</pre> -<p> -Casts a derived <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> structure into a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-FLAGS-CLASS:CAPS"></a><h3>G_IS_FLAGS_CLASS()</h3> -<pre class="programlisting">#define G_IS_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_FLAGS)) -</pre> -<p> -Checks whether <em class="parameter"><code>class</code></em> "is a" valid <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> structure of type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> -or derived. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-FLAGS-CLASS-TYPE:CAPS"></a><h3>G_FLAGS_CLASS_TYPE()</h3> -<pre class="programlisting">#define G_FLAGS_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) -</pre> -<p> -Get the type identifier from a given <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-FLAGS-CLASS-TYPE-NAME:CAPS"></a><h3>G_FLAGS_CLASS_TYPE_NAME()</h3> -<pre class="programlisting">#define G_FLAGS_CLASS_TYPE_NAME(class) (g_type_name (G_FLAGS_CLASS_TYPE (class))) -</pre> -<p> -Get the static type name from a given <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the type name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GEnumValue"></a><h3>struct GEnumValue</h3> -<pre class="programlisting">struct GEnumValue { - gint value; - const gchar *value_name; - const gchar *value_nick; -}; -</pre> -<p> -A structure which contains a single enum value, its name, and its -nickname. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GEnumValue.value"></a>value</code></em>;</span></p></td> -<td>the enum value</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GEnumValue.value-name"></a>value_name</code></em>;</span></p></td> -<td>the name of the value</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GEnumValue.value-nick"></a>value_nick</code></em>;</span></p></td> -<td>the nickname of the value</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GFlagsValue"></a><h3>struct GFlagsValue</h3> -<pre class="programlisting">struct GFlagsValue { - guint value; - const gchar *value_name; - const gchar *value_nick; -}; -</pre> -<p> -A structure which contains a single flags value, its name, and its -nickname. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GFlagsValue.value"></a>value</code></em>;</span></p></td> -<td>the flags value</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GFlagsValue.value-name"></a>value_name</code></em>;</span></p></td> -<td>the name of the value</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GFlagsValue.value-nick"></a>value_nick</code></em>;</span></p></td> -<td>the nickname of the value</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-enum-get-value"></a><h3>g_enum_get_value ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="returnvalue">GEnumValue</span></a> * g_enum_get_value (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre> -<p> -Returns the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> for a value. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>the value to look up</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> for <em class="parameter"><code>value</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>value</code></em> is not a -member of the enumeration</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-enum-get-value-by-name"></a><h3>g_enum_get_value_by_name ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="returnvalue">GEnumValue</span></a> * g_enum_get_value_by_name (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> -<p> -Looks up a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> by name. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the name to look up</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> with name <em class="parameter"><code>name</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the -enumeration doesn't have a member with that name</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-enum-get-value-by-nick"></a><h3>g_enum_get_value_by_nick ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="returnvalue">GEnumValue</span></a> * g_enum_get_value_by_nick (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *enum_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>);</pre> -<p> -Looks up a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> by nickname. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>enum_class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>the nickname to look up</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> with nickname <em class="parameter"><code>nick</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the -enumeration doesn't have a member with that nickname</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-flags-get-first-value"></a><h3>g_flags_get_first_value ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="returnvalue">GFlagsValue</span></a> * g_flags_get_first_value (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> value</code></em>);</pre> -<p> -Returns the first <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> which is set in <em class="parameter"><code>value</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>the value</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the first <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> which is set in <em class="parameter"><code>value</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if -none is set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-flags-get-value-by-name"></a><h3>g_flags_get_value_by_name ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="returnvalue">GFlagsValue</span></a> * g_flags_get_value_by_name (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> -<p> -Looks up a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> by name. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the name to look up</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> with name <em class="parameter"><code>name</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no -flag with that name</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-flags-get-value-by-nick"></a><h3>g_flags_get_value_by_nick ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="returnvalue">GFlagsValue</span></a> * g_flags_get_value_by_nick (<em class="parameter"><code><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *flags_class</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>);</pre> -<p> -Looks up a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> by nickname. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags_class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>the nickname to look up</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> with nickname <em class="parameter"><code>nick</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is -no flag with that nickname</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-enum-register-static"></a><h3>g_enum_register_static ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_enum_register_static (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> *const_static_values</code></em>);</pre> -<p> -Registers a new static enumeration type with the name <em class="parameter"><code>name</code></em>. -</p> -<p> -It is normally more convenient to let <a href="glib-mkenums.html">glib-mkenums</a> generate a -<code class="function">my_enum_get_type()</code> function from a usual C enumeration definition -than to write one yourself using <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-register-static" title="g_enum_register_static ()"><code class="function">g_enum_register_static()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>A nul-terminated string used as the name of the new type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>const_static_values</code></em> :</span></p></td> -<td>An array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> structs for the possible -enumeration values. The array is terminated by a struct with all -members being 0. GObject keeps a reference to the data, so it cannot -be stack-allocated.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The new type identifier.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-flags-register-static"></a><h3>g_flags_register_static ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_flags_register_static (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> *const_static_values</code></em>);</pre> -<p> -Registers a new static flags type with the name <em class="parameter"><code>name</code></em>. -</p> -<p> -It is normally more convenient to let <a href="glib-mkenums.html">glib-mkenums</a> generate a -<code class="function">my_flags_get_type()</code> function from a usual C enumeration definition -than to write one yourself using <a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-flags-register-static" title="g_flags_register_static ()"><code class="function">g_flags_register_static()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>A nul-terminated string used as the name of the new type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>const_static_values</code></em> :</span></p></td> -<td>An array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> structs for the possible -flags values. The array is terminated by a struct with all members being 0. -GObject keeps a reference to the data, so it cannot be stack-allocated.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The new type identifier.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-enum-complete-type-info"></a><h3>g_enum_complete_type_info ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_enum_complete_type_info (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_enum_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> *const_values</code></em>);</pre> -<p> -This function is meant to be called from the <code class="literal">complete_type_info</code> -function of a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> implementation, as in the following -example: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -static void -my_enum_complete_type_info (GTypePlugin *plugin, - GType g_type, - GTypeInfo *info, - GTypeValueTable *value_table) -{ - static const GEnumValue values[] = { - { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" }, - { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" }, - { 0, NULL, NULL } - }; - - g_enum_complete_type_info (type, info, values); -} -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_enum_type</code></em> :</span></p></td> -<td>the type identifier of the type being completed</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> struct to be filled in</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>const_values</code></em> :</span></p></td> -<td>An array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumValue" title="struct GEnumValue"><span class="type">GEnumValue</span></a> structs for the possible -enumeration values. The array is terminated by a struct with all -members being 0.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-flags-complete-type-info"></a><h3>g_flags_complete_type_info ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_flags_complete_type_info (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_flags_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> *const_values</code></em>);</pre> -<p> -This function is meant to be called from the <code class="function">complete_type_info()</code> -function of a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> implementation, see the example for -<a class="link" href="gobject-Enumeration-and-Flag-Types.html#g-enum-complete-type-info" title="g_enum_complete_type_info ()"><code class="function">g_enum_complete_type_info()</code></a> above. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_flags_type</code></em> :</span></p></td> -<td>the type identifier of the type being completed</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> struct to be filled in</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>const_values</code></em> :</span></p></td> -<td>An array of <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsValue" title="struct GFlagsValue"><span class="type">GFlagsValue</span></a> structs for the possible -enumeration values. The array is terminated by a struct with all -members being 0.</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="gobject-Enumeration-and-Flag-Types.see-also"></a><h2>See Also</h2> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum"><span class="type">GParamSpecEnum</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags"><span class="type">GParamSpecFlags</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum" title="g_param_spec_enum ()"><code class="function">g_param_spec_enum()</code></a>, -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags" title="g_param_spec_flags ()"><code class="function">g_param_spec_flags()</code></a> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-GParamSpec.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-GParamSpec.html deleted file mode 100644 index acdcaa3..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-GParamSpec.html +++ /dev/null @@ -1,1386 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GParamSpec</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values"> -<link rel="next" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Standard-Parameter-and-Value-Types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Varargs-Value-Collection.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-GParamSpec.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-GParamSpec.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-GParamSpec"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-GParamSpec.top_of_page"></a>GParamSpec</span></h2> -<p>GParamSpec — Metadata for parameter specifications</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-GParamSpec.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -#define <a class="link" href="gobject-GParamSpec.html#G-TYPE-IS-PARAM:CAPS" title="G_TYPE_IS_PARAM()">G_TYPE_IS_PARAM</a> (type) -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC:CAPS" title="G_PARAM_SPEC()">G_PARAM_SPEC</a> (pspec) -#define <a class="link" href="gobject-GParamSpec.html#G-IS-PARAM-SPEC:CAPS" title="G_IS_PARAM_SPEC()">G_IS_PARAM_SPEC</a> (pspec) -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-CLASS:CAPS" title="G_PARAM_SPEC_CLASS()">G_PARAM_SPEC_CLASS</a> (pclass) -#define <a class="link" href="gobject-GParamSpec.html#G-IS-PARAM-SPEC-CLASS:CAPS" title="G_IS_PARAM_SPEC_CLASS()">G_IS_PARAM_SPEC_CLASS</a> (pclass) -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-GET-CLASS:CAPS" title="G_PARAM_SPEC_GET_CLASS()">G_PARAM_SPEC_GET_CLASS</a> (pspec) -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-TYPE:CAPS" title="G_PARAM_SPEC_TYPE()">G_PARAM_SPEC_TYPE</a> (pspec) -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-TYPE-NAME:CAPS" title="G_PARAM_SPEC_TYPE_NAME()">G_PARAM_SPEC_TYPE_NAME</a> (pspec) -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-SPEC-VALUE-TYPE:CAPS" title="G_PARAM_SPEC_VALUE_TYPE()">G_PARAM_SPEC_VALUE_TYPE</a> (pspec) -struct <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec">GParamSpec</a>; -struct <a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass">GParamSpecClass</a>; -enum <a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags">GParamFlags</a>; -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-READWRITE:CAPS" title="G_PARAM_READWRITE">G_PARAM_READWRITE</a> -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-STATIC-STRINGS:CAPS" title="G_PARAM_STATIC_STRINGS">G_PARAM_STATIC_STRINGS</a> -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-MASK:CAPS" title="G_PARAM_MASK">G_PARAM_MASK</a> -#define <a class="link" href="gobject-GParamSpec.html#G-PARAM-USER-SHIFT:CAPS" title="G_PARAM_USER_SHIFT">G_PARAM_USER_SHIFT</a> -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-ref" title="g_param_spec_ref ()">g_param_spec_ref</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-GParamSpec.html#g-param-spec-unref" title="g_param_spec_unref ()">g_param_spec_unref</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-GParamSpec.html#g-param-spec-sink" title="g_param_spec_sink ()">g_param_spec_sink</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-ref-sink" title="g_param_spec_ref_sink ()">g_param_spec_ref_sink</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-GParamSpec.html#g-param-value-set-default" title="g_param_value_set_default ()">g_param_value_set_default</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-value-defaults" title="g_param_value_defaults ()">g_param_value_defaults</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-value-validate" title="g_param_value_validate ()">g_param_value_validate</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-value-convert" title="g_param_value_convert ()">g_param_value_convert</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strict_validation</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()">g_param_values_cmp</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value1</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value2</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-get-name" title="g_param_spec_get_name ()">g_param_spec_get_name</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-get-nick" title="g_param_spec_get_nick ()">g_param_spec_get_nick</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-get-blurb" title="g_param_spec_get_blurb ()">g_param_spec_get_blurb</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-spec-get-qdata" title="g_param_spec_get_qdata ()">g_param_spec_get_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata" title="g_param_spec_set_qdata ()">g_param_spec_set_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata-full" title="g_param_spec_set_qdata_full ()">g_param_spec_set_qdata_full</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-spec-steal-qdata" title="g_param_spec_steal_qdata ()">g_param_spec_steal_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-get-redirect-target" title="g_param_spec_get_redirect_target ()">g_param_spec_get_redirect_target</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()">g_param_spec_internal</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> param_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -struct <a class="link" href="gobject-GParamSpec.html#GParamSpecTypeInfo" title="struct GParamSpecTypeInfo">GParamSpecTypeInfo</a>; -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-GParamSpec.html#g-param-type-register-static" title="g_param_type_register_static ()">g_param_type_register_static</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-GParamSpec.html#GParamSpecTypeInfo" title="struct GParamSpecTypeInfo"><span class="type">GParamSpecTypeInfo</span></a> *pspec_info</code></em>); - <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool">GParamSpecPool</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="returnvalue">GParamSpecPool</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-new" title="g_param_spec_pool_new ()">g_param_spec_pool_new</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> type_prefixing</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-insert" title="g_param_spec_pool_insert ()">g_param_spec_pool_insert</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-remove" title="g_param_spec_pool_remove ()">g_param_spec_pool_remove</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-lookup" title="g_param_spec_pool_lookup ()">g_param_spec_pool_lookup</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *param_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> walk_ancestors</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** <a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-list" title="g_param_spec_pool_list ()">g_param_spec_pool_list</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_pspecs_p</code></em>); -<a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gobject-GParamSpec.html#g-param-spec-pool-list-owned" title="g_param_spec_pool_list_owned ()">g_param_spec_pool_list_owned</a> (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-GParamSpec.description"></a><h2>Description</h2> -<p> -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is an object structure that encapsulates the metadata -required to specify parameters, such as e.g. <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties. -</p> -<p> -</p> -<p><a name="canonical-parameter-name"></a> -Parameter names need to start with a letter (a-z or A-Z). Subsequent -characters can be letters, numbers or a '-'. -All other characters are replaced by a '-' during construction. -The result of this replacement is called the canonical name of the -parameter. -</p> -<p> -</p> -</div> -<div class="refsect1"> -<a name="gobject-GParamSpec.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="G-TYPE-IS-PARAM:CAPS"></a><h3>G_TYPE_IS_PARAM()</h3> -<pre class="programlisting">#define G_TYPE_IS_PARAM(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_PARAM) -</pre> -<p> -Checks whether <em class="parameter"><code>type</code></em> "is a" <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> ID</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC:CAPS"></a><h3>G_PARAM_SPEC()</h3> -<pre class="programlisting">#define G_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM, GParamSpec)) -</pre> -<p> -Casts a derived <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> object (e.g. of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a>) into -a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC:CAPS"></a><h3>G_IS_PARAM_SPEC()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM)) -</pre> -<p> -Checks whether <em class="parameter"><code>pspec</code></em> "is a" valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> structure of type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -or derived. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-CLASS:CAPS"></a><h3>G_PARAM_SPEC_CLASS()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_CLASS(pclass) (G_TYPE_CHECK_CLASS_CAST ((pclass), G_TYPE_PARAM, GParamSpecClass)) -</pre> -<p> -Casts a derived <a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass"><span class="type">GParamSpecClass</span></a> structure into a <a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass"><span class="type">GParamSpecClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pclass</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass"><span class="type">GParamSpecClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-CLASS:CAPS"></a><h3>G_IS_PARAM_SPEC_CLASS()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_CLASS(pclass) (G_TYPE_CHECK_CLASS_TYPE ((pclass), G_TYPE_PARAM)) -</pre> -<p> -Checks whether <em class="parameter"><code>pclass</code></em> "is a" valid <a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass"><span class="type">GParamSpecClass</span></a> structure of type -<a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> or derived. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pclass</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass"><span class="type">GParamSpecClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-GET-CLASS:CAPS"></a><h3>G_PARAM_SPEC_GET_CLASS()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_GET_CLASS(pspec) (G_TYPE_INSTANCE_GET_CLASS ((pspec), G_TYPE_PARAM, GParamSpecClass)) -</pre> -<p> -Retrieves the <a class="link" href="gobject-GParamSpec.html#GParamSpecClass" title="struct GParamSpecClass"><span class="type">GParamSpecClass</span></a> of a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-TYPE:CAPS"></a><h3>G_PARAM_SPEC_TYPE()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_TYPE(pspec) (G_TYPE_FROM_INSTANCE (pspec)) -</pre> -<p> -Retrieves the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of this <em class="parameter"><code>pspec</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-TYPE-NAME:CAPS"></a><h3>G_PARAM_SPEC_TYPE_NAME()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_TYPE_NAME(pspec) (g_type_name (G_PARAM_SPEC_TYPE (pspec))) -</pre> -<p> -Retrieves the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> name of this <em class="parameter"><code>pspec</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-VALUE-TYPE:CAPS"></a><h3>G_PARAM_SPEC_VALUE_TYPE()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_VALUE_TYPE(pspec) (G_PARAM_SPEC (pspec)->value_type) -</pre> -<p> -Retrieves the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> to initialize a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> for this parameter. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpec"></a><h3>struct GParamSpec</h3> -<pre class="programlisting">struct GParamSpec { - GTypeInstance g_type_instance; - - const gchar *name; /* interned string */ - GParamFlags flags; - GType value_type; - GType owner_type; /* class or interface using this property */ -}; -</pre> -<p> -All other fields of the <span class="structname">GParamSpec</span> struct are private and -should not be used directly. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> <em class="structfield"><code><a name="GParamSpec.g-type-instance"></a>g_type_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GParamSpec.name"></a>name</code></em>;</span></p></td> -<td>name of this parameter: always an interned string</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> <em class="structfield"><code><a name="GParamSpec.flags"></a>flags</code></em>;</span></p></td> -<td> -<a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags for this parameter</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GParamSpec.value-type"></a>value_type</code></em>;</span></p></td> -<td>the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> type for this parameter</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GParamSpec.owner-type"></a>owner_type</code></em>;</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type that uses (introduces) this parameter</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecClass"></a><h3>struct GParamSpecClass</h3> -<pre class="programlisting">struct GParamSpecClass { - GTypeClass g_type_class; - - GType value_type; - - void (*finalize) (GParamSpec *pspec); - - /* GParam methods */ - void (*value_set_default) (GParamSpec *pspec, - GValue *value); - gboolean (*value_validate) (GParamSpec *pspec, - GValue *value); - gint (*values_cmp) (GParamSpec *pspec, - const GValue *value1, - const GValue *value2); -}; -</pre> -<p> -The class structure for the <span class="structname">GParamSpec</span> type. -Normally, <span class="structname">GParamSpec</span> classes are filled by -<a class="link" href="gobject-GParamSpec.html#g-param-type-register-static" title="g_param_type_register_static ()"><code class="function">g_param_type_register_static()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> <em class="structfield"><code><a name="GParamSpecClass.g-type-class"></a>g_type_class</code></em>;</span></p></td> -<td>the parent class</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GParamSpecClass.value-type"></a>value_type</code></em>;</span></p></td> -<td>the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> type for this parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecClass.finalize"></a>finalize</code></em> ()</span></p></td> -<td>The instance finalization function (optional), should chain -up to the finalize method of the parent class.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecClass.value-set-default"></a>value_set_default</code></em> ()</span></p></td> -<td>Resets a <em class="parameter"><code>value</code></em> to the default value for this type -(recommended, the default is <a class="link" href="gobject-Generic-values.html#g-value-reset" title="g_value_reset ()"><code class="function">g_value_reset()</code></a>), see -<a class="link" href="gobject-GParamSpec.html#g-param-value-set-default" title="g_param_value_set_default ()"><code class="function">g_param_value_set_default()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecClass.value-validate"></a>value_validate</code></em> ()</span></p></td> -<td>Ensures that the contents of <em class="parameter"><code>value</code></em> comply with the -specifications set out by this type (optional), see -<a class="link" href="gobject-GParamSpec.html#g-param-value-validate" title="g_param_value_validate ()"><code class="function">g_param_value_validate()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecClass.values-cmp"></a>values_cmp</code></em> ()</span></p></td> -<td>Compares <em class="parameter"><code>value1</code></em> with <em class="parameter"><code>value2</code></em> according to this type -(recommended, the default is <code class="function">memcmp()</code>), see <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()"><code class="function">g_param_values_cmp()</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GParamFlags"></a><h3>enum GParamFlags</h3> -<pre class="programlisting">typedef enum { - G_PARAM_READABLE = 1 << 0, - G_PARAM_WRITABLE = 1 << 1, - G_PARAM_CONSTRUCT = 1 << 2, - G_PARAM_CONSTRUCT_ONLY = 1 << 3, - G_PARAM_LAX_VALIDATION = 1 << 4, - G_PARAM_STATIC_NAME = 1 << 5, -#ifndef G_DISABLE_DEPRECATED - G_PARAM_PRIVATE = G_PARAM_STATIC_NAME, -#endif - G_PARAM_STATIC_NICK = 1 << 6, - G_PARAM_STATIC_BLURB = 1 << 7, - /* User defined flags go up to 30 */ - G_PARAM_DEPRECATED = 1 << 31 -} GParamFlags; -</pre> -<p> -Through the <a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flag values, certain aspects of parameters -can be configured. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-PARAM-READABLE:CAPS"></a><span class="term"><code class="literal">G_PARAM_READABLE</code></span></p></td> -<td>the parameter is readable -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-WRITABLE:CAPS"></a><span class="term"><code class="literal">G_PARAM_WRITABLE</code></span></p></td> -<td>the parameter is writable -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-CONSTRUCT:CAPS"></a><span class="term"><code class="literal">G_PARAM_CONSTRUCT</code></span></p></td> -<td>the parameter will be set upon object construction -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-CONSTRUCT-ONLY:CAPS"></a><span class="term"><code class="literal">G_PARAM_CONSTRUCT_ONLY</code></span></p></td> -<td>the parameter will only be set upon object construction -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-LAX-VALIDATION:CAPS"></a><span class="term"><code class="literal">G_PARAM_LAX_VALIDATION</code></span></p></td> -<td>upon parameter conversion (see <a class="link" href="gobject-GParamSpec.html#g-param-value-convert" title="g_param_value_convert ()"><code class="function">g_param_value_convert()</code></a>) - strict validation is not required -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-STATIC-NAME:CAPS"></a><span class="term"><code class="literal">G_PARAM_STATIC_NAME</code></span></p></td> -<td>the string used as name when constructing the - parameter is guaranteed to remain valid and - unmodified for the lifetime of the parameter. - Since 2.8 -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-PRIVATE:CAPS"></a><span class="term"><code class="literal">G_PARAM_PRIVATE</code></span></p></td> -<td>internal -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-STATIC-NICK:CAPS"></a><span class="term"><code class="literal">G_PARAM_STATIC_NICK</code></span></p></td> -<td>the string used as nick when constructing the - parameter is guaranteed to remain valid and - unmmodified for the lifetime of the parameter. - Since 2.8 -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-STATIC-BLURB:CAPS"></a><span class="term"><code class="literal">G_PARAM_STATIC_BLURB</code></span></p></td> -<td>the string used as blurb when constructing the - parameter is guaranteed to remain valid and - unmodified for the lifetime of the parameter. - Since 2.8 -</td> -</tr> -<tr> -<td><p><a name="G-PARAM-DEPRECATED:CAPS"></a><span class="term"><code class="literal">G_PARAM_DEPRECATED</code></span></p></td> -<td>the parameter is deprecated and will be removed - in a future version. A warning will be generated if it is used - while running with G_ENABLE_DIAGNOSTIC=1. - Since 2.26 -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-READWRITE:CAPS"></a><h3>G_PARAM_READWRITE</h3> -<pre class="programlisting">#define G_PARAM_READWRITE (G_PARAM_READABLE | G_PARAM_WRITABLE) -</pre> -<p> -<a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> value alias for <a class="link" href="gobject-GParamSpec.html#G-PARAM-READABLE:CAPS"><code class="literal">G_PARAM_READABLE</code></a> | <a class="link" href="gobject-GParamSpec.html#G-PARAM-WRITABLE:CAPS"><code class="literal">G_PARAM_WRITABLE</code></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-STATIC-STRINGS:CAPS"></a><h3>G_PARAM_STATIC_STRINGS</h3> -<pre class="programlisting">#define G_PARAM_STATIC_STRINGS (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB) -</pre> -<p> -<a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> value alias for <a class="link" href="gobject-GParamSpec.html#G-PARAM-STATIC-NAME:CAPS"><code class="literal">G_PARAM_STATIC_NAME</code></a> | <a class="link" href="gobject-GParamSpec.html#G-PARAM-STATIC-NICK:CAPS"><code class="literal">G_PARAM_STATIC_NICK</code></a> | <a class="link" href="gobject-GParamSpec.html#G-PARAM-STATIC-BLURB:CAPS"><code class="literal">G_PARAM_STATIC_BLURB</code></a>. -</p> -<p> -Since 2.13.0 -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-MASK:CAPS"></a><h3>G_PARAM_MASK</h3> -<pre class="programlisting">#define G_PARAM_MASK (0x000000ff) -</pre> -<p> -Mask containing the bits of <a class="link" href="gobject-GParamSpec.html#GParamSpec.flags"><span class="type">GParamSpec.flags</span></a> which are reserved for GLib. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-USER-SHIFT:CAPS"></a><h3>G_PARAM_USER_SHIFT</h3> -<pre class="programlisting">#define G_PARAM_USER_SHIFT (8) -</pre> -<p> -Minimum shift count to be used for user defined flags, to be stored in -<a class="link" href="gobject-GParamSpec.html#GParamSpec.flags"><span class="type">GParamSpec.flags</span></a>. The maximum allowed is 30 + G_PARAM_USER_SHIFT. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-ref"></a><h3>g_param_spec_ref ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_ref (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Increments the reference count of <em class="parameter"><code>pspec</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> that was passed into this function</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-unref"></a><h3>g_param_spec_unref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_param_spec_unref (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Decrements the reference count of a <em class="parameter"><code>pspec</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-sink"></a><h3>g_param_spec_sink ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_param_spec_sink (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -The initial reference count of a newly created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is 1, -even though no one has explicitly called <a class="link" href="gobject-GParamSpec.html#g-param-spec-ref" title="g_param_spec_ref ()"><code class="function">g_param_spec_ref()</code></a> on it -yet. So the initial reference count is flagged as "floating", until -someone calls <code class="literal">g_param_spec_ref (pspec); g_param_spec_sink -(pspec);</code> in sequence on it, taking over the initial -reference count (thus ending up with a <em class="parameter"><code>pspec</code></em> that has a reference -count of 1 still, but is not flagged "floating" anymore). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-ref-sink"></a><h3>g_param_spec_ref_sink ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_ref_sink (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Convenience function to ref and sink a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> that was passed into this function</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-value-set-default"></a><h3>g_param_value_set_default ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_param_value_set_default (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Sets <em class="parameter"><code>value</code></em> to its default value as specified in <em class="parameter"><code>pspec</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of correct type for <em class="parameter"><code>pspec</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-value-defaults"></a><h3>g_param_value_defaults ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_param_value_defaults (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Checks whether <em class="parameter"><code>value</code></em> contains the default value as specified in <em class="parameter"><code>pspec</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of correct type for <em class="parameter"><code>pspec</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether <em class="parameter"><code>value</code></em> contains the canonical default for this <em class="parameter"><code>pspec</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-value-validate"></a><h3>g_param_value_validate ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_param_value_validate (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Ensures that the contents of <em class="parameter"><code>value</code></em> comply with the specifications -set out by <em class="parameter"><code>pspec</code></em>. For example, a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a> might require -that integers stored in <em class="parameter"><code>value</code></em> may not be smaller than -42 and not be -greater than +42. If <em class="parameter"><code>value</code></em> contains an integer outside of this range, -it is modified accordingly, so the resulting value will fit into the -range -42 .. +42. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of correct type for <em class="parameter"><code>pspec</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether modifying <em class="parameter"><code>value</code></em> was necessary to ensure validity</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-value-convert"></a><h3>g_param_value_convert ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_param_value_convert (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> strict_validation</code></em>);</pre> -<p> -Transforms <em class="parameter"><code>src_value</code></em> into <em class="parameter"><code>dest_value</code></em> if possible, and then -validates <em class="parameter"><code>dest_value</code></em>, in order for it to conform to <em class="parameter"><code>pspec</code></em>. If -<em class="parameter"><code>strict_validation</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> this function will only succeed if the -transformed <em class="parameter"><code>dest_value</code></em> complied to <em class="parameter"><code>pspec</code></em> without modifications. -</p> -<p> -See also <a class="link" href="gobject-Generic-values.html#g-value-type-transformable" title="g_value_type_transformable ()"><code class="function">g_value_type_transformable()</code></a>, <a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()"><code class="function">g_value_transform()</code></a> and -<a class="link" href="gobject-GParamSpec.html#g-param-value-validate" title="g_param_value_validate ()"><code class="function">g_param_value_validate()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_value</code></em> :</span></p></td> -<td>souce <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_value</code></em> :</span></p></td> -<td>destination <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of correct type for <em class="parameter"><code>pspec</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>strict_validation</code></em> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> requires <em class="parameter"><code>dest_value</code></em> to conform to <em class="parameter"><code>pspec</code></em> -without modifications</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if transformation and validation were successful, -<a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise and <em class="parameter"><code>dest_value</code></em> is left untouched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-values-cmp"></a><h3>g_param_values_cmp ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> g_param_values_cmp (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value1</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value2</code></em>);</pre> -<p> -Compares <em class="parameter"><code>value1</code></em> with <em class="parameter"><code>value2</code></em> according to <em class="parameter"><code>pspec</code></em>, and return -1, 0 or +1, -if <em class="parameter"><code>value1</code></em> is found to be less than, equal to or greater than <em class="parameter"><code>value2</code></em>, -respectively. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value1</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of correct type for <em class="parameter"><code>pspec</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value2</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of correct type for <em class="parameter"><code>pspec</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>-1, 0 or +1, for a less than, equal to or greater than result</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-get-name"></a><h3>g_param_spec_get_name ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_param_spec_get_name (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Get the name of a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. -</p> -<p> -The name is always an "interned" string (as per <a href="./../glib/glib/glib-Quarks.html#g-intern-string"><code class="function">g_intern_string()</code></a>). -This allows for pointer-value comparisons. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the name of <em class="parameter"><code>pspec</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-get-nick"></a><h3>g_param_spec_get_nick ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_param_spec_get_nick (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Get the nickname of a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the nickname of <em class="parameter"><code>pspec</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-get-blurb"></a><h3>g_param_spec_get_blurb ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_param_spec_get_blurb (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Get the short description of a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the short description of <em class="parameter"><code>pspec</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-get-qdata"></a><h3>g_param_spec_get_qdata ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_param_spec_get_qdata (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre> -<p> -Gets back user data pointers stored via <a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata" title="g_param_spec_set_qdata ()"><code class="function">g_param_spec_set_qdata()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the user data pointer set, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-set-qdata"></a><h3>g_param_spec_set_qdata ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_param_spec_set_qdata (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Sets an opaque, named pointer on a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. The name is -specified through a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> (retrieved e.g. via -<a href="./../glib/glib/glib-Quarks.html#g-quark-from-static-string"><code class="function">g_quark_from_static_string()</code></a>), and the pointer can be gotten back -from the <em class="parameter"><code>pspec</code></em> with <a class="link" href="gobject-GParamSpec.html#g-param-spec-get-qdata" title="g_param_spec_get_qdata ()"><code class="function">g_param_spec_get_qdata()</code></a>. Setting a -previously set user data pointer, overrides (frees) the old pointer -set, using <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as pointer essentially removes the data stored. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to set store a user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>an opaque user data pointer</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-set-qdata-full"></a><h3>g_param_spec_set_qdata_full ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_param_spec_set_qdata_full (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre> -<p> -This function works like <a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata" title="g_param_spec_set_qdata ()"><code class="function">g_param_spec_set_qdata()</code></a>, but in addition, -a <code class="literal">void (*destroy) (gpointer)</code> function may be -specified which is called with <em class="parameter"><code>data</code></em> as argument when the <em class="parameter"><code>pspec</code></em> is -finalized, or the data is being overwritten by a call to -<a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata" title="g_param_spec_set_qdata ()"><code class="function">g_param_spec_set_qdata()</code></a> with the same <em class="parameter"><code>quark</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to set store a user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>an opaque user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td> -<td>function to invoke with <em class="parameter"><code>data</code></em> as argument, when <em class="parameter"><code>data</code></em> needs to -be freed</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-steal-qdata"></a><h3>g_param_spec_steal_qdata ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_param_spec_steal_qdata (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre> -<p> -Gets back user data pointers stored via <a class="link" href="gobject-GParamSpec.html#g-param-spec-set-qdata" title="g_param_spec_set_qdata ()"><code class="function">g_param_spec_set_qdata()</code></a> -and removes the <em class="parameter"><code>data</code></em> from <em class="parameter"><code>pspec</code></em> without invoking its <code class="function">destroy()</code> -function (if any was set). Usually, calling this function is only -required to update user data pointers with a destroy notifier. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to get a stored user data pointer from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the user data pointer set, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-get-redirect-target"></a><h3>g_param_spec_get_redirect_target ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_get_redirect_target (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -If the paramspec redirects operations to another paramspec, -returns that paramspec. Redirect is used typically for -providing a new implementation of a property in a derived -type while preserving all the properties from the parent -type. Redirection is established by creating a property -of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>. See <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()"><code class="function">g_object_class_override_property()</code></a> -for an example of the use of this capability. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>paramspec to which requests on this -paramspec should be redirected, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-internal"></a><h3>g_param_spec_internal ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_param_spec_internal (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> param_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance. -</p> -<p> -A property name consists of segments consisting of ASCII letters and -digits, separated by either the '-' or '_' character. The first -character of a property name must be a letter. Names which violate these -rules lead to undefined behaviour. -</p> -<p> -When creating and looking up a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>, either separator can be -used, but they cannot be mixed. Using '-' is considerably more -efficient and in fact required when using property names as detail -strings for signals. -</p> -<p> -Beyond the name, <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s have two more descriptive -strings associated with them, the <em class="parameter"><code>nick</code></em>, which should be suitable -for use as a label for the property in a property editor, and the -<em class="parameter"><code>blurb</code></em>, which should be a somewhat longer description, suitable for -e.g. a tooltip. The <em class="parameter"><code>nick</code></em> and <em class="parameter"><code>blurb</code></em> should ideally be localized. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> for the property; must be derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><span class="type">G_TYPE_PARAM</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the canonical name of the property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>the nickname of the property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>a short description of the property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>a combination of <a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly allocated <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecTypeInfo"></a><h3>struct GParamSpecTypeInfo</h3> -<pre class="programlisting">struct GParamSpecTypeInfo { - /* type system portion */ - guint16 instance_size; /* obligatory */ - guint16 n_preallocs; /* optional */ - void (*instance_init) (GParamSpec *pspec); /* optional */ - - /* class portion */ - GType value_type; /* obligatory */ - void (*finalize) (GParamSpec *pspec); /* optional */ - void (*value_set_default) (GParamSpec *pspec, /* recommended */ - GValue *value); - gboolean (*value_validate) (GParamSpec *pspec, /* optional */ - GValue *value); - gint (*values_cmp) (GParamSpec *pspec, /* recommended */ - const GValue *value1, - const GValue *value2); -}; -</pre> -<p> -This structure is used to provide the type system with the information -required to initialize and destruct (finalize) a parameter's class and -instances thereof. -The initialized structure is passed to the <a class="link" href="gobject-GParamSpec.html#g-param-type-register-static" title="g_param_type_register_static ()"><code class="function">g_param_type_register_static()</code></a> -The type system will perform a deep copy of this structure, so its memory -does not need to be persistent across invocation of -<a class="link" href="gobject-GParamSpec.html#g-param-type-register-static" title="g_param_type_register_static ()"><code class="function">g_param_type_register_static()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GParamSpecTypeInfo.instance-size"></a>instance_size</code></em>;</span></p></td> -<td>Size of the instance (object) structure.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GParamSpecTypeInfo.n-preallocs"></a>n_preallocs</code></em>;</span></p></td> -<td>Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the <a href="./../glib/glib/glib-Memory-Slices.html">slice allocator</a> now.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecTypeInfo.instance-init"></a>instance_init</code></em> ()</span></p></td> -<td>Location of the instance initialization function (optional).</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GParamSpecTypeInfo.value-type"></a>value_type</code></em>;</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of values conforming to this <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecTypeInfo.finalize"></a>finalize</code></em> ()</span></p></td> -<td>The instance finalization function (optional).</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecTypeInfo.value-set-default"></a>value_set_default</code></em> ()</span></p></td> -<td>Resets a <em class="parameter"><code>value</code></em> to the default value for <em class="parameter"><code>pspec</code></em> -(recommended, the default is <a class="link" href="gobject-Generic-values.html#g-value-reset" title="g_value_reset ()"><code class="function">g_value_reset()</code></a>), see -<a class="link" href="gobject-GParamSpec.html#g-param-value-set-default" title="g_param_value_set_default ()"><code class="function">g_param_value_set_default()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecTypeInfo.value-validate"></a>value_validate</code></em> ()</span></p></td> -<td>Ensures that the contents of <em class="parameter"><code>value</code></em> comply with the -specifications set out by <em class="parameter"><code>pspec</code></em> (optional), see -<a class="link" href="gobject-GParamSpec.html#g-param-value-validate" title="g_param_value_validate ()"><code class="function">g_param_value_validate()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GParamSpecTypeInfo.values-cmp"></a>values_cmp</code></em> ()</span></p></td> -<td>Compares <em class="parameter"><code>value1</code></em> with <em class="parameter"><code>value2</code></em> according to <em class="parameter"><code>pspec</code></em> -(recommended, the default is <code class="function">memcmp()</code>), see <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()"><code class="function">g_param_values_cmp()</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-type-register-static"></a><h3>g_param_type_register_static ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_param_type_register_static (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-GParamSpec.html#GParamSpecTypeInfo" title="struct GParamSpecTypeInfo"><span class="type">GParamSpecTypeInfo</span></a> *pspec_info</code></em>);</pre> -<p> -Registers <em class="parameter"><code>name</code></em> as the name of a new static type derived from -<a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><span class="type">G_TYPE_PARAM</span></a>. The type system uses the information contained in -the <a class="link" href="gobject-GParamSpec.html#GParamSpecTypeInfo" title="struct GParamSpecTypeInfo"><span class="type">GParamSpecTypeInfo</span></a> structure pointed to by <em class="parameter"><code>info</code></em> to manage the -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> type and its instances. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>0-terminated string used as the name of the new <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec_info</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-GParamSpec.html#GParamSpecTypeInfo" title="struct GParamSpecTypeInfo"><span class="type">GParamSpecTypeInfo</span></a> for this <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The new type identifier.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecPool"></a><h3>GParamSpecPool</h3> -<pre class="programlisting">typedef struct _GParamSpecPool GParamSpecPool;</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> maintains a collection of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s which can be -quickly accessed by owner and name. The implementation of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> property -system uses such a pool to store the <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpecs</span></a> of the properties all object -types. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-pool-new"></a><h3>g_param_spec_pool_new ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="returnvalue">GParamSpecPool</span></a> * g_param_spec_pool_new (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> type_prefixing</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a>. -</p> -<p> -If <em class="parameter"><code>type_prefixing</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, lookups in the newly created pool will -allow to specify the owner as a colon-separated prefix of the -property name, like "GtkContainer:border-width". This feature is -deprecated, so you should always set <em class="parameter"><code>type_prefixing</code></em> to <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_prefixing</code></em> :</span></p></td> -<td>Whether the pool will support type-prefixed property names.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly allocated <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-pool-insert"></a><h3>g_param_spec_pool_insert ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_param_spec_pool_insert (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>);</pre> -<p> -Inserts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> in the pool. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pool</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to insert</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>owner_type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifying the owner of <em class="parameter"><code>pspec</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-pool-remove"></a><h3>g_param_spec_pool_remove ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_param_spec_pool_remove (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Removes a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> from the pool. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pool</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to remove</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-pool-lookup"></a><h3>g_param_spec_pool_lookup ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_pool_lookup (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *param_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> walk_ancestors</code></em>);</pre> -<p> -Looks up a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> in the pool. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pool</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_name</code></em> :</span></p></td> -<td>the name to look for</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>owner_type</code></em> :</span></p></td> -<td>the owner to look for</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>walk_ancestors</code></em> :</span></p></td> -<td>If <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, also try to find a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> with <em class="parameter"><code>param_name</code></em> -owned by an ancestor of <em class="parameter"><code>owner_type</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The found <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no -matching <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> was found. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-pool-list"></a><h3>g_param_spec_pool_list ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** g_param_spec_pool_list (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_pspecs_p</code></em>);</pre> -<p> -Gets an array of all <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s owned by <em class="parameter"><code>owner_type</code></em> in -the pool. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pool</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>owner_type</code></em> :</span></p></td> -<td>the owner to look for</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_pspecs_p</code></em> :</span></p></td> -<td>return location for the length of the returned array. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly -allocated array containing pointers to all <a href="gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpecs</span></a> -owned by <em class="parameter"><code>owner_type</code></em> in the pool. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_pspecs_p][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-pool-list-owned"></a><h3>g_param_spec_pool_list_owned ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * g_param_spec_pool_list_owned (<em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> *pool</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> owner_type</code></em>);</pre> -<p> -Gets an <a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of all <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s owned by <em class="parameter"><code>owner_type</code></em> in -the pool. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pool</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpecPool" title="GParamSpecPool"><span class="type">GParamSpecPool</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>owner_type</code></em> :</span></p></td> -<td>the owner to look for</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a -<a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of all <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s owned by <em class="parameter"><code>owner_type</code></em> in -the pool<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s. <span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GObject.ParamSpec]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="gobject-GParamSpec.see-also"></a><h2>See Also</h2> -g_object_class_install_property(), <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()"><code class="function">g_object_set()</code></a>, - <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a>, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()"><code class="function">g_object_set_property()</code></a>, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-property" title="g_object_get_property ()"><code class="function">g_object_get_property()</code></a>, - <a class="link" href="gobject-Generic-values.html#g-value-register-transform-func" title="g_value_register_transform_func ()"><code class="function">g_value_register_transform_func()</code></a> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Generic-values.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Generic-values.html deleted file mode 100644 index 03e5279..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Generic-values.html +++ /dev/null @@ -1,705 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Generic values</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Boxed-Types.html" title="Boxed Types"> -<link rel="next" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Boxed-Types.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Standard-Parameter-and-Value-Types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Generic-values.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Generic-values.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Generic-values"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Generic-values.top_of_page"></a>Generic values</span></h2> -<p>Generic values — A polymorphic type that can hold values of any - other type</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Generic-values.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -#define <a class="link" href="gobject-Generic-values.html#G-VALUE-INIT:CAPS" title="G_VALUE_INIT">G_VALUE_INIT</a> -#define <a class="link" href="gobject-Generic-values.html#G-VALUE-HOLDS:CAPS" title="G_VALUE_HOLDS()">G_VALUE_HOLDS</a> (value, - type) -#define <a class="link" href="gobject-Generic-values.html#G-VALUE-TYPE:CAPS" title="G_VALUE_TYPE()">G_VALUE_TYPE</a> (value) -#define <a class="link" href="gobject-Generic-values.html#G-VALUE-TYPE-NAME:CAPS" title="G_VALUE_TYPE_NAME()">G_VALUE_TYPE_NAME</a> (value) -#define <a class="link" href="gobject-Generic-values.html#G-TYPE-IS-VALUE:CAPS" title="G_TYPE_IS_VALUE()">G_TYPE_IS_VALUE</a> (type) -#define <a class="link" href="gobject-Generic-values.html#G-TYPE-IS-VALUE-ABSTRACT:CAPS" title="G_TYPE_IS_VALUE_ABSTRACT()">G_TYPE_IS_VALUE_ABSTRACT</a> (type) -#define <a class="link" href="gobject-Generic-values.html#G-IS-VALUE:CAPS" title="G_IS_VALUE()">G_IS_VALUE</a> (value) - <a class="link" href="gobject-Generic-values.html#GValue" title="GValue">GValue</a>; -#define <a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE:CAPS" title="G_TYPE_VALUE">G_TYPE_VALUE</a> -#define <a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY">G_TYPE_VALUE_ARRAY</a> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="returnvalue">GValue</span></a> * <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()">g_value_init</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Generic-values.html#g-value-copy" title="g_value_copy ()">g_value_copy</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>); -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="returnvalue">GValue</span></a> * <a class="link" href="gobject-Generic-values.html#g-value-reset" title="g_value_reset ()">g_value_reset</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Generic-values.html#g-value-unset" title="g_value_unset ()">g_value_unset</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Generic-values.html#g-value-set-instance" title="g_value_set_instance ()">g_value_set_instance</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Generic-values.html#g-value-fits-pointer" title="g_value_fits_pointer ()">g_value_fits_pointer</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Generic-values.html#g-value-peek-pointer" title="g_value_peek_pointer ()">g_value_peek_pointer</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Generic-values.html#g-value-type-compatible" title="g_value_type_compatible ()">g_value_type_compatible</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> src_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> dest_type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Generic-values.html#g-value-type-transformable" title="g_value_type_transformable ()">g_value_type_transformable</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> src_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> dest_type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()">g_value_transform</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Generic-values.html#GValueTransform" title="GValueTransform ()">*GValueTransform</a>) (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Generic-values.html#g-value-register-transform-func" title="g_value_register_transform_func ()">g_value_register_transform_func</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> src_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> dest_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValueTransform" title="GValueTransform ()"><span class="type">GValueTransform</span></a> transform_func</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-Generic-values.html#g-strdup-value-contents" title="g_strdup_value_contents ()">g_strdup_value_contents</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Generic-values.description"></a><h2>Description</h2> -<p> -The <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure is basically a variable container that consists -of a type identifier and a specific value of that type. -The type identifier within a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure always determines the -type of the associated value. -To create a undefined <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure, simply create a zero-filled -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure. To initialize the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, use the <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a> -function. A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> cannot be used until it is initialized. -The basic type operations (such as freeing and copying) are determined -by the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> associated with the type ID stored in the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -Other <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> operations (such as converting values between types) are -provided by this interface. -</p> -<p> -The code in the example program below demonstrates <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>'s -features. -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -#include <glib-object.h> - -static void -int2string (const GValue *src_value, - GValue *dest_value) -{ - if (g_value_get_int (src_value) == 42) - g_value_set_static_string (dest_value, "An important number"); - else - g_value_set_static_string (dest_value, "What's that?"); -} - -int -main (int argc, - char *argv[]) -{ - /* GValues must be initialized */ - GValue a = G_VALUE_INIT; - GValue b = G_VALUE_INIT; - const gchar *message; - - g_type_init (); - - /* The GValue starts empty */ - g_assert (!G_VALUE_HOLDS_STRING (&a)); - - /* Put a string in it */ - g_value_init (&a, G_TYPE_STRING); - g_assert (G_VALUE_HOLDS_STRING (&a)); - g_value_set_static_string (&a, "Hello, world!"); - g_printf ("%s\n", g_value_get_string (&a)); - - /* Reset it to its pristine state */ - g_value_unset (&a); - - /* It can then be reused for another type */ - g_value_init (&a, G_TYPE_INT); - g_value_set_int (&a, 42); - - /* Attempt to transform it into a GValue of type STRING */ - g_value_init (&b, G_TYPE_STRING); - - /* An INT is transformable to a STRING */ - g_assert (g_value_type_transformable (G_TYPE_INT, G_TYPE_STRING)); - - g_value_transform (&a, &b); - g_printf ("%s\n", g_value_get_string (&b)); - - /* Attempt to transform it again using a custom transform function */ - g_value_register_transform_func (G_TYPE_INT, G_TYPE_STRING, int2string); - g_value_transform (&a, &b); - g_printf ("%s\n", g_value_get_string (&b)); - return 0; -} -</pre></div> -<p> -</p> -</div> -<div class="refsect1"> -<a name="gobject-Generic-values.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="G-VALUE-INIT:CAPS"></a><h3>G_VALUE_INIT</h3> -<pre class="programlisting">#define G_VALUE_INIT { 0, { { 0 } } } -</pre> -<p> -A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> must be initialized before it can be used. -This macro can be used as initializer instead of an explicit -<code class="literal">{ 0 }</code> when declaring a variable, -but it cannot be assigned to a variable. -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - GValue value = G_VALUE_INIT; -</pre></div> -<p> -</p> -<p class="since">Since 2.30</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS:CAPS"></a><h3>G_VALUE_HOLDS()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS(value,type) (G_TYPE_CHECK_VALUE_TYPE ((value), (type))) -</pre> -<p> -Checks if <em class="parameter"><code>value</code></em> holds (or contains) a value of <em class="parameter"><code>type</code></em>. -This macro will also check for <em class="parameter"><code>value</code></em> != <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> and issue a -warning if the check fails. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> holds the <em class="parameter"><code>type</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-TYPE:CAPS"></a><h3>G_VALUE_TYPE()</h3> -<pre class="programlisting">#define G_VALUE_TYPE(value) (((GValue*) (value))->g_type) -</pre> -<p> -Get the type identifier of <em class="parameter"><code>value</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-TYPE-NAME:CAPS"></a><h3>G_VALUE_TYPE_NAME()</h3> -<pre class="programlisting">#define G_VALUE_TYPE_NAME(value) (g_type_name (G_VALUE_TYPE (value))) -</pre> -<p> -Gets the the type name of <em class="parameter"><code>value</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the type name.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-VALUE:CAPS"></a><h3>G_TYPE_IS_VALUE()</h3> -<pre class="programlisting">#define G_TYPE_IS_VALUE(type) (g_type_check_is_value_type (type)) -</pre> -<p> -Checks whether the passed in type ID can be used for <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a>. -That is, this macro checks whether this type provides an implementation -of the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> functions required for a type to create a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Whether <em class="parameter"><code>type</code></em> is suitable as a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> type.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-VALUE-ABSTRACT:CAPS"></a><h3>G_TYPE_IS_VALUE_ABSTRACT()</h3> -<pre class="programlisting">#define G_TYPE_IS_VALUE_ABSTRACT(type) (g_type_test_flags ((type), G_TYPE_FLAG_VALUE_ABSTRACT)) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is an abstract value type. An abstract value type introduces -a value table, but can't be used for <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a> and is normally used as -an abstract base type for derived value types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-VALUE:CAPS"></a><h3>G_IS_VALUE()</h3> -<pre class="programlisting">#define G_IS_VALUE(value) (G_TYPE_CHECK_VALUE (value)) -</pre> -<p> -Checks if <em class="parameter"><code>value</code></em> is a valid and initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GValue"></a><h3>GValue</h3> -<pre class="programlisting">typedef struct { -} GValue; -</pre> -<p> -An opaque structure used to hold different types of values. -The data within the structure has protected scope: it is accessible only -to functions within a <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> structure, or implementations of -the g_value_*() API. That is, code portions which implement new fundamental -types. -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> users cannot make any assumptions about how data is stored -within the 2 element <em class="parameter"><code>data</code></em> union, and the <em class="parameter"><code>g_type</code></em> member should -only be accessed through the <a class="link" href="gobject-Generic-values.html#G-VALUE-TYPE:CAPS" title="G_VALUE_TYPE()"><code class="function">G_VALUE_TYPE()</code></a> macro. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-VALUE:CAPS"></a><h3>G_TYPE_VALUE</h3> -<pre class="programlisting">#define G_TYPE_VALUE (g_value_get_type ()) -</pre> -<p> -The type ID of the "GValue" type which is a boxed type, -used to pass around pointers to GValues. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-VALUE-ARRAY:CAPS"></a><h3>G_TYPE_VALUE_ARRAY</h3> -<pre class="programlisting">#define G_TYPE_VALUE_ARRAY (g_value_array_get_type ()) -</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">G_TYPE_VALUE_ARRAY</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> instead of <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a></p> -</div> -<p> -The type ID of the "GValueArray" type which is a boxed type, -used to pass around pointers to GValueArrays. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-init"></a><h3>g_value_init ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="returnvalue">GValue</span></a> * g_value_init (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>);</pre> -<p> -Initializes <em class="parameter"><code>value</code></em> with the default value of <em class="parameter"><code>type</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>A zero-filled (uninitialized) <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>Type the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> should hold values of.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure that has been passed in. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-copy"></a><h3>g_value_copy ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_copy (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>);</pre> -<p> -Copies the value of <em class="parameter"><code>src_value</code></em> into <em class="parameter"><code>dest_value</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_value</code></em> :</span></p></td> -<td>An initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_value</code></em> :</span></p></td> -<td>An initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure of the same type as <em class="parameter"><code>src_value</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-reset"></a><h3>g_value_reset ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="returnvalue">GValue</span></a> * g_value_reset (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Clears the current value in <em class="parameter"><code>value</code></em> and resets it to the default value -(as if the value had just been initialized). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>An initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure that has been passed in</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-unset"></a><h3>g_value_unset ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_unset (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Clears the current value in <em class="parameter"><code>value</code></em> and "unsets" the type, -this releases all resources associated with this GValue. -An unset value is the same as an uninitialized (zero-filled) -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>An initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-instance"></a><h3>g_value_set_instance ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_instance (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>);</pre> -<p> -Sets <em class="parameter"><code>value</code></em> from an instantiatable type via the -value_table's <code class="function">collect_value()</code> function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>An initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-fits-pointer"></a><h3>g_value_fits_pointer ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_value_fits_pointer (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Determines if <em class="parameter"><code>value</code></em> will fit inside the size of a pointer value. -This is an internal function introduced mainly for C marshallers. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>An initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>value</code></em> will fit inside a pointer value.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-peek-pointer"></a><h3>g_value_peek_pointer ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_value_peek_pointer (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>An initialized <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the value contents as pointer. This -function asserts that <a class="link" href="gobject-Generic-values.html#g-value-fits-pointer" title="g_value_fits_pointer ()"><code class="function">g_value_fits_pointer()</code></a> returned <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for the -passed in value. This is an internal function introduced mainly -for C marshallers. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-type-compatible"></a><h3>g_value_type_compatible ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_value_type_compatible (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> src_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> dest_type</code></em>);</pre> -<p> -Returns whether a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <em class="parameter"><code>src_type</code></em> can be copied into -a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <em class="parameter"><code>dest_type</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_type</code></em> :</span></p></td> -<td>source type to be copied.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_type</code></em> :</span></p></td> -<td>destination type for copying.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <a class="link" href="gobject-Generic-values.html#g-value-copy" title="g_value_copy ()"><code class="function">g_value_copy()</code></a> is possible with <em class="parameter"><code>src_type</code></em> and <em class="parameter"><code>dest_type</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-type-transformable"></a><h3>g_value_type_transformable ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_value_type_transformable (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> src_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> dest_type</code></em>);</pre> -<p> -Check whether <a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()"><code class="function">g_value_transform()</code></a> is able to transform values -of type <em class="parameter"><code>src_type</code></em> into values of type <em class="parameter"><code>dest_type</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_type</code></em> :</span></p></td> -<td>Source type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_type</code></em> :</span></p></td> -<td>Target type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the transformation is possible, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-transform"></a><h3>g_value_transform ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_value_transform (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>);</pre> -<p> -Tries to cast the contents of <em class="parameter"><code>src_value</code></em> into a type appropriate -to store in <em class="parameter"><code>dest_value</code></em>, e.g. to transform a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> value -into a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> value. Performing transformations between -value types might incur precision lossage. Especially -transformations into strings might reveal seemingly arbitrary -results and shouldn't be relied upon for production code (such -as rcfile value or object property serialization). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_value</code></em> :</span></p></td> -<td>Source value.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_value</code></em> :</span></p></td> -<td>Target value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Whether a transformation rule was found and could be applied. -Upon failing transformations, <em class="parameter"><code>dest_value</code></em> is left untouched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GValueTransform"></a><h3>GValueTransform ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GValueTransform) (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *src_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *dest_value</code></em>);</pre> -<p> -The type of value transformation functions which can be registered with -<a class="link" href="gobject-Generic-values.html#g-value-register-transform-func" title="g_value_register_transform_func ()"><code class="function">g_value_register_transform_func()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_value</code></em> :</span></p></td> -<td>Source value.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_value</code></em> :</span></p></td> -<td>Target value.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-register-transform-func"></a><h3>g_value_register_transform_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_register_transform_func (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> src_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> dest_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValueTransform" title="GValueTransform ()"><span class="type">GValueTransform</span></a> transform_func</code></em>);</pre> -<p> -Registers a value transformation function for use in <a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()"><code class="function">g_value_transform()</code></a>. -A previously registered transformation function for <em class="parameter"><code>src_type</code></em> and <em class="parameter"><code>dest_type</code></em> -will be replaced. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>src_type</code></em> :</span></p></td> -<td>Source type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dest_type</code></em> :</span></p></td> -<td>Target type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>transform_func</code></em> :</span></p></td> -<td>a function which transforms values of type <em class="parameter"><code>src_type</code></em> -into value of type <em class="parameter"><code>dest_type</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-strdup-value-contents"></a><h3>g_strdup_value_contents ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_strdup_value_contents (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Return a newly allocated string, which describes the contents of a -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. The main purpose of this function is to describe <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> -contents for debugging output, the way in which the contents are -described may change between different GLib versions. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> which contents are to be described.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Newly allocated string.</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="gobject-Generic-values.see-also"></a><h2>See Also</h2> -The fundamental types which all support <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> - operations and thus can be used as a type initializer for - <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a> are defined by a separate interface. See the <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html" title="Parameters and Values">Standard - Values API</a> for details. -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Signals.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Signals.html deleted file mode 100644 index 45cd865..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Signals.html +++ /dev/null @@ -1,2647 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Signals</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Varargs-Value-Collection.html" title="Varargs Value Collection"> -<link rel="next" href="gobject-Closures.html" title="Closures"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Varargs-Value-Collection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Closures.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Signals.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Signals.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Signals"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Signals.top_of_page"></a>Signals</span></h2> -<p>Signals — A means for customization of object behaviour - and a general purpose notification mechanism</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Signals.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -struct <a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint">GSignalInvocationHint</a>; -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()">*GSignalAccumulator</a>) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -typedef <a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller">GSignalCMarshaller</a>; -typedef <a class="link" href="gobject-Signals.html#GSignalCVaMarshaller" title="GSignalCVaMarshaller">GSignalCVaMarshaller</a>; -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()">*GSignalEmissionHook</a>) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -enum <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags">GSignalFlags</a>; -enum <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType">GSignalMatchType</a>; -struct <a class="link" href="gobject-Signals.html#GSignalQuery" title="struct GSignalQuery">GSignalQuery</a>; -#define <a class="link" href="gobject-Signals.html#G-SIGNAL-TYPE-STATIC-SCOPE:CAPS" title="G_SIGNAL_TYPE_STATIC_SCOPE">G_SIGNAL_TYPE_STATIC_SCOPE</a> -#define <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-MASK:CAPS" title="G_SIGNAL_MATCH_MASK">G_SIGNAL_MATCH_MASK</a> -#define <a class="link" href="gobject-Signals.html#G-SIGNAL-FLAGS-MASK:CAPS" title="G_SIGNAL_FLAGS_MASK">G_SIGNAL_FLAGS_MASK</a> -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()">g_signal_new</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> class_offset</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code>...</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-newv" title="g_signal_newv ()">g_signal_newv</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-new-valist" title="g_signal_new_valist ()">g_signal_new_valist</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-set-va-marshaller" title="g_signal_set_va_marshaller ()">g_signal_set_va_marshaller</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCVaMarshaller" title="GSignalCVaMarshaller"><span class="type">GSignalCVaMarshaller</span></a> va_marshaller</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-query" title="g_signal_query ()">g_signal_query</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalQuery" title="struct GSignalQuery"><span class="type">GSignalQuery</span></a> *query</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-lookup" title="g_signal_lookup ()">g_signal_lookup</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-Signals.html#g-signal-name" title="g_signal_name ()">g_signal_name</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> * <a class="link" href="gobject-Signals.html#g-signal-list-ids" title="g_signal_list_ids ()">g_signal_list_ids</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_ids</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()">g_signal_emit</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code>...</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emit-by-name" title="g_signal_emit_by_name ()">g_signal_emit_by_name</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code>...</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()">g_signal_emitv</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-emit-valist" title="g_signal_emit_valist ()">g_signal_emit_valist</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>); -#define <a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()">g_signal_connect</a> (instance, - detailed_signal, - c_handler, - data) -#define <a class="link" href="gobject-Signals.html#g-signal-connect-after" title="g_signal_connect_after()">g_signal_connect_after</a> (instance, - detailed_signal, - c_handler, - data) -#define <a class="link" href="gobject-Signals.html#g-signal-connect-swapped" title="g_signal_connect_swapped()">g_signal_connect_swapped</a> (instance, - detailed_signal, - c_handler, - data) -<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-object" title="g_signal_connect_object ()">g_signal_connect_object</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> gobject</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>); -enum <a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags">GConnectFlags</a>; -<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-data" title="g_signal_connect_data ()">g_signal_connect_data</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-closure" title="g_signal_connect_closure ()">g_signal_connect_closure</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-connect-closure-by-id" title="g_signal_connect_closure_by_id ()">g_signal_connect_closure_by_id</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-handler-block" title="g_signal_handler_block ()">g_signal_handler_block</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-handler-unblock" title="g_signal_handler_unblock ()">g_signal_handler_unblock</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-handler-disconnect" title="g_signal_handler_disconnect ()">g_signal_handler_disconnect</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-handler-find" title="g_signal_handler_find ()">g_signal_handler_find</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-handlers-block-matched" title="g_signal_handlers_block_matched ()">g_signal_handlers_block_matched</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-matched" title="g_signal_handlers_unblock_matched ()">g_signal_handlers_unblock_matched</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-matched" title="g_signal_handlers_disconnect_matched ()">g_signal_handlers_disconnect_matched</a> - (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-handler-is-connected" title="g_signal_handler_is_connected ()">g_signal_handler_is_connected</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>); -#define <a class="link" href="gobject-Signals.html#g-signal-handlers-block-by-func" title="g_signal_handlers_block_by_func()">g_signal_handlers_block_by_func</a> (instance, - func, - data) -#define <a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-by-func" title="g_signal_handlers_unblock_by_func()">g_signal_handlers_unblock_by_func</a> (instance, - func, - data) -#define <a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-by-func" title="g_signal_handlers_disconnect_by_func()">g_signal_handlers_disconnect_by_func</a>(instance, - func, - data) -#define <a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-by-data" title="g_signal_handlers_disconnect_by_data()">g_signal_handlers_disconnect_by_data</a>(instance, - data) -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-has-handler-pending" title="g_signal_has_handler_pending ()">g_signal_has_handler_pending</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> may_be_blocked</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-stop-emission" title="g_signal_stop_emission ()">g_signal_stop_emission</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-stop-emission-by-name" title="g_signal_stop_emission_by_name ()">g_signal_stop_emission_by_name</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()">g_signal_override_class_closure</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()">g_signal_chain_from_overridden</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Signals.html#g-signal-new-class-handler" title="g_signal_new_class_handler ()">g_signal_new_class_handler</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code>...</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()">g_signal_override_class_handler</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()">g_signal_chain_from_overridden_handler</a> - (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>...</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Signals.html#g-signal-add-emission-hook" title="g_signal_add_emission_hook ()">g_signal_add_emission_hook</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()"><span class="type">GSignalEmissionHook</span></a> hook_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> hook_data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> data_destroy</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Signals.html#g-signal-remove-emission-hook" title="g_signal_remove_emission_hook ()">g_signal_remove_emission_hook</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> hook_id</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-parse-name" title="g_signal_parse_name ()">g_signal_parse_name</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *signal_id_p</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> *detail_p</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_detail_quark</code></em>); -<a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="returnvalue">GSignalInvocationHint</span></a> * <a class="link" href="gobject-Signals.html#g-signal-get-invocation-hint" title="g_signal_get_invocation_hint ()">g_signal_get_invocation_hint</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>); -<a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * <a class="link" href="gobject-Signals.html#g-signal-type-cclosure-new" title="g_signal_type_cclosure_new ()">g_signal_type_cclosure_new</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> struct_offset</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-accumulator-first-wins" title="g_signal_accumulator_first_wins ()">g_signal_accumulator_first_wins</a> (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Signals.html#g-signal-accumulator-true-handled" title="g_signal_accumulator_true_handled ()">g_signal_accumulator_true_handled</a> (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Signals.description"></a><h2>Description</h2> -<p> -The basic concept of the signal system is that of the -<span class="emphasis"><em>emission</em></span> of a signal. Signals are introduced -per-type and are identified through strings. Signals introduced -for a parent type are available in derived types as well, so -basically they are a per-type facility that is inherited. A signal -emission mainly involves invocation of a certain set of callbacks -in precisely defined manner. There are two main categories of such -callbacks, per-object -<sup>[<a name="idp21360704" href="#ftn.idp21360704" class="footnote">10</a>]</sup> -ones and user provided ones. -The per-object callbacks are most often referred to as "object method -handler" or "default (signal) handler", while user provided callbacks are -usually just called "signal handler". -The object method handler is provided at signal creation time (this most -frequently happens at the end of an object class' creation), while user -provided handlers are frequently connected and disconnected to/from a certain -signal on certain object instances. -</p> -<p> -A signal emission consists of five stages, unless prematurely stopped: -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> - 1 - Invocation of the object method handler for <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> signals -</p></td> -</tr> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> - 2 - Invocation of normal user-provided signal handlers (<span class="emphasis"><em>after</em></span> flag <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>) -</p></td> -</tr> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> - 3 - Invocation of the object method handler for <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a> signals -</p></td> -</tr> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> - 4 - Invocation of user provided signal handlers, connected with an <span class="emphasis"><em>after</em></span> flag of <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> -</p></td> -</tr> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> - 5 - Invocation of the object method handler for <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-CLEANUP:CAPS"><code class="literal">G_SIGNAL_RUN_CLEANUP</code></a> signals -</p></td> -</tr> -</tbody> -</table></div> -<p> -The user-provided signal handlers are called in the order they were -connected in. -All handlers may prematurely stop a signal emission, and any number of -handlers may be connected, disconnected, blocked or unblocked during -a signal emission. -There are certain criteria for skipping user handlers in stages 2 and 4 -of a signal emission. -First, user handlers may be <span class="emphasis"><em>blocked</em></span>, blocked handlers are omitted -during callback invocation, to return from the "blocked" state, a -handler has to get unblocked exactly the same amount of times -it has been blocked before. -Second, upon emission of a <a class="link" href="gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">G_SIGNAL_DETAILED</code></a> signal, an additional -"detail" argument passed in to <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> has to match the detail -argument of the signal handler currently subject to invocation. -Specification of no detail argument for signal handlers (omission of the -detail part of the signal specification upon connection) serves as a -wildcard and matches any detail argument passed in to emission. -</p> -</div> -<div class="refsect1"> -<a name="gobject-Signals.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GSignalInvocationHint"></a><h3>struct GSignalInvocationHint</h3> -<pre class="programlisting">struct GSignalInvocationHint { - guint signal_id; - GQuark detail; - GSignalFlags run_type; -}; -</pre> -<p> -The <a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> structure is used to pass on additional information -to callbacks during a signal emission. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GSignalInvocationHint.signal-id"></a>signal_id</code></em>;</span></p></td> -<td>The signal id of the signal invoking the callback</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> <em class="structfield"><code><a name="GSignalInvocationHint.detail"></a>detail</code></em>;</span></p></td> -<td>The detail passed on for this emission</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> <em class="structfield"><code><a name="GSignalInvocationHint.run-type"></a>run_type</code></em>;</span></p></td> -<td>The stage the signal emission is currently in, this -field will contain one of <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a>, -<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-CLEANUP:CAPS"><code class="literal">G_SIGNAL_RUN_CLEANUP</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GSignalAccumulator"></a><h3>GSignalAccumulator ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GSignalAccumulator) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -The signal accumulator is a special callback function that can be used -to collect return values of the various callbacks that are called -during a signal emission. The signal accumulator is specified at signal -creation time, if it is left <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, no accumulation of callback return -values is performed. The return value of signal emissions is then the -value returned by the last callback. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>ihint</code></em> :</span></p></td> -<td>Signal invocation hint, see <a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_accu</code></em> :</span></p></td> -<td>Accumulator to collect callback return values in, this -is the return value of the current signal emission.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>handler_return</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> holding the return value of the signal handler.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>Callback data that was specified when creating the signal.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The accumulator function returns whether the signal emission -should be aborted. Returning <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> means to abort the -current emission and <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned for continuation.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GSignalCMarshaller"></a><h3>GSignalCMarshaller</h3> -<pre class="programlisting">typedef GClosureMarshal GSignalCMarshaller; -</pre> -<p> -This is the signature of marshaller functions, required to marshall -arrays of parameter values to signal emissions into C language callback -invocations. It is merely an alias to <a class="link" href="gobject-Closures.html#GClosureMarshal" title="GClosureMarshal ()"><span class="type">GClosureMarshal</span></a> since the <a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> -mechanism takes over responsibility of actual function invocation for the -signal system. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GSignalCVaMarshaller"></a><h3>GSignalCVaMarshaller</h3> -<pre class="programlisting">typedef GVaClosureMarshal GSignalCVaMarshaller; -</pre> -<p> -This is the signature of va_list marshaller functions, an optional -marshaller that can be used in some situations to avoid -marshalling the signal argument into GValues. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GSignalEmissionHook"></a><h3>GSignalEmissionHook ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GSignalEmissionHook) (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_param_values</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *param_values</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -A simple function pointer to get invoked when the signal is emitted. This -allows you to tie a hook to the signal type, so that it will trap all -emissions of that signal, from any object. -</p> -<p> -You may not attach these to signals created with the <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><span class="type">G_SIGNAL_NO_HOOKS</span></a> flag. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>ihint</code></em> :</span></p></td> -<td>Signal invocation hint, see <a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_param_values</code></em> :</span></p></td> -<td>the number of parameters to the function, including -the instance on which the signal was emitted.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_values</code></em> :</span></p></td> -<td>the instance on which -the signal was emitted, followed by the parameters of the emission. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_param_values]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>user data associated with the hook.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether it wants to stay connected. If it returns <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the signal -hook is disconnected (and destroyed).</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GSignalFlags"></a><h3>enum GSignalFlags</h3> -<pre class="programlisting">typedef enum { - G_SIGNAL_RUN_FIRST = 1 << 0, - G_SIGNAL_RUN_LAST = 1 << 1, - G_SIGNAL_RUN_CLEANUP = 1 << 2, - G_SIGNAL_NO_RECURSE = 1 << 3, - G_SIGNAL_DETAILED = 1 << 4, - G_SIGNAL_ACTION = 1 << 5, - G_SIGNAL_NO_HOOKS = 1 << 6, - G_SIGNAL_MUST_COLLECT = 1 << 7, - G_SIGNAL_DEPRECATED = 1 << 8 -} GSignalFlags; -</pre> -<p> -The signal flags are used to specify a signal's behaviour, the overall -signal description outlines how especially the RUN flags control the -stages of a signal emission. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-SIGNAL-RUN-FIRST:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_RUN_FIRST</code></span></p></td> -<td>Invoke the object method handler in the first emission stage. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-RUN-LAST:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_RUN_LAST</code></span></p></td> -<td>Invoke the object method handler in the third emission stage. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-RUN-CLEANUP:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_RUN_CLEANUP</code></span></p></td> -<td>Invoke the object method handler in the last emission stage. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-NO-RECURSE:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_NO_RECURSE</code></span></p></td> -<td>Signals being emitted for an object while currently being in - emission for this very object will not be emitted recursively, - but instead cause the first emission to be restarted. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-DETAILED:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_DETAILED</code></span></p></td> -<td>This signal supports "::detail" appendices to the signal name - upon handler connections and emissions. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-ACTION:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_ACTION</code></span></p></td> -<td>Action signals are signals that may freely be emitted on alive - objects from user code via <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> and friends, without - the need of being embedded into extra code that performs pre or - post emission adjustments on the object. They can also be thought - of as object methods which can be called generically by - third-party code. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-NO-HOOKS:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_NO_HOOKS</code></span></p></td> -<td>No emissions hooks are supported for this signal. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-MUST-COLLECT:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MUST_COLLECT</code></span></p></td> -<td>Varargs signal emission will always collect the - arguments, even if there are no signal handlers connected. Since 2.30. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-DEPRECATED:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_DEPRECATED</code></span></p></td> -<td>The signal is deprecated and will be removed - in a future version. A warning will be generated if it is connected while - running with G_ENABLE_DIAGNOSTIC=1. Since 2.32. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GSignalMatchType"></a><h3>enum GSignalMatchType</h3> -<pre class="programlisting">typedef enum { - G_SIGNAL_MATCH_ID = 1 << 0, - G_SIGNAL_MATCH_DETAIL = 1 << 1, - G_SIGNAL_MATCH_CLOSURE = 1 << 2, - G_SIGNAL_MATCH_FUNC = 1 << 3, - G_SIGNAL_MATCH_DATA = 1 << 4, - G_SIGNAL_MATCH_UNBLOCKED = 1 << 5 -} GSignalMatchType; -</pre> -<p> -The match types specify what <a class="link" href="gobject-Signals.html#g-signal-handlers-block-matched" title="g_signal_handlers_block_matched ()"><code class="function">g_signal_handlers_block_matched()</code></a>, -<a class="link" href="gobject-Signals.html#g-signal-handlers-unblock-matched" title="g_signal_handlers_unblock_matched ()"><code class="function">g_signal_handlers_unblock_matched()</code></a> and <a class="link" href="gobject-Signals.html#g-signal-handlers-disconnect-matched" title="g_signal_handlers_disconnect_matched ()"><code class="function">g_signal_handlers_disconnect_matched()</code></a> -match signals by. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-SIGNAL-MATCH-ID:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_ID</code></span></p></td> -<td>The signal id must be equal. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-MATCH-DETAIL:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_DETAIL</code></span></p></td> -<td>The signal detail be equal. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-MATCH-CLOSURE:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></span></p></td> -<td>The closure must be the same. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-MATCH-FUNC:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_FUNC</code></span></p></td> -<td>The C closure callback must be the same. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-MATCH-DATA:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_DATA</code></span></p></td> -<td>The closure data must be the same. -</td> -</tr> -<tr> -<td><p><a name="G-SIGNAL-MATCH-UNBLOCKED:CAPS"></a><span class="term"><code class="literal">G_SIGNAL_MATCH_UNBLOCKED</code></span></p></td> -<td>Only unblocked signals may matched. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GSignalQuery"></a><h3>struct GSignalQuery</h3> -<pre class="programlisting">struct GSignalQuery { - guint signal_id; - const gchar *signal_name; - GType itype; - GSignalFlags signal_flags; - GType return_type; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */ - guint n_params; - const GType *param_types; /* mangled with G_SIGNAL_TYPE_STATIC_SCOPE flag */ -}; -</pre> -<p> -A structure holding in-depth information for a specific signal. It is -filled in by the <a class="link" href="gobject-Signals.html#g-signal-query" title="g_signal_query ()"><code class="function">g_signal_query()</code></a> function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GSignalQuery.signal-id"></a>signal_id</code></em>;</span></p></td> -<td>The signal id of the signal being queried, or 0 if the -signal to be queried was unknown.</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GSignalQuery.signal-name"></a>signal_name</code></em>;</span></p></td> -<td>The signal name.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GSignalQuery.itype"></a>itype</code></em>;</span></p></td> -<td>The interface/instance type that this signal can be emitted for.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> <em class="structfield"><code><a name="GSignalQuery.signal-flags"></a>signal_flags</code></em>;</span></p></td> -<td>The signal flags as passed in to <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GSignalQuery.return-type"></a>return_type</code></em>;</span></p></td> -<td>The return type for user callbacks.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GSignalQuery.n-params"></a>n_params</code></em>;</span></p></td> -<td>The number of parameters that user callbacks take.</td> -</tr> -<tr> -<td><p><span class="term">const <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *<em class="structfield"><code><a name="GSignalQuery.param-types"></a>param_types</code></em>;</span></p></td> -<td>The individual parameter types for user callbacks, note that the -effective callback signature is: -<pre class="programlisting"> -@return_type callback (<a href="./../glib/glib/glib-Basic-Types.html#gpointer">gpointer</a> data1, -[param_types param_names,] -gpointer data2); -</pre> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-SIGNAL-TYPE-STATIC-SCOPE:CAPS"></a><h3>G_SIGNAL_TYPE_STATIC_SCOPE</h3> -<pre class="programlisting">#define G_SIGNAL_TYPE_STATIC_SCOPE (G_TYPE_FLAG_RESERVED_ID_BIT) -</pre> -<p> -This macro flags signal argument types for which the signal system may -assume that instances thereof remain persistent across all signal emissions -they are used in. This is only useful for non ref-counted, value-copy types. -</p> -<p> -To flag a signal argument in this way, add -<code class="literal">| G_SIGNAL_TYPE_STATIC_SCOPE</code> to the corresponding argument -of <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a>. -</p> -<div class="informalexample"><pre class="programlisting"> -g_signal_new ("size_request", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_FIRST, - G_STRUCT_OFFSET (GtkWidgetClass, size_request), - NULL, NULL, - _gtk_marshal_VOID__BOXED, - G_TYPE_NONE, 1, - GTK_TYPE_REQUISITION | G_SIGNAL_TYPE_STATIC_SCOPE); -</pre></div> -<p> -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-SIGNAL-MATCH-MASK:CAPS"></a><h3>G_SIGNAL_MATCH_MASK</h3> -<pre class="programlisting">#define G_SIGNAL_MATCH_MASK 0x3f -</pre> -<p> -A mask for all <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> bits. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-SIGNAL-FLAGS-MASK:CAPS"></a><h3>G_SIGNAL_FLAGS_MASK</h3> -<pre class="programlisting">#define G_SIGNAL_FLAGS_MASK 0x1ff -</pre> -<p> -A mask for all <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> bits. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-new"></a><h3>g_signal_new ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_new (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> class_offset</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Creates a new signal. (This is usually done in the class initializer.) -</p> -<p> -A signal name consists of segments consisting of ASCII letters and -digits, separated by either the '-' or '_' character. The first -character of a signal name must be a letter. Names which violate these -rules lead to undefined behaviour of the GSignal system. -</p> -<p> -When registering a signal and looking up a signal, either separator can -be used, but they cannot be mixed. -</p> -<p> -If 0 is used for <em class="parameter"><code>class_offset</code></em> subclasses cannot override the class handler -in their <code class="code">class_init</code> method by doing -<code class="code">super_class->signal_handler = my_signal_handler</code>. Instead they -will have to use <a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>. -</p> -<p> -If c_marshaller is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <a class="link" href="gobject-Closures.html#g-cclosure-marshal-generic" title="g_cclosure_marshal_generic ()"><code class="function">g_cclosure_marshal_generic()</code></a> will be used as -the marshaller for this signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td> -<td>the name for the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>the type this signal pertains to. It will also pertain to -types which are derived from this type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td> -<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when -the default handler is to be invoked. You should at least specify -<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_offset</code></em> :</span></p></td> -<td>The offset of the function pointer in the class structure -for this type. Used to invoke a class method generically. Pass 0 to -not associate a class method slot with this signal.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td> -<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td> -<td>user data for the <em class="parameter"><code>accumulator</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td> -<td>the function to translate arrays of parameter -values to signal emissions into C language callback invocations or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td> -<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal -without a return value.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td> -<td>the number of parameter types to follow.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>a list of types, one for each parameter.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the signal id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-newv"></a><h3>g_signal_newv ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_newv (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> *param_types</code></em>);</pre> -<p> -Creates a new signal. (This is usually done in the class initializer.) -</p> -<p> -See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for details on allowed signal names. -</p> -<p> -If c_marshaller is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>g_cclosure_marshal_generic</code></em> will be used as -the marshaller for this signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td> -<td>the name for the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>the type this signal pertains to. It will also pertain to -types which are derived from this type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td> -<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when -the default handler is to be invoked. You should at least specify -<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_closure</code></em> :</span></p></td> -<td>The closure to invoke on signal emission; -may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td> -<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td> -<td>user data for the <em class="parameter"><code>accumulator</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td> -<td>the function to translate arrays of -parameter values to signal emissions into C language callback -invocations or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td> -<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal -without a return value</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td> -<td>the length of <em class="parameter"><code>param_types</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_types</code></em> :</span></p></td> -<td>an array of types, one for -each parameter. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_params]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the signal id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-new-valist"></a><h3>g_signal_new_valist ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_new_valist (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre> -<p> -Creates a new signal. (This is usually done in the class initializer.) -</p> -<p> -See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for details on allowed signal names. -</p> -<p> -If c_marshaller is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <a class="link" href="gobject-Closures.html#g-cclosure-marshal-generic" title="g_cclosure_marshal_generic ()"><code class="function">g_cclosure_marshal_generic()</code></a> will be used as -the marshaller for this signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td> -<td>the name for the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>the type this signal pertains to. It will also pertain to -types which are derived from this type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td> -<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when -the default handler is to be invoked. You should at least specify -<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_closure</code></em> :</span></p></td> -<td>The closure to invoke on signal emission; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td> -<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td> -<td>user data for the <em class="parameter"><code>accumulator</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td> -<td>the function to translate arrays of parameter -values to signal emissions into C language callback invocations or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td> -<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal -without a return value.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td> -<td>the number of parameter types in <em class="parameter"><code>args</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td> -<td>va_list of <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a>, one for each parameter.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the signal id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-set-va-marshaller"></a><h3>g_signal_set_va_marshaller ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_set_va_marshaller (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCVaMarshaller" title="GSignalCVaMarshaller"><span class="type">GSignalCVaMarshaller</span></a> va_marshaller</code></em>);</pre> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-query"></a><h3>g_signal_query ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_query (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalQuery" title="struct GSignalQuery"><span class="type">GSignalQuery</span></a> *query</code></em>);</pre> -<p> -Queries the signal system for in-depth information about a -specific signal. This function will fill in a user-provided -structure to hold signal-specific information. If an invalid -signal id is passed in, the <em class="parameter"><code>signal_id</code></em> member of the <a class="link" href="gobject-Signals.html#GSignalQuery" title="struct GSignalQuery"><span class="type">GSignalQuery</span></a> -is 0. All members filled into the <a class="link" href="gobject-Signals.html#GSignalQuery" title="struct GSignalQuery"><span class="type">GSignalQuery</span></a> structure should -be considered constant and have to be left untouched. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>The signal id of the signal to query information for.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>query</code></em> :</span></p></td> -<td>A user provided structure that is -filled in with constant values upon success. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym> caller-allocates]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-lookup"></a><h3>g_signal_lookup ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_lookup (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>);</pre> -<p> -Given the name of the signal and the type of object it connects to, gets -the signal's identifying integer. Emitting the signal by number is -somewhat faster than using the name each time. -</p> -<p> -Also tries the ancestors of the given type. -</p> -<p> -See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for details on allowed signal names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the signal's name.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>the type that the signal operates on.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the signal's identifying number, or 0 if no signal was found.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-name"></a><h3>g_signal_name ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_signal_name (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>);</pre> -<p> -Given the signal's identifier, finds its name. -</p> -<p> -Two different signals may have the same name, if they have differing types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal's identifying number.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the signal name, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the signal number was invalid.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-list-ids"></a><h3>g_signal_list_ids ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> * g_signal_list_ids (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_ids</code></em>);</pre> -<p> -Lists the signals by id that a certain instance or interface type -created. Further information about the signals can be acquired through -<a class="link" href="gobject-Signals.html#g-signal-query" title="g_signal_query ()"><code class="function">g_signal_query()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>Instance or interface type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_ids</code></em> :</span></p></td> -<td>Location to store the number of signal ids for <em class="parameter"><code>itype</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Newly allocated array of signal IDs. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_ids]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-emit"></a><h3>g_signal_emit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emit (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Emits a signal. -</p> -<p> -Note that <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> resets the return value to the default -if no handlers are connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance the signal is being emitted on.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal id</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>the detail</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>parameters to be passed to the signal, followed by a -location for the return value. If the return type of the signal -is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-emit-by-name"></a><h3>g_signal_emit_by_name ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emit_by_name (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Emits a signal. -</p> -<p> -Note that <a class="link" href="gobject-Signals.html#g-signal-emit-by-name" title="g_signal_emit_by_name ()"><code class="function">g_signal_emit_by_name()</code></a> resets the return value to the default -if no handlers are connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance the signal is being emitted on.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>parameters to be passed to the signal, followed by a -location for the return value. If the return type of the signal -is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-emitv"></a><h3>g_signal_emitv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emitv (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>);</pre> -<p> -Emits a signal. -</p> -<p> -Note that <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a> doesn't change <em class="parameter"><code>return_value</code></em> if no handlers are -connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()"><code class="function">g_signal_emit()</code></a> and <a class="link" href="gobject-Signals.html#g-signal-emit-valist" title="g_signal_emit_valist ()"><code class="function">g_signal_emit_valist()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_and_params</code></em> :</span></p></td> -<td>argument list for the signal emission. -The first element in the array is a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> for the instance the signal -is being emitted on. The rest are any arguments to be passed to the signal. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal id</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>the detail</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>Location to store the return value of the signal emission.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-emit-valist"></a><h3>g_signal_emit_valist ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_emit_valist (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre> -<p> -Emits a signal. -</p> -<p> -Note that <a class="link" href="gobject-Signals.html#g-signal-emit-valist" title="g_signal_emit_valist ()"><code class="function">g_signal_emit_valist()</code></a> resets the return value to the default -if no handlers are connected, in contrast to <a class="link" href="gobject-Signals.html#g-signal-emitv" title="g_signal_emitv ()"><code class="function">g_signal_emitv()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance the signal is being emitted on.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal id</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>the detail</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td> -<td>a list of parameters to be passed to the signal, followed by a -location for the return value. If the return type of the signal -is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-connect"></a><h3>g_signal_connect()</h3> -<pre class="programlisting">#define g_signal_connect(instance, detailed_signal, c_handler, data)</pre> -<p> -Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object. -</p> -<p> -The handler will be called before the default handler of the signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to connect to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the handler id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-connect-after"></a><h3>g_signal_connect_after()</h3> -<pre class="programlisting">#define g_signal_connect_after(instance, detailed_signal, c_handler, data)</pre> -<p> -Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object. -</p> -<p> -The handler will be called after the default handler of the signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to connect to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the handler id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-connect-swapped"></a><h3>g_signal_connect_swapped()</h3> -<pre class="programlisting">#define g_signal_connect_swapped(instance, detailed_signal, c_handler, data)</pre> -<p> -Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object. -</p> -<p> -The instance on which the signal is emitted and <em class="parameter"><code>data</code></em> will be swapped when -calling the handler. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to connect to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the handler id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-connect-object"></a><h3>g_signal_connect_object ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_object (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> gobject</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>);</pre> -<p> -This is similar to <a class="link" href="gobject-Signals.html#g-signal-connect-data" title="g_signal_connect_data ()"><code class="function">g_signal_connect_data()</code></a>, but uses a closure which -ensures that the <em class="parameter"><code>gobject</code></em> stays alive during the call to <em class="parameter"><code>c_handler</code></em> -by temporarily adding a reference count to <em class="parameter"><code>gobject</code></em>. -</p> -<p> -Note that there is a bug in GObject that makes this function -much less useful than it might seem otherwise. Once <em class="parameter"><code>gobject</code></em> is -disposed, the callback will no longer be called, but, the signal -handler is <span class="emphasis"><em>not</em></span> currently disconnected. If the -<em class="parameter"><code>instance</code></em> is itself being freed at the same time than this doesn't -matter, since the signal will automatically be removed, but -if <em class="parameter"><code>instance</code></em> persists, then the signal handler will leak. You -should not remove the signal yourself because in a future versions of -GObject, the handler <span class="emphasis"><em>will</em></span> automatically -be disconnected. -</p> -<p> -It's possible to work around this problem in a way that will -continue to work with future versions of GObject by checking -that the signal handler is still connected before disconnected it: -</p> -<div class="informalexample"><pre class="programlisting"> - if (g_signal_handler_is_connected (instance, id)) - g_signal_handler_disconnect (instance, id); -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to connect to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td> -<td>the object to pass as data to <em class="parameter"><code>c_handler</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>connect_flags</code></em> :</span></p></td> -<td>a combination of <a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the handler id.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GConnectFlags"></a><h3>enum GConnectFlags</h3> -<pre class="programlisting">typedef enum { - G_CONNECT_AFTER = 1 << 0, - G_CONNECT_SWAPPED = 1 << 1 -} GConnectFlags; -</pre> -<p> -The connection flags are used to specify the behaviour of a signal's -connection. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-CONNECT-AFTER:CAPS"></a><span class="term"><code class="literal">G_CONNECT_AFTER</code></span></p></td> -<td>whether the handler should be called before or after the - default handler of the signal. -</td> -</tr> -<tr> -<td><p><a name="G-CONNECT-SWAPPED:CAPS"></a><span class="term"><code class="literal">G_CONNECT_SWAPPED</code></span></p></td> -<td>whether the instance and data should be swapped when - calling the handler. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-connect-data"></a><h3>g_signal_connect_data ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_data (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> c_handler</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> destroy_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a> connect_flags</code></em>);</pre> -<p> -Connects a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> function to a signal for a particular object. Similar -to <a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()"><code class="function">g_signal_connect()</code></a>, but allows to provide a <a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> for the data -which will be called when the signal handler is disconnected and no longer -used. Specify <em class="parameter"><code>connect_flags</code></em> if you need <code class="literal">..._after()</code> or -<code class="literal">..._swapped()</code> variants of this function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to connect to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_handler</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> to connect.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>c_handler</code></em> calls.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>destroy_data</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GClosureNotify" title="GClosureNotify ()"><span class="type">GClosureNotify</span></a> for <em class="parameter"><code>data</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>connect_flags</code></em> :</span></p></td> -<td>a combination of <a class="link" href="gobject-Signals.html#GConnectFlags" title="enum GConnectFlags"><span class="type">GConnectFlags</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the handler id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-connect-closure"></a><h3>g_signal_connect_closure ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_closure (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>);</pre> -<p> -Connects a closure to a signal for a particular object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to connect to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the closure to connect.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>after</code></em> :</span></p></td> -<td>whether the handler should be called before or after the -default handler of the signal.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the handler id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-connect-closure-by-id"></a><h3>g_signal_connect_closure_by_id ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_connect_closure_by_id (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> after</code></em>);</pre> -<p> -Connects a closure to a signal for a particular object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to connect to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the id of the signal.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>the detail.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>the closure to connect.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>after</code></em> :</span></p></td> -<td>whether the handler should be called before or after the -default handler of the signal.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the handler id</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handler-block"></a><h3>g_signal_handler_block ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_handler_block (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre> -<p> -Blocks a handler of an instance so it will not be called during any -signal emissions unless it is unblocked again. Thus "blocking" a -signal handler means to temporarily deactive it, a signal handler -has to be unblocked exactly the same amount of times it has been -blocked before to become active again. -</p> -<p> -The <em class="parameter"><code>handler_id</code></em> has to be a valid signal handler id, connected to a -signal of <em class="parameter"><code>instance</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to block the signal handler of.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td> -<td>Handler id of the handler to be blocked.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handler-unblock"></a><h3>g_signal_handler_unblock ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_handler_unblock (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre> -<p> -Undoes the effect of a previous <a class="link" href="gobject-Signals.html#g-signal-handler-block" title="g_signal_handler_block ()"><code class="function">g_signal_handler_block()</code></a> call. A -blocked handler is skipped during signal emissions and will not be -invoked, unblocking it (for exactly the amount of times it has been -blocked before) reverts its "blocked" state, so the handler will be -recognized by the signal system and is called upon future or -currently ongoing signal emissions (since the order in which -handlers are called during signal emissions is deterministic, -whether the unblocked handler in question is called as part of a -currently ongoing emission depends on how far that emission has -proceeded yet). -</p> -<p> -The <em class="parameter"><code>handler_id</code></em> has to be a valid id of a signal handler that is -connected to a signal of <em class="parameter"><code>instance</code></em> and is currently blocked. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to unblock the signal handler of.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td> -<td>Handler id of the handler to be unblocked.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handler-disconnect"></a><h3>g_signal_handler_disconnect ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_handler_disconnect (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre> -<p> -Disconnects a handler from an instance so it will not be called during -any future or currently ongoing emissions of the signal it has been -connected to. The <em class="parameter"><code>handler_id</code></em> becomes invalid and may be reused. -</p> -<p> -The <em class="parameter"><code>handler_id</code></em> has to be a valid signal handler id, connected to a -signal of <em class="parameter"><code>instance</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to remove the signal handler from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td> -<td>Handler id of the handler to be disconnected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handler-find"></a><h3>g_signal_handler_find ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_handler_find (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Finds the first signal handler that matches certain selection criteria. -The criteria mask is passed as an OR-ed combination of <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> -flags, and the criteria values are passed as arguments. -The match <em class="parameter"><code>mask</code></em> has to be non-0 for successful matches. -If no handler was found, 0 is returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance owning the signal handler to be found.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> -<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em> -and/or <em class="parameter"><code>data</code></em> the handler has to match.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>Signal the handler has to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>Signal detail the handler has to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>The closure the handler will invoke. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The C closure callback of the handler (useless for non-C closures).</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The closure data of the handler's closure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A valid non-0 signal handler id for a successful match.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handlers-block-matched"></a><h3>g_signal_handlers_block_matched ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_handlers_block_matched (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Blocks all handlers on an instance that match a certain selection criteria. -The criteria mask is passed as an OR-ed combination of <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> -flags, and the criteria values are passed as arguments. -Passing at least one of the <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></a>, <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"><code class="literal">G_SIGNAL_MATCH_FUNC</code></a> -or <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"><code class="literal">G_SIGNAL_MATCH_DATA</code></a> match flags is required for successful matches. -If no handlers were found, 0 is returned, the number of blocked handlers -otherwise. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to block handlers from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> -<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em> -and/or <em class="parameter"><code>data</code></em> the handlers have to match.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>Signal the handlers have to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>Signal detail the handlers have to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>The closure the handlers will invoke. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The C closure callback of the handlers (useless for non-C closures).</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The closure data of the handlers' closures.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The number of handlers that matched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handlers-unblock-matched"></a><h3>g_signal_handlers_unblock_matched ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_handlers_unblock_matched (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Unblocks all handlers on an instance that match a certain selection -criteria. The criteria mask is passed as an OR-ed combination of -<a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> flags, and the criteria values are passed as arguments. -Passing at least one of the <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></a>, <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"><code class="literal">G_SIGNAL_MATCH_FUNC</code></a> -or <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"><code class="literal">G_SIGNAL_MATCH_DATA</code></a> match flags is required for successful matches. -If no handlers were found, 0 is returned, the number of unblocked handlers -otherwise. The match criteria should not apply to any handlers that are -not currently blocked. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to unblock handlers from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> -<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em> -and/or <em class="parameter"><code>data</code></em> the handlers have to match.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>Signal the handlers have to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>Signal detail the handlers have to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>The closure the handlers will invoke. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The C closure callback of the handlers (useless for non-C closures).</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The closure data of the handlers' closures.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The number of handlers that matched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handlers-disconnect-matched"></a><h3>g_signal_handlers_disconnect_matched ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_handlers_disconnect_matched - (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> mask</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Disconnects all handlers on an instance that match a certain -selection criteria. The criteria mask is passed as an OR-ed -combination of <a class="link" href="gobject-Signals.html#GSignalMatchType" title="enum GSignalMatchType"><span class="type">GSignalMatchType</span></a> flags, and the criteria values are -passed as arguments. Passing at least one of the -<a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"><code class="literal">G_SIGNAL_MATCH_CLOSURE</code></a>, <a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"><code class="literal">G_SIGNAL_MATCH_FUNC</code></a> or -<a class="link" href="gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"><code class="literal">G_SIGNAL_MATCH_DATA</code></a> match flags is required for successful -matches. If no handlers were found, 0 is returned, the number of -disconnected handlers otherwise. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to remove handlers from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>mask</code></em> :</span></p></td> -<td>Mask indicating which of <em class="parameter"><code>signal_id</code></em>, <em class="parameter"><code>detail</code></em>, <em class="parameter"><code>closure</code></em>, <em class="parameter"><code>func</code></em> -and/or <em class="parameter"><code>data</code></em> the handlers have to match.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>Signal the handlers have to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>Signal detail the handlers have to be connected to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>The closure the handlers will invoke. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The C closure callback of the handlers (useless for non-C closures).</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The closure data of the handlers' closures.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The number of handlers that matched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handler-is-connected"></a><h3>g_signal_handler_is_connected ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_handler_is_connected (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> handler_id</code></em>);</pre> -<p> -Returns whether <em class="parameter"><code>handler_id</code></em> is the id of a handler connected to <em class="parameter"><code>instance</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance where a signal handler is sought.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>handler_id</code></em> :</span></p></td> -<td>the handler id.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether <em class="parameter"><code>handler_id</code></em> identifies a handler connected to <em class="parameter"><code>instance</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handlers-block-by-func"></a><h3>g_signal_handlers_block_by_func()</h3> -<pre class="programlisting">#define g_signal_handlers_block_by_func(instance, func, data)</pre> -<p> -Blocks all handlers on an instance that match <em class="parameter"><code>func</code></em> and <em class="parameter"><code>data</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to block handlers from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The C closure callback of the handlers (useless for non-C closures).</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The closure data of the handlers' closures.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The number of handlers that matched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handlers-unblock-by-func"></a><h3>g_signal_handlers_unblock_by_func()</h3> -<pre class="programlisting">#define g_signal_handlers_unblock_by_func(instance, func, data)</pre> -<p> -Unblocks all handlers on an instance that match <em class="parameter"><code>func</code></em> and <em class="parameter"><code>data</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to unblock handlers from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The C closure callback of the handlers (useless for non-C closures).</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The closure data of the handlers' closures.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The number of handlers that matched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handlers-disconnect-by-func"></a><h3>g_signal_handlers_disconnect_by_func()</h3> -<pre class="programlisting">#define g_signal_handlers_disconnect_by_func(instance, func, data)</pre> -<p> -Disconnects all handlers on an instance that match <em class="parameter"><code>func</code></em> and <em class="parameter"><code>data</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to remove handlers from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The C closure callback of the handlers (useless for non-C closures).</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>The closure data of the handlers' closures.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The number of handlers that matched.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-handlers-disconnect-by-data"></a><h3>g_signal_handlers_disconnect_by_data()</h3> -<pre class="programlisting">#define g_signal_handlers_disconnect_by_data(instance, data)</pre> -<p> -Disconnects all handlers on an instance that match <em class="parameter"><code>data</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to remove handlers from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>the closure data of the handlers' closures</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The number of handlers that matched.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-has-handler-pending"></a><h3>g_signal_has_handler_pending ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_has_handler_pending (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> may_be_blocked</code></em>);</pre> -<p> -Returns whether there are any handlers connected to <em class="parameter"><code>instance</code></em> for the -given signal id and detail. -</p> -<p> -One example of when you might use this is when the arguments to the -signal are difficult to compute. A class implementor may opt to not -emit the signal if no one is attached anyway, thus saving the cost -of building the arguments. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the object whose signal handlers are sought.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal id.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>the detail.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>may_be_blocked</code></em> :</span></p></td> -<td>whether blocked handlers should count as match.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a handler is connected to the signal, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> -otherwise.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-stop-emission"></a><h3>g_signal_stop_emission ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_stop_emission (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>);</pre> -<p> -Stops a signal's current emission. -</p> -<p> -This will prevent the default method from running, if the signal was -<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a> and you connected normally (i.e. without the "after" -flag). -</p> -<p> -Prints a warning if used on a signal which isn't being emitted. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the object whose signal handlers you wish to stop.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal identifier, as returned by <a class="link" href="gobject-Signals.html#g-signal-lookup" title="g_signal_lookup ()"><code class="function">g_signal_lookup()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>the detail which the signal was emitted with.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-stop-emission-by-name"></a><h3>g_signal_stop_emission_by_name ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_stop_emission_by_name (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>);</pre> -<p> -Stops a signal's current emission. -</p> -<p> -This is just like <a class="link" href="gobject-Signals.html#g-signal-stop-emission" title="g_signal_stop_emission ()"><code class="function">g_signal_stop_emission()</code></a> except it will look up the -signal id for you. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the object whose signal handlers you wish to stop.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-override-class-closure"></a><h3>g_signal_override_class_closure ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_override_class_closure (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *class_closure</code></em>);</pre> -<p> -Overrides the class closure (i.e. the default handler) for the given signal -for emissions on instances of <em class="parameter"><code>instance_type</code></em>. <em class="parameter"><code>instance_type</code></em> must be derived -from the type to which the signal belongs. -</p> -<p> -See <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()"><code class="function">g_signal_chain_from_overridden()</code></a> and -<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()"><code class="function">g_signal_chain_from_overridden_handler()</code></a> for how to chain up to the -parent class closure from inside the overridden one. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal id</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td>the instance type on which to override the class closure -for the signal.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_closure</code></em> :</span></p></td> -<td>the closure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-chain-from-overridden"></a><h3>g_signal_chain_from_overridden ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_chain_from_overridden (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *instance_and_params</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_value</code></em>);</pre> -<p> -Calls the original class closure of a signal. This function should only -be called from an overridden class closure; see -<a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()"><code class="function">g_signal_override_class_closure()</code></a> and -<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_and_params</code></em> :</span></p></td> -<td>(array) the argument list of the signal emission. -The first element in the array is a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> for the instance the signal -is being emitted on. The rest are any arguments to be passed to the signal.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_value</code></em> :</span></p></td> -<td>Location for the return value.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-new-class-handler"></a><h3>g_signal_new_class_handler ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_signal_new_class_handler (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> signal_flags</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> accumulator</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> accu_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalCMarshaller" title="GSignalCMarshaller"><span class="type">GSignalCMarshaller</span></a> c_marshaller</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> return_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_params</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Creates a new signal. (This is usually done in the class initializer.) -</p> -<p> -This is a variant of <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> that takes a C callback instead -off a class offset for the signal's class handler. This function -doesn't need a function pointer exposed in the class structure of -an object definition, instead the function pointer is passed -directly and can be overriden by derived classes with -<a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()"><code class="function">g_signal_override_class_closure()</code></a> or -<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>and chained to with -<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()"><code class="function">g_signal_chain_from_overridden()</code></a> or -<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()"><code class="function">g_signal_chain_from_overridden_handler()</code></a>. -</p> -<p> -See <a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()"><code class="function">g_signal_new()</code></a> for information about signal names. -</p> -<p> -If c_marshaller is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>g_cclosure_marshal_generic</code></em> will be used as -the marshaller for this signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td> -<td>the name for the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>the type this signal pertains to. It will also pertain to -types which are derived from this type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_flags</code></em> :</span></p></td> -<td>a combination of <a class="link" href="gobject-Signals.html#GSignalFlags" title="enum GSignalFlags"><span class="type">GSignalFlags</span></a> specifying detail of when -the default handler is to be invoked. You should at least specify -<a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">G_SIGNAL_RUN_FIRST</code></a> or <a class="link" href="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">G_SIGNAL_RUN_LAST</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_handler</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> which acts as class implementation of -this signal. Used to invoke a class method generically. Pass <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to -not associate a class method with this signal.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accumulator</code></em> :</span></p></td> -<td>the accumulator for this signal; may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>accu_data</code></em> :</span></p></td> -<td>user data for the <em class="parameter"><code>accumulator</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_marshaller</code></em> :</span></p></td> -<td>the function to translate arrays of parameter -values to signal emissions into C language callback invocations or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_type</code></em> :</span></p></td> -<td>the type of return value, or <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a> for a signal -without a return value.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_params</code></em> :</span></p></td> -<td>the number of parameter types to follow.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>a list of types, one for each parameter.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the signal id</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.18</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-override-class-handler"></a><h3>g_signal_override_class_handler ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_override_class_handler (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> class_handler</code></em>);</pre> -<p> -Overrides the class closure (i.e. the default handler) for the -given signal for emissions on instances of <em class="parameter"><code>instance_type</code></em> with -callabck <em class="parameter"><code>class_handler</code></em>. <em class="parameter"><code>instance_type</code></em> must be derived from the -type to which the signal belongs. -</p> -<p> -See <a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden" title="g_signal_chain_from_overridden ()"><code class="function">g_signal_chain_from_overridden()</code></a> and -<a class="link" href="gobject-Signals.html#g-signal-chain-from-overridden-handler" title="g_signal_chain_from_overridden_handler ()"><code class="function">g_signal_chain_from_overridden_handler()</code></a> for how to chain up to the -parent class closure from inside the overridden one. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_name</code></em> :</span></p></td> -<td>the name for the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td>the instance type on which to override the class handler -for the signal.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_handler</code></em> :</span></p></td> -<td>the handler.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.18</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-chain-from-overridden-handler"></a><h3>g_signal_chain_from_overridden_handler ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_chain_from_overridden_handler - (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Calls the original class closure of a signal. This function should -only be called from an overridden class closure; see -<a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()"><code class="function">g_signal_override_class_closure()</code></a> and -<a class="link" href="gobject-Signals.html#g-signal-override-class-handler" title="g_signal_override_class_handler ()"><code class="function">g_signal_override_class_handler()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance the signal is being emitted on.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>parameters to be passed to the parent class closure, followed by a -location for the return value. If the return type of the signal -is <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><span class="type">G_TYPE_NONE</span></a>, the return value location can be omitted.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.18</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-add-emission-hook"></a><h3>g_signal_add_emission_hook ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_signal_add_emission_hook (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> detail</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()"><span class="type">GSignalEmissionHook</span></a> hook_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> hook_data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> data_destroy</code></em>);</pre> -<p> -Adds an emission hook for a signal, which will get called for any emission -of that signal, independent of the instance. This is possible only -for signals which don't have <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><span class="type">G_SIGNAL_NO_HOOKS</span></a> flag set. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the signal identifier, as returned by <a class="link" href="gobject-Signals.html#g-signal-lookup" title="g_signal_lookup ()"><code class="function">g_signal_lookup()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail</code></em> :</span></p></td> -<td>the detail on which to call the hook.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>hook_func</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Signals.html#GSignalEmissionHook" title="GSignalEmissionHook ()"><span class="type">GSignalEmissionHook</span></a> function.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>hook_data</code></em> :</span></p></td> -<td>user data for <em class="parameter"><code>hook_func</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data_destroy</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> for <em class="parameter"><code>hook_data</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the hook id, for later use with <a class="link" href="gobject-Signals.html#g-signal-remove-emission-hook" title="g_signal_remove_emission_hook ()"><code class="function">g_signal_remove_emission_hook()</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-remove-emission-hook"></a><h3>g_signal_remove_emission_hook ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_signal_remove_emission_hook (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> signal_id</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> hook_id</code></em>);</pre> -<p> -Deletes an emission hook. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id</code></em> :</span></p></td> -<td>the id of the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>hook_id</code></em> :</span></p></td> -<td>the id of the emission hook, as returned by -<a class="link" href="gobject-Signals.html#g-signal-add-emission-hook" title="g_signal_add_emission_hook ()"><code class="function">g_signal_add_emission_hook()</code></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-parse-name"></a><h3>g_signal_parse_name ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_parse_name (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *detailed_signal</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *signal_id_p</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> *detail_p</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> force_detail_quark</code></em>);</pre> -<p> -Internal function to parse a signal name into its <em class="parameter"><code>signal_id</code></em> -and <em class="parameter"><code>detail</code></em> quark. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>detailed_signal</code></em> :</span></p></td> -<td>a string of the form "signal-name::detail".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>The interface/instance type that introduced "signal-name".</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_id_p</code></em> :</span></p></td> -<td>Location to store the signal id. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>detail_p</code></em> :</span></p></td> -<td>Location to store the detail quark. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>force_detail_quark</code></em> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> forces creation of a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> for the detail.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Whether the signal name could successfully be parsed and <em class="parameter"><code>signal_id_p</code></em> and <em class="parameter"><code>detail_p</code></em> contain valid return values.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-get-invocation-hint"></a><h3>g_signal_get_invocation_hint ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="returnvalue">GSignalInvocationHint</span></a> * g_signal_get_invocation_hint (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>);</pre> -<p> -Returns the invocation hint of the innermost signal emission of instance. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance to query</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the invocation hint of the innermost signal emission. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-type-cclosure-new"></a><h3>g_signal_type_cclosure_new ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="returnvalue">GClosure</span></a> * g_signal_type_cclosure_new (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> itype</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> struct_offset</code></em>);</pre> -<p> -Creates a new closure which invokes the function found at the offset -<em class="parameter"><code>struct_offset</code></em> in the class structure of the interface or classed type -identified by <em class="parameter"><code>itype</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>itype</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> identifier of an interface or classed type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>struct_offset</code></em> :</span></p></td> -<td>the offset of the member function of <em class="parameter"><code>itype</code></em>'s class -structure which is to be invoked by the new closure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new <a class="link" href="gobject-Closures.html#GCClosure" title="struct GCClosure"><span class="type">GCClosure</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-accumulator-first-wins"></a><h3>g_signal_accumulator_first_wins ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_accumulator_first_wins (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre> -<p> -A predefined <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> for signals intended to be used as a -hook for application code to provide a particular value. Usually -only one such value is desired and multiple handlers for the same -signal don't make much sense (except for the case of the default -handler defined in the class structure, in which case you will -usually want the signal connection to override the class handler). -</p> -<p> -This accumulator will use the return value from the first signal -handler that is run as the return value for the signal and not run -any further handlers (ie: the first handler "wins"). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>ihint</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_accu</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>handler_return</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dummy</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> result</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.28</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-signal-accumulator-true-handled"></a><h3>g_signal_accumulator_true_handled ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_signal_accumulator_true_handled (<em class="parameter"><code><a class="link" href="gobject-Signals.html#GSignalInvocationHint" title="struct GSignalInvocationHint"><span class="type">GSignalInvocationHint</span></a> *ihint</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *return_accu</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *handler_return</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dummy</code></em>);</pre> -<p> -A predefined <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> for signals that return a -boolean values. The behavior that this accumulator gives is -that a return of <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> stops the signal emission: no further -callbacks will be invoked, while a return of <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> allows -the emission to continue. The idea here is that a <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> return -indicates that the callback <span class="emphasis"><em>handled</em></span> the signal, -and no further handling is needed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>ihint</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>return_accu</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>handler_return</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>dummy</code></em> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> parameter</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>standard <a class="link" href="gobject-Signals.html#GSignalAccumulator" title="GSignalAccumulator ()"><span class="type">GSignalAccumulator</span></a> result</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -</div> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp21360704" href="#idp21360704" class="para">10</a>] </sup>Although signals can deal with any kind of instantiatable -type, i'm referring to those types as "object types" in the following, -simply because that is the context most users will encounter signals in. -</p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html deleted file mode 100644 index 1f7b627..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +++ /dev/null @@ -1,5324 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Parameters and Values</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Generic-values.html" title="Generic values"> -<link rel="next" href="gobject-GParamSpec.html" title="GParamSpec"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Generic-values.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-GParamSpec.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Standard-Parameter-and-Value-Types.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Standard-Parameter-and-Value-Types.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Standard-Parameter-and-Value-Types"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Standard-Parameter-and-Value-Types.top_of_page"></a>Parameters and Values</span></h2> -<p>Parameters and Values — Standard Parameter and Value Types</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Standard-Parameter-and-Value-Types.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOOLEAN:CAPS" title="G_IS_PARAM_SPEC_BOOLEAN()">G_IS_PARAM_SPEC_BOOLEAN</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOOLEAN:CAPS" title="G_PARAM_SPEC_BOOLEAN()">G_PARAM_SPEC_BOOLEAN</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOOLEAN:CAPS" title="G_VALUE_HOLDS_BOOLEAN()">G_VALUE_HOLDS_BOOLEAN</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS" title="G_TYPE_PARAM_BOOLEAN">G_TYPE_PARAM_BOOLEAN</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean">GParamSpecBoolean</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boolean" title="g_param_spec_boolean ()">g_param_spec_boolean</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boolean" title="g_value_set_boolean ()">g_value_set_boolean</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> v_boolean</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boolean" title="g_value_get_boolean ()">g_value_get_boolean</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-CHAR:CAPS" title="G_IS_PARAM_SPEC_CHAR()">G_IS_PARAM_SPEC_CHAR</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-CHAR:CAPS" title="G_PARAM_SPEC_CHAR()">G_PARAM_SPEC_CHAR</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-CHAR:CAPS" title="G_VALUE_HOLDS_CHAR()">G_VALUE_HOLDS_CHAR</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS" title="G_TYPE_PARAM_CHAR">G_TYPE_PARAM_CHAR</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar">GParamSpecChar</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-char" title="g_param_spec_char ()">g_param_spec_char</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-char" title="g_value_set_char ()">g_value_set_char</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> v_char</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-char" title="g_value_get_char ()">g_value_get_char</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="returnvalue">gint8</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()">g_value_get_schar</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar" title="g_value_set_schar ()">g_value_set_schar</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> v_char</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UCHAR:CAPS" title="G_IS_PARAM_SPEC_UCHAR()">G_IS_PARAM_SPEC_UCHAR</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UCHAR:CAPS" title="G_PARAM_SPEC_UCHAR()">G_PARAM_SPEC_UCHAR</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UCHAR:CAPS" title="G_VALUE_HOLDS_UCHAR()">G_VALUE_HOLDS_UCHAR</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS" title="G_TYPE_PARAM_UCHAR">G_TYPE_PARAM_UCHAR</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar">GParamSpecUChar</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uchar" title="g_param_spec_uchar ()">g_param_spec_uchar</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uchar" title="g_value_set_uchar ()">g_value_set_uchar</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> v_uchar</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uchar" title="g_value_get_uchar ()">g_value_get_uchar</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT:CAPS" title="G_IS_PARAM_SPEC_INT()">G_IS_PARAM_SPEC_INT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT:CAPS" title="G_PARAM_SPEC_INT()">G_PARAM_SPEC_INT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT:CAPS" title="G_VALUE_HOLDS_INT()">G_VALUE_HOLDS_INT</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS" title="G_TYPE_PARAM_INT">G_TYPE_PARAM_INT</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt">GParamSpecInt</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int" title="g_param_spec_int ()">g_param_spec_int</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int" title="g_value_set_int ()">g_value_set_int</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v_int</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int" title="g_value_get_int ()">g_value_get_int</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT:CAPS" title="G_IS_PARAM_SPEC_UINT()">G_IS_PARAM_SPEC_UINT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT:CAPS" title="G_PARAM_SPEC_UINT()">G_PARAM_SPEC_UINT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT:CAPS" title="G_VALUE_HOLDS_UINT()">G_VALUE_HOLDS_UINT</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS" title="G_TYPE_PARAM_UINT">G_TYPE_PARAM_UINT</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt">GParamSpecUInt</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint" title="g_param_spec_uint ()">g_param_spec_uint</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint" title="g_value_set_uint ()">g_value_set_uint</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> v_uint</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint" title="g_value_get_uint ()">g_value_get_uint</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-LONG:CAPS" title="G_IS_PARAM_SPEC_LONG()">G_IS_PARAM_SPEC_LONG</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-LONG:CAPS" title="G_PARAM_SPEC_LONG()">G_PARAM_SPEC_LONG</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-LONG:CAPS" title="G_VALUE_HOLDS_LONG()">G_VALUE_HOLDS_LONG</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS" title="G_TYPE_PARAM_LONG">G_TYPE_PARAM_LONG</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong">GParamSpecLong</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-long" title="g_param_spec_long ()">g_param_spec_long</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-long" title="g_value_set_long ()">g_value_set_long</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> v_long</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="returnvalue">glong</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-long" title="g_value_get_long ()">g_value_get_long</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ULONG:CAPS" title="G_IS_PARAM_SPEC_ULONG()">G_IS_PARAM_SPEC_ULONG</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ULONG:CAPS" title="G_PARAM_SPEC_ULONG()">G_PARAM_SPEC_ULONG</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ULONG:CAPS" title="G_VALUE_HOLDS_ULONG()">G_VALUE_HOLDS_ULONG</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS" title="G_TYPE_PARAM_ULONG">G_TYPE_PARAM_ULONG</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong">GParamSpecULong</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-ulong" title="g_param_spec_ulong ()">g_param_spec_ulong</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-ulong" title="g_value_set_ulong ()">g_value_set_ulong</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> v_ulong</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-ulong" title="g_value_get_ulong ()">g_value_get_ulong</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT64:CAPS" title="G_IS_PARAM_SPEC_INT64()">G_IS_PARAM_SPEC_INT64</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT64:CAPS" title="G_PARAM_SPEC_INT64()">G_PARAM_SPEC_INT64</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT64:CAPS" title="G_VALUE_HOLDS_INT64()">G_VALUE_HOLDS_INT64</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS" title="G_TYPE_PARAM_INT64">G_TYPE_PARAM_INT64</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64">GParamSpecInt64</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int64" title="g_param_spec_int64 ()">g_param_spec_int64</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int64" title="g_value_set_int64 ()">g_value_set_int64</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> v_int64</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int64" title="g_value_get_int64 ()">g_value_get_int64</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT64:CAPS" title="G_IS_PARAM_SPEC_UINT64()">G_IS_PARAM_SPEC_UINT64</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT64:CAPS" title="G_PARAM_SPEC_UINT64()">G_PARAM_SPEC_UINT64</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT64:CAPS" title="G_VALUE_HOLDS_UINT64()">G_VALUE_HOLDS_UINT64</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS" title="G_TYPE_PARAM_UINT64">G_TYPE_PARAM_UINT64</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64">GParamSpecUInt64</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint64" title="g_param_spec_uint64 ()">g_param_spec_uint64</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint64" title="g_value_set_uint64 ()">g_value_set_uint64</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> v_uint64</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint64" title="g_value_get_uint64 ()">g_value_get_uint64</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLOAT:CAPS" title="G_IS_PARAM_SPEC_FLOAT()">G_IS_PARAM_SPEC_FLOAT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLOAT:CAPS" title="G_PARAM_SPEC_FLOAT()">G_PARAM_SPEC_FLOAT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLOAT:CAPS" title="G_VALUE_HOLDS_FLOAT()">G_VALUE_HOLDS_FLOAT</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS" title="G_TYPE_PARAM_FLOAT">G_TYPE_PARAM_FLOAT</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat">GParamSpecFloat</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-float" title="g_param_spec_float ()">g_param_spec_float</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-float" title="g_value_set_float ()">g_value_set_float</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v_float</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-float" title="g_value_get_float ()">g_value_get_float</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-DOUBLE:CAPS" title="G_IS_PARAM_SPEC_DOUBLE()">G_IS_PARAM_SPEC_DOUBLE</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-DOUBLE:CAPS" title="G_PARAM_SPEC_DOUBLE()">G_PARAM_SPEC_DOUBLE</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-DOUBLE:CAPS" title="G_VALUE_HOLDS_DOUBLE()">G_VALUE_HOLDS_DOUBLE</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS" title="G_TYPE_PARAM_DOUBLE">G_TYPE_PARAM_DOUBLE</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble">GParamSpecDouble</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-double" title="g_param_spec_double ()">g_param_spec_double</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-double" title="g_value_set_double ()">g_value_set_double</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> v_double</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-double" title="g_value_get_double ()">g_value_get_double</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ENUM:CAPS" title="G_IS_PARAM_SPEC_ENUM()">G_IS_PARAM_SPEC_ENUM</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ENUM:CAPS" title="G_PARAM_SPEC_ENUM()">G_PARAM_SPEC_ENUM</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ENUM:CAPS" title="G_VALUE_HOLDS_ENUM()">G_VALUE_HOLDS_ENUM</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS" title="G_TYPE_PARAM_ENUM">G_TYPE_PARAM_ENUM</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum">GParamSpecEnum</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum" title="g_param_spec_enum ()">g_param_spec_enum</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> enum_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-enum" title="g_value_set_enum ()">g_value_set_enum</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v_enum</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-enum" title="g_value_get_enum ()">g_value_get_enum</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLAGS:CAPS" title="G_IS_PARAM_SPEC_FLAGS()">G_IS_PARAM_SPEC_FLAGS</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLAGS:CAPS" title="G_PARAM_SPEC_FLAGS()">G_PARAM_SPEC_FLAGS</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLAGS:CAPS" title="G_VALUE_HOLDS_FLAGS()">G_VALUE_HOLDS_FLAGS</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS" title="G_TYPE_PARAM_FLAGS">G_TYPE_PARAM_FLAGS</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags">GParamSpecFlags</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags" title="g_param_spec_flags ()">g_param_spec_flags</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> flags_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-flags" title="g_value_set_flags ()">g_value_set_flags</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> v_flags</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-flags" title="g_value_get_flags ()">g_value_get_flags</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-STRING:CAPS" title="G_IS_PARAM_SPEC_STRING()">G_IS_PARAM_SPEC_STRING</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-STRING:CAPS" title="G_PARAM_SPEC_STRING()">G_PARAM_SPEC_STRING</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-STRING:CAPS" title="G_VALUE_HOLDS_STRING()">G_VALUE_HOLDS_STRING</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS" title="G_TYPE_PARAM_STRING">G_TYPE_PARAM_STRING</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString">GParamSpecString</a>; -typedef <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#gchararray" title="gchararray">gchararray</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string" title="g_param_spec_string ()">g_param_spec_string</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string" title="g_value_set_string ()">g_value_set_string</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string" title="g_value_set_static_string ()">g_value_set_static_string</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string" title="g_value_take_string ()">g_value_take_string</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string-take-ownership" title="g_value_set_string_take_ownership ()">g_value_set_string_take_ownership</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-string" title="g_value_get_string ()">g_value_get_string</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-string" title="g_value_dup_string ()">g_value_dup_string</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-PARAM:CAPS" title="G_IS_PARAM_SPEC_PARAM()">G_IS_PARAM_SPEC_PARAM</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-PARAM:CAPS" title="G_PARAM_SPEC_PARAM()">G_PARAM_SPEC_PARAM</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-PARAM:CAPS" title="G_VALUE_HOLDS_PARAM()">G_VALUE_HOLDS_PARAM</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS" title="G_TYPE_PARAM_PARAM">G_TYPE_PARAM_PARAM</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam">GParamSpecParam</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-param" title="g_param_spec_param ()">g_param_spec_param</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> param_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param" title="g_value_set_param ()">g_value_set_param</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param" title="g_value_take_param ()">g_value_take_param</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param-take-ownership" title="g_value_set_param_take_ownership ()">g_value_set_param_take_ownership</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-param" title="g_value_get_param ()">g_value_get_param</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-param" title="g_value_dup_param ()">g_value_dup_param</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOXED:CAPS" title="G_IS_PARAM_SPEC_BOXED()">G_IS_PARAM_SPEC_BOXED</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOXED:CAPS" title="G_PARAM_SPEC_BOXED()">G_PARAM_SPEC_BOXED</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOXED:CAPS" title="G_VALUE_HOLDS_BOXED()">G_VALUE_HOLDS_BOXED</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS" title="G_TYPE_PARAM_BOXED">G_TYPE_PARAM_BOXED</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed">GParamSpecBoxed</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed" title="g_param_spec_boxed ()">g_param_spec_boxed</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed" title="g_value_set_boxed ()">g_value_set_boxed</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-boxed" title="g_value_set_static_boxed ()">g_value_set_static_boxed</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed" title="g_value_take_boxed ()">g_value_take_boxed</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership" title="g_value_set_boxed_take_ownership ()">g_value_set_boxed_take_ownership</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed" title="g_value_get_boxed ()">g_value_get_boxed</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-boxed" title="g_value_dup_boxed ()">g_value_dup_boxed</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-POINTER:CAPS" title="G_IS_PARAM_SPEC_POINTER()">G_IS_PARAM_SPEC_POINTER</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-POINTER:CAPS" title="G_PARAM_SPEC_POINTER()">G_PARAM_SPEC_POINTER</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-POINTER:CAPS" title="G_VALUE_HOLDS_POINTER()">G_VALUE_HOLDS_POINTER</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS" title="G_TYPE_PARAM_POINTER">G_TYPE_PARAM_POINTER</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer">GParamSpecPointer</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-pointer" title="g_param_spec_pointer ()">g_param_spec_pointer</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-pointer" title="g_value_set_pointer ()">g_value_set_pointer</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_pointer</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-pointer" title="g_value_get_pointer ()">g_value_get_pointer</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OBJECT:CAPS" title="G_IS_PARAM_SPEC_OBJECT()">G_IS_PARAM_SPEC_OBJECT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OBJECT:CAPS" title="G_PARAM_SPEC_OBJECT()">G_PARAM_SPEC_OBJECT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-OBJECT:CAPS" title="G_VALUE_HOLDS_OBJECT()">G_VALUE_HOLDS_OBJECT</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS" title="G_TYPE_PARAM_OBJECT">G_TYPE_PARAM_OBJECT</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject">GParamSpecObject</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object" title="g_param_spec_object ()">g_param_spec_object</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object" title="g_value_set_object ()">g_value_set_object</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()">g_value_take_object</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object-take-ownership" title="g_value_set_object_take_ownership ()">g_value_set_object_take_ownership</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_object</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-object" title="g_value_get_object ()">g_value_get_object</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-object" title="g_value_dup_object ()">g_value_dup_object</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UNICHAR:CAPS" title="G_IS_PARAM_SPEC_UNICHAR()">G_IS_PARAM_SPEC_UNICHAR</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UNICHAR:CAPS" title="G_PARAM_SPEC_UNICHAR()">G_PARAM_SPEC_UNICHAR</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS" title="G_TYPE_PARAM_UNICHAR">G_TYPE_PARAM_UNICHAR</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar">GParamSpecUnichar</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-unichar" title="g_param_spec_unichar ()">g_param_spec_unichar</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_IS_PARAM_SPEC_VALUE_ARRAY()">G_IS_PARAM_SPEC_VALUE_ARRAY</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VALUE-ARRAY:CAPS" title="G_PARAM_SPEC_VALUE_ARRAY()">G_PARAM_SPEC_VALUE_ARRAY</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS" title="G_TYPE_PARAM_VALUE_ARRAY">G_TYPE_PARAM_VALUE_ARRAY</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray">GParamSpecValueArray</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-value-array" title="g_param_spec_value_array ()">g_param_spec_value_array</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *element_spec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OVERRIDE:CAPS" title="G_IS_PARAM_SPEC_OVERRIDE()">G_IS_PARAM_SPEC_OVERRIDE</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OVERRIDE:CAPS" title="G_PARAM_SPEC_OVERRIDE()">G_PARAM_SPEC_OVERRIDE</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS" title="G_TYPE_PARAM_OVERRIDE">G_TYPE_PARAM_OVERRIDE</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride">GParamSpecOverride</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-override" title="g_param_spec_override ()">g_param_spec_override</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *overridden</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-GTYPE:CAPS" title="G_IS_PARAM_SPEC_GTYPE()">G_IS_PARAM_SPEC_GTYPE</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-GTYPE:CAPS" title="G_PARAM_SPEC_GTYPE()">G_PARAM_SPEC_GTYPE</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-GTYPE:CAPS" title="G_VALUE_HOLDS_GTYPE()">G_VALUE_HOLDS_GTYPE</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS" title="G_TYPE_PARAM_GTYPE">G_TYPE_PARAM_GTYPE</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType">GParamSpecGType</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-gtype" title="g_param_spec_gtype ()">g_param_spec_gtype</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> is_a_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-gtype" title="g_value_get_gtype ()">g_value_get_gtype</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-gtype" title="g_value_set_gtype ()">g_value_set_gtype</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> v_gtype</code></em>); - -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VARIANT:CAPS" title="G_IS_PARAM_SPEC_VARIANT()">G_IS_PARAM_SPEC_VARIANT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VARIANT:CAPS" title="G_PARAM_SPEC_VARIANT()">G_PARAM_SPEC_VARIANT</a> (pspec) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-VARIANT:CAPS" title="G_VALUE_HOLDS_VARIANT()">G_VALUE_HOLDS_VARIANT</a> (value) -#define <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS" title="G_TYPE_PARAM_VARIANT">G_TYPE_PARAM_VARIANT</a> -struct <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant">GParamSpecVariant</a>; -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-variant" title="g_param_spec_variant ()">g_param_spec_variant</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>); -<a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-variant" title="g_value_get_variant ()">g_value_get_variant</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-variant" title="g_value_dup_variant ()">g_value_dup_variant</a> (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant" title="g_value_set_variant ()">g_value_set_variant</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-variant" title="g_value_take_variant ()">g_value_take_variant</a> (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Standard-Parameter-and-Value-Types.description"></a><h2>Description</h2> -<p> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> provides an abstract container structure which can be -copied, transformed and compared while holding a value of any -(derived) type, which is registered as a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> with a -<a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> in its <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure. Parameter -specifications for most value types can be created as <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -derived instances, to implement e.g. <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> properties which -operate on <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> containers. -</p> -<p> -Parameter names need to start with a letter (a-z or A-Z). Subsequent -characters can be letters, numbers or a '-'. -All other characters are replaced by a '-' during construction. -</p> -</div> -<div class="refsect1"> -<a name="gobject-Standard-Parameter-and-Value-Types.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-BOOLEAN:CAPS"></a><h3>G_IS_PARAM_SPEC_BOOLEAN()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOOLEAN)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS" title="G_TYPE_PARAM_BOOLEAN"><code class="literal">G_TYPE_PARAM_BOOLEAN</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-BOOLEAN:CAPS"></a><h3>G_PARAM_SPEC_BOOLEAN()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_BOOLEAN(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOOLEAN, GParamSpecBoolean)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-BOOLEAN:CAPS"></a><h3>G_VALUE_HOLDS_BOOLEAN()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_BOOLEAN(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOOLEAN)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-BOOLEAN:CAPS"></a><h3>G_TYPE_PARAM_BOOLEAN</h3> -<pre class="programlisting">#define G_TYPE_PARAM_BOOLEAN (g_param_spec_types[2]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecBoolean"></a><h3>struct GParamSpecBoolean</h3> -<pre class="programlisting">struct GParamSpecBoolean { - GParamSpec parent_instance; - - gboolean default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for boolean properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecBoolean.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GParamSpecBoolean.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-boolean"></a><h3>g_param_spec_boolean ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_boolean (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean" title="struct GParamSpecBoolean"><span class="type">GParamSpecBoolean</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> -property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-boolean"></a><h3>g_value_set_boolean ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_boolean (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> v_boolean</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boolean</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_boolean</code></em> :</span></p></td> -<td>boolean value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-boolean"></a><h3>g_value_get_boolean ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_value_get_boolean (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN"><code class="literal">G_TYPE_BOOLEAN</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>boolean contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-CHAR:CAPS"></a><h3>G_IS_PARAM_SPEC_CHAR()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_CHAR)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS" title="G_TYPE_PARAM_CHAR"><code class="literal">G_TYPE_PARAM_CHAR</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-CHAR:CAPS"></a><h3>G_PARAM_SPEC_CHAR()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_CHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_CHAR, GParamSpecChar)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar"><span class="type">GParamSpecChar</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-CHAR:CAPS"></a><h3>G_VALUE_HOLDS_CHAR()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_CHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_CHAR)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-CHAR:CAPS"></a><h3>G_TYPE_PARAM_CHAR</h3> -<pre class="programlisting">#define G_TYPE_PARAM_CHAR (g_param_spec_types[0]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar"><span class="type">GParamSpecChar</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecChar"></a><h3>struct GParamSpecChar</h3> -<pre class="programlisting">struct GParamSpecChar { - GParamSpec parent_instance; - - gint8 minimum; - gint8 maximum; - gint8 default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for character properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecChar.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GParamSpecChar.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GParamSpecChar.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> <em class="structfield"><code><a name="GParamSpecChar.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-char"></a><h3>g_param_spec_char ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_char (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar" title="struct GParamSpecChar"><span class="type">GParamSpecChar</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-char"></a><h3>g_value_set_char ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_char (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> v_char</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_set_char</code> has been deprecated since version 2.32 and should not be used in newly-written code. This function's input type is broken, see <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar" title="g_value_set_schar ()"><code class="function">g_value_set_schar()</code></a></p> -</div> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_char</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_char</code></em> :</span></p></td> -<td>character value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-char"></a><h3>g_value_get_char ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> g_value_get_char (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_get_char</code> has been deprecated since version 2.32 and should not be used in newly-written code. This function's return type is broken, see <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()"><code class="function">g_value_get_schar()</code></a></p> -</div> -<p> -Do not use this function; it is broken on platforms where the <code class="literal">char</code> -type is unsigned, such as ARM and PowerPC. See <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" title="g_value_get_schar ()"><code class="function">g_value_get_schar()</code></a>. -</p> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>character contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-schar"></a><h3>g_value_get_schar ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="returnvalue">gint8</span></a> g_value_get_schar (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>signed 8 bit integer contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-schar"></a><h3>g_value_set_schar ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_schar (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint8"><span class="type">gint8</span></a> v_char</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_char</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR"><code class="literal">G_TYPE_CHAR</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_char</code></em> :</span></p></td> -<td>signed 8 bit integer to be set</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-UCHAR:CAPS"></a><h3>G_IS_PARAM_SPEC_UCHAR()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UCHAR)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS" title="G_TYPE_PARAM_UCHAR"><code class="literal">G_TYPE_PARAM_UCHAR</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-UCHAR:CAPS"></a><h3>G_PARAM_SPEC_UCHAR()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_UCHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UCHAR, GParamSpecUChar)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar"><span class="type">GParamSpecUChar</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-UCHAR:CAPS"></a><h3>G_VALUE_HOLDS_UCHAR()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_UCHAR(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UCHAR)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-UCHAR:CAPS"></a><h3>G_TYPE_PARAM_UCHAR</h3> -<pre class="programlisting">#define G_TYPE_PARAM_UCHAR (g_param_spec_types[1]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar"><span class="type">GParamSpecUChar</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecUChar"></a><h3>struct GParamSpecUChar</h3> -<pre class="programlisting">struct GParamSpecUChar { - GParamSpec parent_instance; - - guint8 minimum; - guint8 maximum; - guint8 default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned character properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecUChar.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GParamSpecUChar.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GParamSpecUChar.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GParamSpecUChar.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-uchar"></a><h3>g_param_spec_uchar ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_uchar (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar" title="struct GParamSpecUChar"><span class="type">GParamSpecUChar</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-uchar"></a><h3>g_value_set_uchar ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_uchar (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> v_uchar</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uchar</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_uchar</code></em> :</span></p></td> -<td>unsigned character value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-uchar"></a><h3>g_value_get_uchar ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> g_value_get_uchar (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR"><code class="literal">G_TYPE_UCHAR</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>unsigned character contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-INT:CAPS"></a><h3>G_IS_PARAM_SPEC_INT()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS" title="G_TYPE_PARAM_INT"><code class="literal">G_TYPE_PARAM_INT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-INT:CAPS"></a><h3>G_PARAM_SPEC_INT()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_INT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT, GParamSpecInt)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-INT:CAPS"></a><h3>G_VALUE_HOLDS_INT()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_INT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-INT:CAPS"></a><h3>G_TYPE_PARAM_INT</h3> -<pre class="programlisting">#define G_TYPE_PARAM_INT (g_param_spec_types[3]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecInt"></a><h3>struct GParamSpecInt</h3> -<pre class="programlisting">struct GParamSpecInt { - GParamSpec parent_instance; - - gint minimum; - gint maximum; - gint default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for integer properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecInt.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GParamSpecInt.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GParamSpecInt.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GParamSpecInt.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-int"></a><h3>g_param_spec_int ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_int (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt" title="struct GParamSpecInt"><span class="type">GParamSpecInt</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-int"></a><h3>g_value_set_int ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_int (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v_int</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_int</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_int</code></em> :</span></p></td> -<td>integer value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-int"></a><h3>g_value_get_int ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> g_value_get_int (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><code class="literal">G_TYPE_INT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>integer contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-UINT:CAPS"></a><h3>G_IS_PARAM_SPEC_UINT()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS" title="G_TYPE_PARAM_UINT"><code class="literal">G_TYPE_PARAM_UINT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-UINT:CAPS"></a><h3>G_PARAM_SPEC_UINT()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_UINT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT, GParamSpecUInt)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt"><span class="type">GParamSpecUInt</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-UINT:CAPS"></a><h3>G_VALUE_HOLDS_UINT()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_UINT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-UINT:CAPS"></a><h3>G_TYPE_PARAM_UINT</h3> -<pre class="programlisting">#define G_TYPE_PARAM_UINT (g_param_spec_types[4]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt"><span class="type">GParamSpecUInt</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecUInt"></a><h3>struct GParamSpecUInt</h3> -<pre class="programlisting">struct GParamSpecUInt { - GParamSpec parent_instance; - - guint minimum; - guint maximum; - guint default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned integer properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecUInt.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GParamSpecUInt.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GParamSpecUInt.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GParamSpecUInt.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-uint"></a><h3>g_param_spec_uint ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_uint (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt" title="struct GParamSpecUInt"><span class="type">GParamSpecUInt</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-uint"></a><h3>g_value_set_uint ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_uint (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> v_uint</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uint</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_uint</code></em> :</span></p></td> -<td>unsigned integer value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-uint"></a><h3>g_value_get_uint ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_value_get_uint (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>unsigned integer contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-LONG:CAPS"></a><h3>G_IS_PARAM_SPEC_LONG()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_LONG)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS" title="G_TYPE_PARAM_LONG"><code class="literal">G_TYPE_PARAM_LONG</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-LONG:CAPS"></a><h3>G_PARAM_SPEC_LONG()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_LONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_LONG, GParamSpecLong)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong"><span class="type">GParamSpecLong</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-LONG:CAPS"></a><h3>G_VALUE_HOLDS_LONG()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_LONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_LONG)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-LONG:CAPS"></a><h3>G_TYPE_PARAM_LONG</h3> -<pre class="programlisting">#define G_TYPE_PARAM_LONG (g_param_spec_types[5]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong"><span class="type">GParamSpecLong</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecLong"></a><h3>struct GParamSpecLong</h3> -<pre class="programlisting">struct GParamSpecLong { - GParamSpec parent_instance; - - glong minimum; - glong maximum; - glong default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for long integer properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecLong.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> <em class="structfield"><code><a name="GParamSpecLong.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> <em class="structfield"><code><a name="GParamSpecLong.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> <em class="structfield"><code><a name="GParamSpecLong.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-long"></a><h3>g_param_spec_long ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_long (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong" title="struct GParamSpecLong"><span class="type">GParamSpecLong</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-long"></a><h3>g_value_set_long ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_long (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> v_long</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_long</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_long</code></em> :</span></p></td> -<td>long integer value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-long"></a><h3>g_value_get_long ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="returnvalue">glong</span></a> g_value_get_long (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG"><code class="literal">G_TYPE_LONG</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>long integer contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-ULONG:CAPS"></a><h3>G_IS_PARAM_SPEC_ULONG()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ULONG)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS" title="G_TYPE_PARAM_ULONG"><code class="literal">G_TYPE_PARAM_ULONG</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-ULONG:CAPS"></a><h3>G_PARAM_SPEC_ULONG()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_ULONG(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ULONG, GParamSpecULong)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong"><span class="type">GParamSpecULong</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-ULONG:CAPS"></a><h3>G_VALUE_HOLDS_ULONG()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_ULONG(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ULONG)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-ULONG:CAPS"></a><h3>G_TYPE_PARAM_ULONG</h3> -<pre class="programlisting">#define G_TYPE_PARAM_ULONG (g_param_spec_types[6]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong"><span class="type">GParamSpecULong</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecULong"></a><h3>struct GParamSpecULong</h3> -<pre class="programlisting">struct GParamSpecULong { - GParamSpec parent_instance; - - gulong minimum; - gulong maximum; - gulong default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned long integer properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecULong.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> <em class="structfield"><code><a name="GParamSpecULong.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> <em class="structfield"><code><a name="GParamSpecULong.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> <em class="structfield"><code><a name="GParamSpecULong.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-ulong"></a><h3>g_param_spec_ulong ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_ulong (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong" title="struct GParamSpecULong"><span class="type">GParamSpecULong</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> -property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-ulong"></a><h3>g_value_set_ulong ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_ulong (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> v_ulong</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_ulong</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_ulong</code></em> :</span></p></td> -<td>unsigned long integer value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-ulong"></a><h3>g_value_get_ulong ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="returnvalue">gulong</span></a> g_value_get_ulong (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG"><code class="literal">G_TYPE_ULONG</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>unsigned long integer contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-INT64:CAPS"></a><h3>G_IS_PARAM_SPEC_INT64()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_INT64)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS" title="G_TYPE_PARAM_INT64"><code class="literal">G_TYPE_PARAM_INT64</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-INT64:CAPS"></a><h3>G_PARAM_SPEC_INT64()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_INT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_INT64, GParamSpecInt64)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64"><span class="type">GParamSpecInt64</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-INT64:CAPS"></a><h3>G_VALUE_HOLDS_INT64()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_INT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_INT64)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-INT64:CAPS"></a><h3>G_TYPE_PARAM_INT64</h3> -<pre class="programlisting">#define G_TYPE_PARAM_INT64 (g_param_spec_types[7]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64"><span class="type">GParamSpecInt64</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecInt64"></a><h3>struct GParamSpecInt64</h3> -<pre class="programlisting">struct GParamSpecInt64 { - GParamSpec parent_instance; - - gint64 minimum; - gint64 maximum; - gint64 default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for 64bit integer properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecInt64.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> <em class="structfield"><code><a name="GParamSpecInt64.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> <em class="structfield"><code><a name="GParamSpecInt64.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> <em class="structfield"><code><a name="GParamSpecInt64.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-int64"></a><h3>g_param_spec_int64 ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_int64 (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64" title="struct GParamSpecInt64"><span class="type">GParamSpecInt64</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-int64"></a><h3>g_value_set_int64 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_int64 (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> v_int64</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_int64</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_int64</code></em> :</span></p></td> -<td>64bit integer value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-int64"></a><h3>g_value_get_int64 ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> g_value_get_int64 (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64"><code class="literal">G_TYPE_INT64</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>64bit integer contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-UINT64:CAPS"></a><h3>G_IS_PARAM_SPEC_UINT64()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UINT64)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS" title="G_TYPE_PARAM_UINT64"><code class="literal">G_TYPE_PARAM_UINT64</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-UINT64:CAPS"></a><h3>G_PARAM_SPEC_UINT64()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_UINT64(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UINT64, GParamSpecUInt64)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-UINT64:CAPS"></a><h3>G_VALUE_HOLDS_UINT64()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_UINT64(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_UINT64)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-UINT64:CAPS"></a><h3>G_TYPE_PARAM_UINT64</h3> -<pre class="programlisting">#define G_TYPE_PARAM_UINT64 (g_param_spec_types[8]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecUInt64"></a><h3>struct GParamSpecUInt64</h3> -<pre class="programlisting">struct GParamSpecUInt64 { - GParamSpec parent_instance; - - guint64 minimum; - guint64 maximum; - guint64 default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unsigned 64bit integer properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecUInt64.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="GParamSpecUInt64.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="GParamSpecUInt64.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> <em class="structfield"><code><a name="GParamSpecUInt64.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-uint64"></a><h3>g_param_spec_uint64 ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_uint64 (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64" title="struct GParamSpecUInt64"><span class="type">GParamSpecUInt64</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> -property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-uint64"></a><h3>g_value_set_uint64 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_uint64 (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> v_uint64</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_uint64</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_uint64</code></em> :</span></p></td> -<td>unsigned 64bit integer value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-uint64"></a><h3>g_value_get_uint64 ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a> g_value_get_uint64 (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64"><code class="literal">G_TYPE_UINT64</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>unsigned 64bit integer contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-FLOAT:CAPS"></a><h3>G_IS_PARAM_SPEC_FLOAT()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLOAT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS" title="G_TYPE_PARAM_FLOAT"><code class="literal">G_TYPE_PARAM_FLOAT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-FLOAT:CAPS"></a><h3>G_PARAM_SPEC_FLOAT()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_FLOAT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLOAT, GParamSpecFloat)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat"><span class="type">GParamSpecFloat</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-FLOAT:CAPS"></a><h3>G_VALUE_HOLDS_FLOAT()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_FLOAT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLOAT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-FLOAT:CAPS"></a><h3>G_TYPE_PARAM_FLOAT</h3> -<pre class="programlisting">#define G_TYPE_PARAM_FLOAT (g_param_spec_types[12]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat"><span class="type">GParamSpecFloat</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecFloat"></a><h3>struct GParamSpecFloat</h3> -<pre class="programlisting">struct GParamSpecFloat { - GParamSpec parent_instance; - - gfloat minimum; - gfloat maximum; - gfloat default_value; - gfloat epsilon; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for float properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecFloat.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> <em class="structfield"><code><a name="GParamSpecFloat.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> <em class="structfield"><code><a name="GParamSpecFloat.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> <em class="structfield"><code><a name="GParamSpecFloat.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> <em class="structfield"><code><a name="GParamSpecFloat.epsilon"></a>epsilon</code></em>;</span></p></td> -<td>values closer than <em class="parameter"><code>epsilon</code></em> will be considered identical -by <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()"><code class="function">g_param_values_cmp()</code></a>; the default value is 1e-30.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-float"></a><h3>g_param_spec_float ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_float (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat" title="struct GParamSpecFloat"><span class="type">GParamSpecFloat</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-float"></a><h3>g_value_set_float ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_float (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v_float</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_float</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_float</code></em> :</span></p></td> -<td>float value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-float"></a><h3>g_value_get_float ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a> g_value_get_float (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT"><code class="literal">G_TYPE_FLOAT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>float contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-DOUBLE:CAPS"></a><h3>G_IS_PARAM_SPEC_DOUBLE()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_DOUBLE)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS" title="G_TYPE_PARAM_DOUBLE"><code class="literal">G_TYPE_PARAM_DOUBLE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-DOUBLE:CAPS"></a><h3>G_PARAM_SPEC_DOUBLE()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_DOUBLE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_DOUBLE, GParamSpecDouble)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble"><span class="type">GParamSpecDouble</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-DOUBLE:CAPS"></a><h3>G_VALUE_HOLDS_DOUBLE()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_DOUBLE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_DOUBLE)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-DOUBLE:CAPS"></a><h3>G_TYPE_PARAM_DOUBLE</h3> -<pre class="programlisting">#define G_TYPE_PARAM_DOUBLE (g_param_spec_types[13]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble"><span class="type">GParamSpecDouble</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecDouble"></a><h3>struct GParamSpecDouble</h3> -<pre class="programlisting">struct GParamSpecDouble { - GParamSpec parent_instance; - - gdouble minimum; - gdouble maximum; - gdouble default_value; - gdouble epsilon; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for double properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecDouble.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GParamSpecDouble.minimum"></a>minimum</code></em>;</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GParamSpecDouble.maximum"></a>maximum</code></em>;</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GParamSpecDouble.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GParamSpecDouble.epsilon"></a>epsilon</code></em>;</span></p></td> -<td>values closer than <em class="parameter"><code>epsilon</code></em> will be considered identical -by <a class="link" href="gobject-GParamSpec.html#g-param-values-cmp" title="g_param_values_cmp ()"><code class="function">g_param_values_cmp()</code></a>; the default value is 1e-90.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-double"></a><h3>g_param_spec_double ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_double (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> minimum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> maximum</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble" title="struct GParamSpecDouble"><span class="type">GParamSpecDouble</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> -property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td> -<td>minimum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td> -<td>maximum value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-double"></a><h3>g_value_set_double ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_double (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> v_double</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_double</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_double</code></em> :</span></p></td> -<td>double value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-double"></a><h3>g_value_get_double ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> g_value_get_double (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE"><code class="literal">G_TYPE_DOUBLE</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>double contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-ENUM:CAPS"></a><h3>G_IS_PARAM_SPEC_ENUM()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_ENUM)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS" title="G_TYPE_PARAM_ENUM"><code class="literal">G_TYPE_PARAM_ENUM</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-ENUM:CAPS"></a><h3>G_PARAM_SPEC_ENUM()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_ENUM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_ENUM, GParamSpecEnum)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum"><span class="type">GParamSpecEnum</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-ENUM:CAPS"></a><h3>G_VALUE_HOLDS_ENUM()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_ENUM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_ENUM)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-ENUM:CAPS"></a><h3>G_TYPE_PARAM_ENUM</h3> -<pre class="programlisting">#define G_TYPE_PARAM_ENUM (g_param_spec_types[10]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum"><span class="type">GParamSpecEnum</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecEnum"></a><h3>struct GParamSpecEnum</h3> -<pre class="programlisting">struct GParamSpecEnum { - GParamSpec parent_instance; - - GEnumClass *enum_class; - gint default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for enum -properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecEnum.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> *<em class="structfield"><code><a name="GParamSpecEnum.enum-class"></a>enum_class</code></em>;</span></p></td> -<td>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GEnumClass" title="struct GEnumClass"><span class="type">GEnumClass</span></a> for the enum</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GParamSpecEnum.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-enum"></a><h3>g_param_spec_enum ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_enum (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> enum_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum" title="struct GParamSpecEnum"><span class="type">GParamSpecEnum</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> -property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-enum"></a><h3>g_value_set_enum ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_enum (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v_enum</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_enum</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_enum</code></em> :</span></p></td> -<td>enum value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-enum"></a><h3>g_value_get_enum ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> g_value_get_enum (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM"><code class="literal">G_TYPE_ENUM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>enum contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-FLAGS:CAPS"></a><h3>G_IS_PARAM_SPEC_FLAGS()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_FLAGS)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS" title="G_TYPE_PARAM_FLAGS"><code class="literal">G_TYPE_PARAM_FLAGS</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-FLAGS:CAPS"></a><h3>G_PARAM_SPEC_FLAGS()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_FLAGS(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_FLAGS, GParamSpecFlags)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags"><span class="type">GParamSpecFlags</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-FLAGS:CAPS"></a><h3>G_VALUE_HOLDS_FLAGS()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_FLAGS(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_FLAGS)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-FLAGS:CAPS"></a><h3>G_TYPE_PARAM_FLAGS</h3> -<pre class="programlisting">#define G_TYPE_PARAM_FLAGS (g_param_spec_types[11]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags"><span class="type">GParamSpecFlags</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecFlags"></a><h3>struct GParamSpecFlags</h3> -<pre class="programlisting">struct GParamSpecFlags { - GParamSpec parent_instance; - - GFlagsClass *flags_class; - guint default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for flags -properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecFlags.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> *<em class="structfield"><code><a name="GParamSpecFlags.flags-class"></a>flags_class</code></em>;</span></p></td> -<td>the <a class="link" href="gobject-Enumeration-and-Flag-Types.html#GFlagsClass" title="struct GFlagsClass"><span class="type">GFlagsClass</span></a> for the flags</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GParamSpecFlags.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-flags"></a><h3>g_param_spec_flags ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_flags (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> flags_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags" title="struct GParamSpecFlags"><span class="type">GParamSpecFlags</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> -property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags_type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-flags"></a><h3>g_value_set_flags ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_flags (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> v_flags</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_flags</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_flags</code></em> :</span></p></td> -<td>flags value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-flags"></a><h3>g_value_get_flags ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_value_get_flags (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS"><code class="literal">G_TYPE_FLAGS</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>flags contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-STRING:CAPS"></a><h3>G_IS_PARAM_SPEC_STRING()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_STRING)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS" title="G_TYPE_PARAM_STRING"><code class="literal">G_TYPE_PARAM_STRING</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-STRING:CAPS"></a><h3>G_PARAM_SPEC_STRING()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_STRING(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_STRING, GParamSpecString)) -</pre> -<p> -Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString"><span class="type">GParamSpecString</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-STRING:CAPS"></a><h3>G_VALUE_HOLDS_STRING()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_STRING(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_STRING)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-STRING:CAPS"></a><h3>G_TYPE_PARAM_STRING</h3> -<pre class="programlisting">#define G_TYPE_PARAM_STRING (g_param_spec_types[14]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString"><span class="type">GParamSpecString</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecString"></a><h3>struct GParamSpecString</h3> -<pre class="programlisting">struct GParamSpecString { - GParamSpec parent_instance; - - gchar *default_value; - gchar *cset_first; - gchar *cset_nth; - gchar substitutor; - guint null_fold_if_empty : 1; - guint ensure_non_null : 1; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for string -properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecString.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GParamSpecString.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GParamSpecString.cset-first"></a>cset_first</code></em>;</span></p></td> -<td>a string containing the allowed values for the first byte</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GParamSpecString.cset-nth"></a>cset_nth</code></em>;</span></p></td> -<td>a string containing the allowed values for the subsequent bytes</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> <em class="structfield"><code><a name="GParamSpecString.substitutor"></a>substitutor</code></em>;</span></p></td> -<td>the replacement byte for bytes which don't match <em class="parameter"><code>cset_first</code></em> or <em class="parameter"><code>cset_nth</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GParamSpecString.null-fold-if-empty"></a>null_fold_if_empty</code></em> : 1;</span></p></td> -<td>replace empty string by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GParamSpecString.ensure-non-null"></a>ensure_non_null</code></em> : 1;</span></p></td> -<td>replace <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> strings by an empty string</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gchararray"></a><h3>gchararray</h3> -<pre class="programlisting">typedef gchar* gchararray; -</pre> -<p> -A C representable type name for <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><span class="type">G_TYPE_STRING</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-string"></a><h3>g_param_spec_string ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_string (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString" title="struct GParamSpecString"><span class="type">GParamSpecString</span></a> instance. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-string"></a><h3>g_value_set_string ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_string (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_string</code></em> :</span></p></td> -<td>caller-owned string to be duplicated for the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-static-string"></a><h3>g_value_set_static_string ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_static_string (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em>. -The string is assumed to be static, and is thus not duplicated -when setting the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_string</code></em> :</span></p></td> -<td>static string to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-take-string"></a><h3>g_value_take_string ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_take_string (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>);</pre> -<p> -Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_string</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_string</code></em> :</span></p></td> -<td>string to take ownership of. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-string-take-ownership"></a><h3>g_value_set_string_take_ownership ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_string_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *v_string</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_set_string_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string" title="g_value_take_string ()"><code class="function">g_value_take_string()</code></a> instead.</p> -</div> -<p> -This is an internal function introduced mainly for C marshallers. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_string</code></em> :</span></p></td> -<td>duplicated unowned string to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-string"></a><h3>g_value_get_string ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_value_get_string (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>string content of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-dup-string"></a><h3>g_value_dup_string ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_value_dup_string (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get a copy the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><code class="literal">G_TYPE_STRING</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly allocated copy of the string content of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-PARAM:CAPS"></a><h3>G_IS_PARAM_SPEC_PARAM()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_PARAM)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS" title="G_TYPE_PARAM_PARAM"><code class="literal">G_TYPE_PARAM_PARAM</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-PARAM:CAPS"></a><h3>G_PARAM_SPEC_PARAM()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_PARAM(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_PARAM, GParamSpecParam)) -</pre> -<p> -Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam"><span class="type">GParamSpecParam</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-PARAM:CAPS"></a><h3>G_VALUE_HOLDS_PARAM()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_PARAM(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_PARAM)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-PARAM:CAPS"></a><h3>G_TYPE_PARAM_PARAM</h3> -<pre class="programlisting">#define G_TYPE_PARAM_PARAM (g_param_spec_types[15]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam"><span class="type">GParamSpecParam</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecParam"></a><h3>struct GParamSpecParam</h3> -<pre class="programlisting">struct GParamSpecParam { - GParamSpec parent_instance; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecParam.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-param"></a><h3>g_param_spec_param ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_param (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> param_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam" title="struct GParamSpecParam"><span class="type">GParamSpecParam</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param_type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-param"></a><h3>g_value_set_param ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_param (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>param</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-take-param"></a><h3>g_value_take_param ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_take_param (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>);</pre> -<p> -Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>param</code></em> and takes -over the ownership of the callers reference to <em class="parameter"><code>param</code></em>; the caller -doesn't have to unref it any more. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-param-take-ownership"></a><h3>g_value_set_param_take_ownership ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_param_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *param</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_set_param_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param" title="g_value_take_param ()"><code class="function">g_value_take_param()</code></a> instead.</p> -</div> -<p> -This is an internal function introduced mainly for C marshallers. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>param</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-param"></a><h3>g_value_get_param ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_value_get_param (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> content of <em class="parameter"><code>value</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-dup-param"></a><h3>g_value_dup_param ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_value_dup_param (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, increasing its -reference count. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM"><code class="literal">G_TYPE_PARAM</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> content of <em class="parameter"><code>value</code></em>, should be unreferenced when -no longer needed.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-BOXED:CAPS"></a><h3>G_IS_PARAM_SPEC_BOXED()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_BOXED)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS" title="G_TYPE_PARAM_BOXED"><code class="literal">G_TYPE_PARAM_BOXED</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-BOXED:CAPS"></a><h3>G_PARAM_SPEC_BOXED()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_BOXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_BOXED, GParamSpecBoxed)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-BOXED:CAPS"></a><h3>G_VALUE_HOLDS_BOXED()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_BOXED(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_BOXED)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values derived -from type <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-BOXED:CAPS"></a><h3>G_TYPE_PARAM_BOXED</h3> -<pre class="programlisting">#define G_TYPE_PARAM_BOXED (g_param_spec_types[16]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecBoxed"></a><h3>struct GParamSpecBoxed</h3> -<pre class="programlisting">struct GParamSpecBoxed { - GParamSpec parent_instance; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for boxed properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecBoxed.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-boxed"></a><h3>g_param_spec_boxed ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_boxed (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> boxed_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> -derived property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>boxed_type</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type of this property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-boxed"></a><h3>g_value_set_boxed ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_boxed (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></p></td> -<td>boxed value to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-static-boxed"></a><h3>g_value_set_static_boxed ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_static_boxed (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em>. -The boxed value is assumed to be static, and is thus not duplicated -when setting the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></p></td> -<td>static boxed value to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-take-boxed"></a><h3>g_value_take_boxed ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_take_boxed (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>);</pre> -<p> -Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_boxed</code></em> -and takes over the ownership of the callers reference to <em class="parameter"><code>v_boxed</code></em>; -the caller doesn't have to unref it any more. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></p></td> -<td>duplicated unowned boxed value to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-boxed-take-ownership"></a><h3>g_value_set_boxed_take_ownership ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_boxed_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> v_boxed</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_set_boxed_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed" title="g_value_take_boxed ()"><code class="function">g_value_take_boxed()</code></a> instead.</p> -</div> -<p> -This is an internal function introduced mainly for C marshallers. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_boxed</code></em> :</span></p></td> -<td>duplicated unowned boxed value to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-boxed"></a><h3>g_value_get_boxed ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_value_get_boxed (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>boxed contents of <em class="parameter"><code>value</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-dup-boxed"></a><h3>g_value_dup_boxed ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_value_dup_boxed (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. Upon getting, -the boxed value is duplicated and needs to be later freed with -<a class="link" href="gobject-Boxed-Types.html#g-boxed-free" title="g_boxed_free ()"><code class="function">g_boxed_free()</code></a>, e.g. like: g_boxed_free (G_VALUE_TYPE (<em class="parameter"><code>value</code></em>), -return_value); -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>boxed contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-POINTER:CAPS"></a><h3>G_IS_PARAM_SPEC_POINTER()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_POINTER)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS" title="G_TYPE_PARAM_POINTER"><code class="literal">G_TYPE_PARAM_POINTER</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-POINTER:CAPS"></a><h3>G_PARAM_SPEC_POINTER()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_POINTER(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_POINTER, GParamSpecPointer)) -</pre> -<p> -Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer"><span class="type">GParamSpecPointer</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-POINTER:CAPS"></a><h3>G_VALUE_HOLDS_POINTER()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_POINTER(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_POINTER)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-POINTER:CAPS"></a><h3>G_TYPE_PARAM_POINTER</h3> -<pre class="programlisting">#define G_TYPE_PARAM_POINTER (g_param_spec_types[17]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer"><span class="type">GParamSpecPointer</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecPointer"></a><h3>struct GParamSpecPointer</h3> -<pre class="programlisting">struct GParamSpecPointer { - GParamSpec parent_instance; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for pointer properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecPointer.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-pointer"></a><h3>g_param_spec_pointer ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_pointer (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer" title="struct GParamSpecPointer"><span class="type">GParamSpecPointer</span></a> instance specifying a pointer property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-pointer"></a><h3>g_value_set_pointer ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_pointer (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_pointer</code></em>);</pre> -<p> -Set the contents of a pointer <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_pointer</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_pointer</code></em> :</span></p></td> -<td>pointer value to be set</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-pointer"></a><h3>g_value_get_pointer ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_value_get_pointer (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a pointer <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER"><code class="literal">G_TYPE_POINTER</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>pointer contents of <em class="parameter"><code>value</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-OBJECT:CAPS"></a><h3>G_IS_PARAM_SPEC_OBJECT()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OBJECT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS" title="G_TYPE_PARAM_OBJECT"><code class="literal">G_TYPE_PARAM_OBJECT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-OBJECT:CAPS"></a><h3>G_PARAM_SPEC_OBJECT()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OBJECT, GParamSpecObject)) -</pre> -<p> -Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject"><span class="type">GParamSpecObject</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-OBJECT:CAPS"></a><h3>G_VALUE_HOLDS_OBJECT()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_OBJECT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_OBJECT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values derived from type <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-OBJECT:CAPS"></a><h3>G_TYPE_PARAM_OBJECT</h3> -<pre class="programlisting">#define G_TYPE_PARAM_OBJECT (g_param_spec_types[19]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject"><span class="type">GParamSpecObject</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecObject"></a><h3>struct GParamSpecObject</h3> -<pre class="programlisting">struct GParamSpecObject { - GParamSpec parent_instance; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for object properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecObject.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-object"></a><h3>g_param_spec_object ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_object (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed" title="struct GParamSpecBoxed"><span class="type">GParamSpecBoxed</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> -derived property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>object_type</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type of this property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-object"></a><h3>g_value_set_object ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_object (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_object</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_object</code></em>. -</p> -<p> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object" title="g_value_set_object ()"><code class="function">g_value_set_object()</code></a> increases the reference count of <em class="parameter"><code>v_object</code></em> -(the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> holds a reference to <em class="parameter"><code>v_object</code></em>). If you do not wish -to increase the reference count of the object (i.e. you wish to -pass your current reference to the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> because you no longer -need it), use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()"><code class="function">g_value_take_object()</code></a> instead. -</p> -<p> -It is important that your <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> holds a reference to <em class="parameter"><code>v_object</code></em> (either its -own, or one it has taken) to ensure that the object won't be destroyed while -the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> still exists). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_object</code></em> :</span></p></td> -<td>object value to be set. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-take-object"></a><h3>g_value_take_object ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_take_object (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_object</code></em>);</pre> -<p> -Sets the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_object</code></em> -and takes over the ownership of the callers reference to <em class="parameter"><code>v_object</code></em>; -the caller doesn't have to unref it any more (i.e. the reference -count of the object is not increased). -</p> -<p> -If you want the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to hold its own reference to <em class="parameter"><code>v_object</code></em>, use -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object" title="g_value_set_object ()"><code class="function">g_value_set_object()</code></a> instead. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_object</code></em> :</span></p></td> -<td>object value to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-object-take-ownership"></a><h3>g_value_set_object_take_ownership ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_object_take_ownership (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> v_object</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_set_object_take_ownership</code> has been deprecated since version 2.4 and should not be used in newly-written code. Use <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" title="g_value_take_object ()"><code class="function">g_value_take_object()</code></a> instead.</p> -</div> -<p> -This is an internal function introduced mainly for C marshallers. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_object</code></em> :</span></p></td> -<td>object value to be set. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-object"></a><h3>g_value_get_object ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_value_get_object (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived type</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>object contents of <em class="parameter"><code>value</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-dup-object"></a><h3>g_value_dup_object ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_value_dup_object (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> derived <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, increasing -its reference count. If the contents of the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> are <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> whose type is derived from <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>object content of <em class="parameter"><code>value</code></em>, -should be unreferenced when no longer needed. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-UNICHAR:CAPS"></a><h3>G_IS_PARAM_SPEC_UNICHAR()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_UNICHAR)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS" title="G_TYPE_PARAM_UNICHAR"><code class="literal">G_TYPE_PARAM_UNICHAR</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-UNICHAR:CAPS"></a><h3>G_PARAM_SPEC_UNICHAR()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_UNICHAR(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_UNICHAR, GParamSpecUnichar)) -</pre> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-UNICHAR:CAPS"></a><h3>G_TYPE_PARAM_UNICHAR</h3> -<pre class="programlisting">#define G_TYPE_PARAM_UNICHAR (g_param_spec_types[9]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecUnichar"></a><h3>struct GParamSpecUnichar</h3> -<pre class="programlisting">struct GParamSpecUnichar { - GParamSpec parent_instance; - - gunichar default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for unichar (unsigned integer) properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecUnichar.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> <em class="structfield"><code><a name="GParamSpecUnichar.default-value"></a>default_value</code></em>;</span></p></td> -<td>default value for the property specified</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-unichar"></a><h3>g_param_spec_unichar ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_unichar (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar" title="struct GParamSpecUnichar"><span class="type">GParamSpecUnichar</span></a> instance specifying a <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT"><code class="literal">G_TYPE_UINT</code></a> -property. <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structures for this property can be accessed with -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint" title="g_value_set_uint ()"><code class="function">g_value_set_uint()</code></a> and <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint" title="g_value_get_uint ()"><code class="function">g_value_get_uint()</code></a>. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>default value for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS"></a><h3>G_IS_PARAM_SPEC_VALUE_ARRAY()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VALUE_ARRAY)) -</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">G_IS_PARAM_SPEC_VALUE_ARRAY</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> instead of <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a></p> -</div> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS" title="G_TYPE_PARAM_VALUE_ARRAY"><code class="literal">G_TYPE_PARAM_VALUE_ARRAY</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-VALUE-ARRAY:CAPS"></a><h3>G_PARAM_SPEC_VALUE_ARRAY()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_VALUE_ARRAY(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VALUE_ARRAY, GParamSpecValueArray)) -</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">G_PARAM_SPEC_VALUE_ARRAY</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> instead of <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a></p> -</div> -<p> -Cast a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> instance</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-VALUE-ARRAY:CAPS"></a><h3>G_TYPE_PARAM_VALUE_ARRAY</h3> -<pre class="programlisting">#define G_TYPE_PARAM_VALUE_ARRAY (g_param_spec_types[18]) -</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">G_TYPE_PARAM_VALUE_ARRAY</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> instead of <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a></p> -</div> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecValueArray"></a><h3>struct GParamSpecValueArray</h3> -<pre class="programlisting">struct GParamSpecValueArray { - GParamSpec parent_instance; - GParamSpec *element_spec; - guint fixed_n_elements; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecValueArray.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *<em class="structfield"><code><a name="GParamSpecValueArray.element-spec"></a>element_spec</code></em>;</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the elements contained in arrays of this property, may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GParamSpecValueArray.fixed-n-elements"></a>fixed_n_elements</code></em>;</span></p></td> -<td>if greater than 0, arrays of this property will always have this many elements</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-value-array"></a><h3>g_param_spec_value_array ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_value_array (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *element_spec</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a> instance specifying a -<a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY"><code class="literal">G_TYPE_VALUE_ARRAY</code></a> property. <a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY"><code class="literal">G_TYPE_VALUE_ARRAY</code></a> is a -<a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED"><code class="literal">G_TYPE_BOXED</code></a> type, as such, <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structures for this property -can be accessed with <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed" title="g_value_set_boxed ()"><code class="function">g_value_set_boxed()</code></a> and <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed" title="g_value_get_boxed ()"><code class="function">g_value_get_boxed()</code></a>. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>element_spec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the elements contained in -arrays of this property, may be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-OVERRIDE:CAPS"></a><h3>G_IS_PARAM_SPEC_OVERRIDE()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_OVERRIDE)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS" title="G_TYPE_PARAM_OVERRIDE"><code class="literal">G_TYPE_PARAM_OVERRIDE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-OVERRIDE:CAPS"></a><h3>G_PARAM_SPEC_OVERRIDE()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_OVERRIDE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_OVERRIDE, GParamSpecOverride)) -</pre> -<p> -Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-OVERRIDE:CAPS"></a><h3>G_TYPE_PARAM_OVERRIDE</h3> -<pre class="programlisting">#define G_TYPE_PARAM_OVERRIDE (g_param_spec_types[20]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>. -</p> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecOverride"></a><h3>struct GParamSpecOverride</h3> -<pre class="programlisting">struct GParamSpecOverride { -}; -</pre> -<p> -This is a type of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> type that simply redirects operations to -another paramspec. All operations other than getting or -setting the value are redirected, including accessing the nick and -blurb, validating a value, and so forth. See -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-redirect-target" title="g_param_spec_get_redirect_target ()"><code class="function">g_param_spec_get_redirect_target()</code></a> for retrieving the overidden -property. <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a> is used in implementing -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()"><code class="function">g_object_class_override_property()</code></a>, and will not be directly useful -unless you are implementing a new base type similar to GObject. -</p> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-override"></a><h3>g_param_spec_override ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_override (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *overridden</code></em>);</pre> -<p> -Creates a new property of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>. This is used -to direct operations to another paramspec, and will not be directly -useful unless you are implementing a new base type similar to GObject. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the name of the property.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>overridden</code></em> :</span></p></td> -<td>The property that is being overridden</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the newly created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-GTYPE:CAPS"></a><h3>G_IS_PARAM_SPEC_GTYPE()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_GTYPE)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS" title="G_TYPE_PARAM_GTYPE"><code class="literal">G_TYPE_PARAM_GTYPE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-GTYPE:CAPS"></a><h3>G_PARAM_SPEC_GTYPE()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_GTYPE(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_GTYPE, GParamSpecGType)) -</pre> -<p> -Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType"><span class="type">GParamSpecGType</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-GTYPE:CAPS"></a><h3>G_VALUE_HOLDS_GTYPE()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_GTYPE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_GTYPE)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-GTYPE:CAPS"></a><h3>G_TYPE_PARAM_GTYPE</h3> -<pre class="programlisting">#define G_TYPE_PARAM_GTYPE (g_param_spec_types[21]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType"><span class="type">GParamSpecGType</span></a>. -</p> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecGType"></a><h3>struct GParamSpecGType</h3> -<pre class="programlisting">struct GParamSpecGType { - GParamSpec parent_instance; - GType is_a_type; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecGType.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GParamSpecGType.is-a-type"></a>is_a_type</code></em>;</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> whose subtypes can occur as values</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-gtype"></a><h3>g_param_spec_gtype ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_gtype (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> is_a_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" title="struct GParamSpecGType"><span class="type">GParamSpecGType</span></a> instance specifying a -<a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> property. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>is_a_type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> whose subtypes are allowed as values -of the property (use <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE"><code class="literal">G_TYPE_NONE</code></a> for any type)</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created parameter specification</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-gtype"></a><h3>g_value_get_gtype ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_value_get_gtype (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> stored in <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-gtype"></a><h3>g_value_set_gtype ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_gtype (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> v_gtype</code></em>);</pre> -<p> -Set the contents of a <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>v_gtype</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE"><code class="literal">G_TYPE_GTYPE</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>v_gtype</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> to be set</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-PARAM-SPEC-VARIANT:CAPS"></a><h3>G_IS_PARAM_SPEC_VARIANT()</h3> -<pre class="programlisting">#define G_IS_PARAM_SPEC_VARIANT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), G_TYPE_PARAM_VARIANT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> is of type <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS" title="G_TYPE_PARAM_VARIANT"><code class="literal">G_TYPE_PARAM_VARIANT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-PARAM-SPEC-VARIANT:CAPS"></a><h3>G_PARAM_SPEC_VARIANT()</h3> -<pre class="programlisting">#define G_PARAM_SPEC_VARIANT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), G_TYPE_PARAM_VARIANT, GParamSpecVariant)) -</pre> -<p> -Casts a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> into a <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant"><span class="type">GParamSpecVariant</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-HOLDS-VARIANT:CAPS"></a><h3>G_VALUE_HOLDS_VARIANT()</h3> -<pre class="programlisting">#define G_VALUE_HOLDS_VARIANT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_VARIANT)) -</pre> -<p> -Checks whether the given <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> can hold values of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> structure</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM-VARIANT:CAPS"></a><h3>G_TYPE_PARAM_VARIANT</h3> -<pre class="programlisting">#define G_TYPE_PARAM_VARIANT (g_param_spec_types[22]) -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant"><span class="type">GParamSpecVariant</span></a>. -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="GParamSpecVariant"></a><h3>struct GParamSpecVariant</h3> -<pre class="programlisting">struct GParamSpecVariant { - GParamSpec parent_instance; - GVariantType *type; - GVariant *default_value; -}; -</pre> -<p> -A <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> derived structure that contains the meta data for <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> properties. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> <em class="structfield"><code><a name="GParamSpecVariant.parent-instance"></a>parent_instance</code></em>;</span></p></td> -<td>private <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> portion</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *<em class="structfield"><code><a name="GParamSpecVariant.type"></a>type</code></em>;</span></p></td> -<td>a <a href="./../glib/glib/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *<em class="structfield"><code><a name="GParamSpecVariant.default-value"></a>default_value</code></em>;</span></p></td> -<td>a <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-param-spec-variant"></a><h3>g_param_spec_variant ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_param_spec_variant (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *blurb</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *default_value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamFlags" title="enum GParamFlags"><span class="type">GParamFlags</span></a> flags</code></em>);</pre> -<p> -Creates a new <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" title="struct GParamSpecVariant"><span class="type">GParamSpecVariant</span></a> instance specifying a <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> -property. -</p> -<p> -If <em class="parameter"><code>default_value</code></em> is floating, it is consumed. -</p> -<p> -See <a class="link" href="gobject-GParamSpec.html#g-param-spec-internal" title="g_param_spec_internal ()"><code class="function">g_param_spec_internal()</code></a> for details on property names. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>canonical name of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>nick</code></em> :</span></p></td> -<td>nick name for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>blurb</code></em> :</span></p></td> -<td>description of the property specified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>default_value</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> of type <em class="parameter"><code>type</code></em> to use as the -default value, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags for the property specified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the newly created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-get-variant"></a><h3>g_value_get_variant ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * g_value_get_variant (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>variant contents of <em class="parameter"><code>value</code></em> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-dup-variant"></a><h3>g_value_dup_variant ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * g_value_dup_variant (<em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Get the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, increasing its refcount. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>variant contents of <em class="parameter"><code>value</code></em>, should be unrefed using -<a href="./../glib/glib/glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a> when no longer needed</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-set-variant"></a><h3>g_value_set_variant ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_set_variant (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre> -<p> -Set the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>variant</code></em>. -If the variant is floating, it is consumed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-take-variant"></a><h3>g_value_take_variant ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_take_variant (<em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *variant</code></em>);</pre> -<p> -Set the contents of a variant <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to <em class="parameter"><code>variant</code></em>, and takes over -the ownership of the caller's reference to <em class="parameter"><code>variant</code></em>; -the caller doesn't have to unref it any more (i.e. the reference -count of the variant is not increased). -</p> -<p> -If <em class="parameter"><code>variant</code></em> was floating then its floating reference is converted to -a hard reference. -</p> -<p> -If you want the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to hold its own reference to <em class="parameter"><code>variant</code></em>, use -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant" title="g_value_set_variant ()"><code class="function">g_value_set_variant()</code></a> instead. -</p> -<p> -This is an internal function introduced mainly for C marshallers. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -</div> -<div class="refsect1"> -<a name="gobject-Standard-Parameter-and-Value-Types.see-also"></a><h2>See Also</h2> -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>, <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>. -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html deleted file mode 100644 index 5f22b3a..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +++ /dev/null @@ -1,2792 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GObject</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="GTypeModule.html" title="GTypeModule"> -<link rel="next" href="gobject-Enumeration-and-Flag-Types.html" title="Enumeration and Flag Types"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="GTypeModule.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Enumeration-and-Flag-Types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-The-Base-Object-Type.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-The-Base-Object-Type.description" class="shortcut">Description</a> - | - <a href="#gobject-The-Base-Object-Type.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#gobject-The-Base-Object-Type.signals" class="shortcut">Signals</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-The-Base-Object-Type"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-The-Base-Object-Type.top_of_page"></a>GObject</span></h2> -<p>GObject — The base object type</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-The-Base-Object-Type.synopsis"></a><h2>Synopsis</h2> -<a name="GObject"></a><pre class="synopsis"> -#include <glib-object.h> - -struct <a class="link" href="gobject-The-Base-Object-Type.html#GObject-struct" title="struct GObject">GObject</a>; -struct <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass">GObjectClass</a>; -struct <a class="link" href="gobject-The-Base-Object-Type.html#GObjectConstructParam" title="struct GObjectConstructParam">GObjectConstructParam</a>; -<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GObjectGetPropertyFunc" title="GObjectGetPropertyFunc ()">*GObjectGetPropertyFunc</a>) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GObjectSetPropertyFunc" title="GObjectSetPropertyFunc ()">*GObjectSetPropertyFunc</a>) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GObjectFinalizeFunc" title="GObjectFinalizeFunc ()">*GObjectFinalizeFunc</a>) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-TYPE-IS-OBJECT:CAPS" title="G_TYPE_IS_OBJECT()">G_TYPE_IS_OBJECT</a> (type) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT:CAPS" title="G_OBJECT()">G_OBJECT</a> (object) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-IS-OBJECT:CAPS" title="G_IS_OBJECT()">G_IS_OBJECT</a> (object) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS" title="G_OBJECT_CLASS()">G_OBJECT_CLASS</a> (class) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-IS-OBJECT-CLASS:CAPS" title="G_IS_OBJECT_CLASS()">G_IS_OBJECT_CLASS</a> (class) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-GET-CLASS:CAPS" title="G_OBJECT_GET_CLASS()">G_OBJECT_GET_CLASS</a> (object) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-TYPE:CAPS" title="G_OBJECT_TYPE()">G_OBJECT_TYPE</a> (object) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-TYPE-NAME:CAPS" title="G_OBJECT_TYPE_NAME()">G_OBJECT_TYPE_NAME</a> (object) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-TYPE:CAPS" title="G_OBJECT_CLASS_TYPE()">G_OBJECT_CLASS_TYPE</a> (class) -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-NAME:CAPS" title="G_OBJECT_CLASS_NAME()">G_OBJECT_CLASS_NAME</a> (class) -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-properties" title="g_object_class_install_properties ()">g_object_class_install_properties</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_pspecs</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-find-property" title="g_object_class_find_property ()">g_object_class_find_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-list-properties" title="g_object_class_list_properties ()">g_object_class_list_properties</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()">g_object_class_override_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-install-property" title="g_object_interface_install_property ()">g_object_interface_install_property</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * <a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-find-property" title="g_object_interface_find_property ()">g_object_interface_find_property</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>); -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** <a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-list-properties" title="g_object_interface_list_properties ()">g_object_interface_list_properties</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties_p</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code>...</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-newv" title="g_object_newv ()">g_object_newv</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter"><span class="type">GParameter</span></a> *parameters</code></em>); -struct <a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter">GParameter</a>; -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()">g_object_ref</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()">g_object_ref_sink</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-clear-object" title="g_clear_object ()">g_clear_object</a> (<em class="parameter"><code>volatile <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> **object_ptr</code></em>); -typedef <a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnowned" title="GInitiallyUnowned">GInitiallyUnowned</a>; -typedef <a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnownedClass" title="GInitiallyUnownedClass">GInitiallyUnownedClass</a>; -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-TYPE-INITIALLY-UNOWNED:CAPS" title="G_TYPE_INITIALLY_UNOWNED">G_TYPE_INITIALLY_UNOWNED</a> -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-is-floating" title="g_object_is_floating ()">g_object_is_floating</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-force-floating" title="g_object_force_floating ()">g_object_force_floating</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()">*GWeakNotify</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *where_the_object_was</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-ref" title="g_object_weak_ref ()">g_object_weak_ref</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-unref" title="g_object_weak_unref ()">g_object_weak_unref</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()">g_object_add_weak_pointer</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-remove-weak-pointer" title="g_object_remove_weak_pointer ()">g_object_remove_weak_pointer</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()">*GToggleNotify</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_last_ref</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()">g_object_add_toggle_ref</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()"><span class="type">GToggleNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-remove-toggle-ref" title="g_object_remove_toggle_ref ()">g_object_remove_toggle_ref</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()"><span class="type">GToggleNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-connect" title="g_object_connect ()">g_object_connect</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>, - <em class="parameter"><code>...</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-disconnect" title="g_object_disconnect ()">g_object_disconnect</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>, - <em class="parameter"><code>...</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()">g_object_set</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code>...</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()">g_object_get</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code>...</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify" title="g_object_notify ()">g_object_notify</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()">g_object_notify_by_pspec</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-freeze-notify" title="g_object_freeze_notify ()">g_object_freeze_notify</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-thaw-notify" title="g_object_thaw_notify ()">g_object_thaw_notify</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-data" title="g_object_get_data ()">g_object_get_data</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data" title="g_object_set_data ()">g_object_set_data</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data-full" title="g_object_set_data_full ()">g_object_set_data_full</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-steal-data" title="g_object_steal_data ()">g_object_steal_data</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata" title="g_object_get_qdata ()">g_object_get_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()">g_object_set_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata-full" title="g_object_set_qdata_full ()">g_object_set_qdata_full</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-steal-qdata" title="g_object_steal_qdata ()">g_object_steal_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-property" title="g_object_get_property ()">g_object_get_property</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new-valist" title="g_object_new_valist ()">g_object_new_valist</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-valist" title="g_object_set_valist ()">g_object_set_valist</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-valist" title="g_object_get_valist ()">g_object_get_valist</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-watch-closure" title="g_object_watch_closure ()">g_object_watch_closure</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-object-run-dispose" title="g_object_run_dispose ()">g_object_run_dispose</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>); -#define <a class="link" href="gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS" title="G_OBJECT_WARN_INVALID_PROPERTY_ID()">G_OBJECT_WARN_INVALID_PROPERTY_ID</a> (object, - property_id, - pspec) - - <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef">GWeakRef</a>; -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-init" title="g_weak_ref_init ()">g_weak_ref_init</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-clear" title="g_weak_ref_clear ()">g_weak_ref_clear</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-get" title="g_weak_ref_get ()">g_weak_ref_get</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-set" title="g_weak_ref_set ()">g_weak_ref_set</a> (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-The-Base-Object-Type.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - GObject - +----<a class="link" href="GBinding.html" title="GBinding">GBinding</a> - +----<a class="link" href="GTypeModule.html" title="GTypeModule">GTypeModule</a> -</pre> -</div> -<div class="refsect1"> -<a name="gobject-The-Base-Object-Type.signals"></a><h2>Signals</h2> -<pre class="synopsis"> - "<a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'>notify</a>" : <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a> -</pre> -</div> -<div class="refsect1"> -<a name="gobject-The-Base-Object-Type.description"></a><h2>Description</h2> -<p> -GObject is the fundamental type providing the common attributes and -methods for all object types in GTK+, Pango and other libraries -based on GObject. The GObject class provides methods for object -construction and destruction, property access methods, and signal -support. Signals are described in detail in <a class="xref" href="gobject-Signals.html" title="Signals"><span class="refentrytitle"><a name="gobject-Signals.top_of_page"></a>Signals</span>(3)</a>. -</p> -<p> -</p> -<p><a name="floating-ref"></a> -GInitiallyUnowned is derived from GObject. The only difference between -the two is that the initial reference of a GInitiallyUnowned is flagged -as a <em class="firstterm">floating</em> reference. -This means that it is not specifically claimed to be "owned" by -any code portion. The main motivation for providing floating references is -C convenience. In particular, it allows code to be written as: -</p> -<div class="informalexample"><pre class="programlisting"> -container = create_container (); -container_add_child (container, create_child()); -</pre></div> -<p> -If <code class="function"><code class="function">container_add_child()</code></code> will <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()"><code class="function">g_object_ref_sink()</code></a> the -passed in child, no reference of the newly created child is leaked. -Without floating references, <code class="function"><code class="function">container_add_child()</code></code> -can only <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()"><code class="function">g_object_ref()</code></a> the new child, so to implement this code without -reference leaks, it would have to be written as: -</p> -<div class="informalexample"><pre class="programlisting"> -Child *child; -container = create_container (); -child = create_child (); -container_add_child (container, child); -g_object_unref (child); -</pre></div> -<p> -The floating reference can be converted into -an ordinary reference by calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()"><code class="function">g_object_ref_sink()</code></a>. -For already sunken objects (objects that don't have a floating reference -anymore), <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()"><code class="function">g_object_ref_sink()</code></a> is equivalent to <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()"><code class="function">g_object_ref()</code></a> and returns -a new reference. -Since floating references are useful almost exclusively for C convenience, -language bindings that provide automated reference and memory ownership -maintenance (such as smart pointers or garbage collection) should not -expose floating references in their API. -</p> -<p> -</p> -<p> -Some object implementations may need to save an objects floating state -across certain code portions (an example is <a href="http://developer.gnome.org/devel/gtk/GtkMenu.html"><span class="type">GtkMenu</span></a>), to achieve this, -the following sequence can be used: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -/* save floating state */ -gboolean was_floating = g_object_is_floating (object); -g_object_ref_sink (object); -/* protected code portion */ -...; -/* restore floating state */ -if (was_floating) - g_object_force_floating (object); -g_object_unref (object); /* release previously acquired reference */ -</pre></div> -<p> -</p> -</div> -<div class="refsect1"> -<a name="gobject-The-Base-Object-Type.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GObject-struct"></a><h3>struct GObject</h3> -<pre class="programlisting">struct GObject;</pre> -<p> -All the fields in the <span class="structname">GObject</span> structure are private -to the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> implementation and should never be accessed directly. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GObjectClass"></a><h3>struct GObjectClass</h3> -<pre class="programlisting">struct GObjectClass { - GTypeClass g_type_class; - - /* seldom overidden */ - GObject* (*constructor) (GType type, - guint n_construct_properties, - GObjectConstructParam *construct_properties); - /* overridable methods */ - void (*set_property) (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec); - void (*get_property) (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec); - void (*dispose) (GObject *object); - void (*finalize) (GObject *object); - /* seldom overidden */ - void (*dispatch_properties_changed) (GObject *object, - guint n_pspecs, - GParamSpec **pspecs); - /* signals */ - void (*notify) (GObject *object, - GParamSpec *pspec); - - /* called when done constructing */ - void (*constructed) (GObject *object); -}; -</pre> -<p> -The class structure for the <span class="structname">GObject</span> type. -</p> -<p> -</p> -<div class="example"> -<a name="idp13275392"></a><p class="title"><b>Example 1. Implementing singletons using a constructor</b></p> -<div class="example-contents"><pre class="programlisting"> -static MySingleton *the_singleton = NULL; - -static GObject* -my_singleton_constructor (GType type, - guint n_construct_params, - GObjectConstructParam *construct_params) -{ - GObject *object; - - if (!the_singleton) - { - object = G_OBJECT_CLASS (parent_class)->constructor (type, - n_construct_params, - construct_params); - the_singleton = MY_SINGLETON (object); - } - else - object = g_object_ref (G_OBJECT (the_singleton)); - - return object; -} -</pre></div> -</div> -<p><br class="example-break"> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> <em class="structfield"><code><a name="GObjectClass.g-type-class"></a>g_type_class</code></em>;</span></p></td> -<td>the parent class</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.constructor"></a>constructor</code></em> ()</span></p></td> -<td>the <em class="parameter"><code>constructor</code></em> function is called by <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> to -complete the object initialization after all the construction properties are -set. The first thing a <em class="parameter"><code>constructor</code></em> implementation must do is chain up to the -<em class="parameter"><code>constructor</code></em> of the parent class. Overriding <em class="parameter"><code>constructor</code></em> should be rarely -needed, e.g. to handle construct properties, or to implement singletons.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.set-property"></a>set_property</code></em> ()</span></p></td> -<td>the generic setter for all properties of this type. Should be -overridden for every type with properties. Implementations of <em class="parameter"><code>set_property</code></em> -don't need to emit property change notification explicitly, this is handled -by the type system.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.get-property"></a>get_property</code></em> ()</span></p></td> -<td>the generic getter for all properties of this type. Should be -overridden for every type with properties.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.dispose"></a>dispose</code></em> ()</span></p></td> -<td>the <em class="parameter"><code>dispose</code></em> function is supposed to drop all references to other -objects, but keep the instance otherwise intact, so that client method -invocations still work. It may be run multiple times (due to reference -loops). Before returning, <em class="parameter"><code>dispose</code></em> should chain up to the <em class="parameter"><code>dispose</code></em> method -of the parent class.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.finalize"></a>finalize</code></em> ()</span></p></td> -<td>instance finalization function, should finish the finalization of -the instance begun in <em class="parameter"><code>dispose</code></em> and chain up to the <em class="parameter"><code>finalize</code></em> method of the -parent class.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.dispatch-properties-changed"></a>dispatch_properties_changed</code></em> ()</span></p></td> -<td>emits property change notification for a bunch -of properties. Overriding <em class="parameter"><code>dispatch_properties_changed</code></em> should be rarely -needed.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.notify"></a>notify</code></em> ()</span></p></td> -<td>the class closure for the notify signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GObjectClass.constructed"></a>constructed</code></em> ()</span></p></td> -<td>the <em class="parameter"><code>constructed</code></em> function is called by <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> as the -final step of the object creation process. At the point of the call, all -construction properties have been set on the object. The purpose of this -call is to allow for object initialisation steps that can only be performed -after construction properties have been set. <em class="parameter"><code>constructed</code></em> implementors -should chain up to the <em class="parameter"><code>constructed</code></em> call of their parent class to allow it -to complete its initialisation.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GObjectConstructParam"></a><h3>struct GObjectConstructParam</h3> -<pre class="programlisting">struct GObjectConstructParam { - GParamSpec *pspec; - GValue *value; -}; -</pre> -<p> -The <span class="structname">GObjectConstructParam</span> struct is an auxiliary -structure used to hand <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>/<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> pairs to the <em class="parameter"><code>constructor</code></em> of -a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *<em class="structfield"><code><a name="GObjectConstructParam.pspec"></a>pspec</code></em>;</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of the construct parameter</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *<em class="structfield"><code><a name="GObjectConstructParam.value"></a>value</code></em>;</span></p></td> -<td>the value to set the parameter to</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GObjectGetPropertyFunc"></a><h3>GObjectGetPropertyFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GObjectGetPropertyFunc) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -The type of the <em class="parameter"><code>get_property</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td> -<td>the numeric id under which the property was registered with -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to return the property value in</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the property</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GObjectSetPropertyFunc"></a><h3>GObjectSetPropertyFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GObjectSetPropertyFunc) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -The type of the <em class="parameter"><code>set_property</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td> -<td>the numeric id under which the property was registered with -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>the new value for the property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> describing the property</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GObjectFinalizeFunc"></a><h3>GObjectFinalizeFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GObjectFinalizeFunc) (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -The type of the <em class="parameter"><code>finalize</code></em> function of <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> being finalized</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-OBJECT:CAPS"></a><h3>G_TYPE_IS_OBJECT()</h3> -<pre class="programlisting">#define G_TYPE_IS_OBJECT(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_OBJECT) -</pre> -<p> -Check if the passed in type id is a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> or derived from it. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>Type id to check</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> or <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, indicating whether <em class="parameter"><code>type</code></em> is a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT:CAPS"></a><h3>G_OBJECT()</h3> -<pre class="programlisting">#define G_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), G_TYPE_OBJECT, GObject)) -</pre> -<p> -Casts a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> or derived pointer into a (GObject*) pointer. -Depending on the current debugging level, this function may invoke -certain runtime checks to identify invalid casts. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>Object which is subject to casting.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-OBJECT:CAPS"></a><h3>G_IS_OBJECT()</h3> -<pre class="programlisting">#define G_IS_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), G_TYPE_OBJECT)) -</pre> -<p> -Checks whether a valid <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> pointer is of type <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>Instance to check for being a <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a>.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT-CLASS:CAPS"></a><h3>G_OBJECT_CLASS()</h3> -<pre class="programlisting">#define G_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_OBJECT, GObjectClass)) -</pre> -<p> -Casts a derived <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> structure into a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-IS-OBJECT-CLASS:CAPS"></a><h3>G_IS_OBJECT_CLASS()</h3> -<pre class="programlisting">#define G_IS_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_OBJECT)) -</pre> -<p> -Checks whether <em class="parameter"><code>class</code></em> "is a" valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> structure of type -<a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><code class="literal">G_TYPE_OBJECT</code></a> or derived. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT-GET-CLASS:CAPS"></a><h3>G_OBJECT_GET_CLASS()</h3> -<pre class="programlisting">#define G_OBJECT_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), G_TYPE_OBJECT, GObjectClass)) -</pre> -<p> -Get the class structure associated to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> instance.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>pointer to object class structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT-TYPE:CAPS"></a><h3>G_OBJECT_TYPE()</h3> -<pre class="programlisting">#define G_OBJECT_TYPE(object) (G_TYPE_FROM_INSTANCE (object)) -</pre> -<p> -Get the type id of an object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>Object to return the type id for.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Type id of <em class="parameter"><code>object</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT-TYPE-NAME:CAPS"></a><h3>G_OBJECT_TYPE_NAME()</h3> -<pre class="programlisting">#define G_OBJECT_TYPE_NAME(object) (g_type_name (G_OBJECT_TYPE (object))) -</pre> -<p> -Get the name of an object's type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>Object to return the type name for.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Type name of <em class="parameter"><code>object</code></em>. The string is owned by the type system and -should not be freed.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT-CLASS-TYPE:CAPS"></a><h3>G_OBJECT_CLASS_TYPE()</h3> -<pre class="programlisting">#define G_OBJECT_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class)) -</pre> -<p> -Get the type id of a class structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Type id of <em class="parameter"><code>class</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT-CLASS-NAME:CAPS"></a><h3>G_OBJECT_CLASS_NAME()</h3> -<pre class="programlisting">#define G_OBJECT_CLASS_NAME(class) (g_type_name (G_OBJECT_CLASS_TYPE (class))) -</pre> -<p> -Return the name of a class structure's type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>class</code></em> :</span></p></td> -<td>a valid <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Type name of <em class="parameter"><code>class</code></em>. The string is owned by the type system and -should not be freed.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-class-install-property"></a><h3>g_object_class_install_property ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_class_install_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Installs a new property. This is usually done in the class initializer. -</p> -<p> -Note that it is possible to redefine a property in a derived class, -by installing a property with the same name. This can be useful at times, -e.g. to change the range of allowed values or the default value. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td> -<td>the id for the new property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the new property</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-class-install-properties"></a><h3>g_object_class_install_properties ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_class_install_properties (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_pspecs</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>);</pre> -<p> -Installs new properties from an array of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s. This is -usually done in the class initializer. -</p> -<p> -The property id of each property is the index of each <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> in -the <em class="parameter"><code>pspecs</code></em> array. -</p> -<p> -The property id of 0 is treated specially by <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> and it should not -be used to store a <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. -</p> -<p> -This function should be used if you plan to use a static array of -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()"><code class="function">g_object_notify_by_pspec()</code></a>. For instance, this -class initialization: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -enum { - PROP_0, PROP_FOO, PROP_BAR, N_PROPERTIES -}; - -static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, }; - -static void -my_object_class_init (MyObjectClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - - obj_properties[PROP_FOO] = - g_param_spec_int ("foo", "Foo", "Foo", - -1, G_MAXINT, - 0, - G_PARAM_READWRITE); - - obj_properties[PROP_BAR] = - g_param_spec_string ("bar", "Bar", "Bar", - NULL, - G_PARAM_READWRITE); - - gobject_class->set_property = my_object_set_property; - gobject_class->get_property = my_object_get_property; - g_object_class_install_properties (gobject_class, - N_PROPERTIES, - obj_properties); -} -</pre></div> -<p> -</p> -<p> -allows calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()"><code class="function">g_object_notify_by_pspec()</code></a> to notify of property changes: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -void -my_object_set_foo (MyObject *self, gint foo) -{ - if (self->foo != foo) - { - self->foo = foo; - g_object_notify_by_pspec (G_OBJECT (self), obj_properties[PROP_FOO]); - } - } -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_pspecs</code></em> :</span></p></td> -<td>the length of the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s array</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspecs</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>s array -defining the new properties. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_pspecs]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-class-find-property"></a><h3>g_object_class_find_property ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_object_class_find_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre> -<p> -Looks up the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for a property of a class. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td> -<td>the name of the property to look up</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the property, or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class doesn't have a property of that name. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-class-list-properties"></a><h3>g_object_class_list_properties ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** g_object_class_list_properties (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties</code></em>);</pre> -<p> -Get an array of <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>* for all properties of a class. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_properties</code></em> :</span></p></td> -<td>return location for the length of the returned array. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>an array of -<a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>* which should be freed after use. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-class-override-property"></a><h3>g_object_class_override_property ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_class_override_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> *oclass</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> -<p> -Registers <em class="parameter"><code>property_id</code></em> as referring to a property with the -name <em class="parameter"><code>name</code></em> in a parent class or in an interface implemented -by <em class="parameter"><code>oclass</code></em>. This allows this class to <em class="firstterm">override</em> -a property implementation in a parent class or to provide -the implementation of a property from an interface. -</p> -<p> -</p> -<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Note</h3> -Internally, overriding is implemented by creating a property of type -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a>; generally operations that query the properties of -the object class, such as <a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-find-property" title="g_object_class_find_property ()"><code class="function">g_object_class_find_property()</code></a> or -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-list-properties" title="g_object_class_list_properties ()"><code class="function">g_object_class_list_properties()</code></a> will return the overridden -property. However, in one case, the <em class="parameter"><code>construct_properties</code></em> argument of -the <em class="parameter"><code>constructor</code></em> virtual function, the <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" title="struct GParamSpecOverride"><span class="type">GParamSpecOverride</span></a> is passed -instead, so that the <em class="parameter"><code>param_id</code></em> field of the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> will be -correct. For virtually all uses, this makes no difference. If you -need to get the overridden property, you can call -<a class="link" href="gobject-GParamSpec.html#g-param-spec-get-redirect-target" title="g_param_spec_get_redirect_target ()"><code class="function">g_param_spec_get_redirect_target()</code></a>. -</div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>oclass</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass" title="struct GObjectClass"><span class="type">GObjectClass</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td> -<td>the new property ID</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the name of a property registered in a parent class or -in an interface of this class.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-interface-install-property"></a><h3>g_object_interface_install_property ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_interface_install_property (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Add a property to an interface; this is only useful for interfaces -that are added to GObject-derived types. Adding a property to an -interface forces all objects classes with that interface to have a -compatible property. The compatible property could be a newly -created <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>, but normally -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()"><code class="function">g_object_class_override_property()</code></a> will be used so that the object -class only needs to provide an implementation and inherits the -property description, default value, bounds, and so forth from the -interface property. -</p> -<p> -This function is meant to be called from the interface's default -vtable initialization function (the <em class="parameter"><code>class_init</code></em> member of -<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>.) It must not be called after after <em class="parameter"><code>class_init</code></em> has -been called for any object types implementing this interface. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>any interface vtable for the interface, or the default -vtable for the interface.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the new property</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-interface-find-property"></a><h3>g_object_interface_find_property ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> * g_object_interface_find_property (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre> -<p> -Find the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> with the given name for an -interface. Generally, the interface vtable passed in as <em class="parameter"><code>g_iface</code></em> -will be the default vtable from <a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()"><code class="function">g_type_default_interface_ref()</code></a>, or, -if you know the interface has already been loaded, -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()"><code class="function">g_type_default_interface_peek()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>any interface vtable for the interface, or the default -vtable for the interface</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td> -<td>name of a property to lookup.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> for the property of the -interface with the name <em class="parameter"><code>property_name</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no -such property exists. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-interface-list-properties"></a><h3>g_object_interface_list_properties ()</h3> -<pre class="programlisting"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="returnvalue">GParamSpec</span></a> ** g_object_interface_list_properties (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties_p</code></em>);</pre> -<p> -Lists the properties of an interface.Generally, the interface -vtable passed in as <em class="parameter"><code>g_iface</code></em> will be the default vtable from -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()"><code class="function">g_type_default_interface_ref()</code></a>, or, if you know the interface has -already been loaded, <a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()"><code class="function">g_type_default_interface_peek()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>any interface vtable for the interface, or the default -vtable for the interface</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_properties_p</code></em> :</span></p></td> -<td>location to store number of properties returned. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a -pointer to an array of pointers to <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> -structures. The paramspecs are owned by GLib, but the -array should be freed with <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when you are done with -it. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties_p][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-new"></a><h3>g_object_new ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_new (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Creates a new instance of a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype and sets its properties. -</p> -<p> -Construction parameters (see <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"><span class="type">G_PARAM_CONSTRUCT</span></a>, <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"><span class="type">G_PARAM_CONSTRUCT_ONLY</span></a>) -which are not explicitly specified are set to their default values. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object_type</code></em> :</span></p></td> -<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td> -<td>the name of the first property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>the value of the first property, followed optionally by more -name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new instance of <em class="parameter"><code>object_type</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-newv"></a><h3>g_object_newv ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_newv (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_parameters</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter"><span class="type">GParameter</span></a> *parameters</code></em>);</pre> -<p> -Creates a new instance of a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype and sets its properties. -</p> -<p> -Construction parameters (see <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"><span class="type">G_PARAM_CONSTRUCT</span></a>, <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"><span class="type">G_PARAM_CONSTRUCT_ONLY</span></a>) -which are not explicitly specified are set to their default values. -</p> -<p> -Rename to: g_object_new -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object_type</code></em> :</span></p></td> -<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_parameters</code></em> :</span></p></td> -<td>the length of the <em class="parameter"><code>parameters</code></em> array</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>parameters</code></em> :</span></p></td> -<td>an array of <a class="link" href="gobject-The-Base-Object-Type.html#GParameter" title="struct GParameter"><span class="type">GParameter</span></a>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_parameters]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new instance of -<em class="parameter"><code>object_type</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GParameter"></a><h3>struct GParameter</h3> -<pre class="programlisting">struct GParameter { - const gchar *name; - GValue value; -}; -</pre> -<p> -The <span class="structname">GParameter</span> struct is an auxiliary structure used -to hand parameter name/value pairs to <a class="link" href="gobject-The-Base-Object-Type.html#g-object-newv" title="g_object_newv ()"><code class="function">g_object_newv()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GParameter.name"></a>name</code></em>;</span></p></td> -<td>the parameter name</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> <em class="structfield"><code><a name="GParameter.value"></a>value</code></em>;</span></p></td> -<td>the parameter value</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-ref"></a><h3>g_object_ref ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_ref (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre> -<p> -Increases the reference count of <em class="parameter"><code>object</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the same <em class="parameter"><code>object</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-unref"></a><h3>g_object_unref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_unref (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre> -<p> -Decreases the reference count of <em class="parameter"><code>object</code></em>. When its reference count -drops to 0, the object is finalized (i.e. its memory is freed). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-ref-sink"></a><h3>g_object_ref_sink ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_ref_sink (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre> -<p> -Increase the reference count of <em class="parameter"><code>object</code></em>, and possibly remove the -<a class="link" href="gobject-The-Base-Object-Type.html#floating-ref">floating</a> reference, if <em class="parameter"><code>object</code></em> -has a floating reference. -</p> -<p> -In other words, if the object is floating, then this call "assumes -ownership" of the floating reference, converting it to a normal -reference by clearing the floating flag while leaving the reference -count unchanged. If the object is not floating, then this call -adds a new normal reference increasing the reference count by one. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<em class="parameter"><code>object</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-clear-object"></a><h3>g_clear_object ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_clear_object (<em class="parameter"><code>volatile <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> **object_ptr</code></em>);</pre> -<p> -Clears a reference to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. -</p> -<p> -<em class="parameter"><code>object_ptr</code></em> must not be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -</p> -<p> -If the reference is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then this function does nothing. -Otherwise, the reference count of the object is decreased and the -pointer is set to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -</p> -<p> -This function is threadsafe and modifies the pointer atomically, -using memory barriers where needed. -</p> -<p> -A macro is also included that allows this function to be used without -pointer casts. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object_ptr</code></em> :</span></p></td> -<td>a pointer to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> reference</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.28</p> -</div> -<hr> -<div class="refsect2"> -<a name="GInitiallyUnowned"></a><h3>GInitiallyUnowned</h3> -<pre class="programlisting">typedef struct _GObject GInitiallyUnowned; -</pre> -<p> -All the fields in the <span class="structname">GInitiallyUnowned</span> structure -are private to the <a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnowned" title="GInitiallyUnowned"><span class="type">GInitiallyUnowned</span></a> implementation and should never be -accessed directly. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GInitiallyUnownedClass"></a><h3>GInitiallyUnownedClass</h3> -<pre class="programlisting">typedef struct _GObjectClass GInitiallyUnownedClass; -</pre> -<p> -The class structure for the <span class="structname">GInitiallyUnowned</span> type. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INITIALLY-UNOWNED:CAPS"></a><h3>G_TYPE_INITIALLY_UNOWNED</h3> -<pre class="programlisting">#define G_TYPE_INITIALLY_UNOWNED (g_initially_unowned_get_type()) -</pre> -<p> -The type for <a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnowned" title="GInitiallyUnowned"><span class="type">GInitiallyUnowned</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-is-floating"></a><h3>g_object_is_floating ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_object_is_floating (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre> -<p> -Checks whether <em class="parameter"><code>object</code></em> has a <a class="link" href="gobject-The-Base-Object-Type.html#floating-ref">floating</a> -reference. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>object</code></em> has a floating reference</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-force-floating"></a><h3>g_object_force_floating ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_force_floating (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -This function is intended for <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> implementations to re-enforce a -<a class="link" href="gobject-The-Base-Object-Type.html#floating-ref">floating</a> object reference. -Doing this is seldom required: all -<a class="link" href="gobject-The-Base-Object-Type.html#GInitiallyUnowned" title="GInitiallyUnowned"><span class="type">GInitiallyUnowned</span></a>s are created with a floating reference which -usually just needs to be sunken by calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref-sink" title="g_object_ref_sink ()"><code class="function">g_object_ref_sink()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="GWeakNotify"></a><h3>GWeakNotify ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GWeakNotify) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *where_the_object_was</code></em>);</pre> -<p> -A <a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> function can be added to an object as a callback that gets -triggered when the object is finalized. Since the object is already being -finalized when the <a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> is called, there's not much you could do -with the object, apart from e.g. using its address as hash-index or the like. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data that was provided when the weak reference was established</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>where_the_object_was</code></em> :</span></p></td> -<td>the object being finalized</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-weak-ref"></a><h3>g_object_weak_ref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_weak_ref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Adds a weak reference callback to an object. Weak references are -used for notification when an object is finalized. They are called -"weak references" because they allow you to safely hold a pointer -to an object without calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()"><code class="function">g_object_ref()</code></a> (<a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()"><code class="function">g_object_ref()</code></a> adds a -strong reference, that is, forces the object to stay alive). -</p> -<p> -Note that the weak references created by this method are not -thread-safe: they cannot safely be used in one thread if the -object's last <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a> might happen in another thread. -Use <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> if thread-safety is required. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to reference weakly</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td> -<td>callback to invoke before the object is freed</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>extra data to pass to notify</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-weak-unref"></a><h3>g_object_weak_unref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_weak_unref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakNotify" title="GWeakNotify ()"><span class="type">GWeakNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Removes a weak reference callback to an object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> to remove a weak reference from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td> -<td>callback to search for</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to search for</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-add-weak-pointer"></a><h3>g_object_add_weak_pointer ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_add_weak_pointer (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>);</pre> -<p> -Adds a weak reference from weak_pointer to <em class="parameter"><code>object</code></em> to indicate that -the pointer located at <em class="parameter"><code>weak_pointer_location</code></em> is only valid during -the lifetime of <em class="parameter"><code>object</code></em>. When the <em class="parameter"><code>object</code></em> is finalized, -<em class="parameter"><code>weak_pointer</code></em> will be set to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -</p> -<p> -Note that as with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-ref" title="g_object_weak_ref ()"><code class="function">g_object_weak_ref()</code></a>, the weak references created by -this method are not thread-safe: they cannot safely be used in one -thread if the object's last <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a> might happen in another -thread. Use <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> if thread-safety is required. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>The object that should be weak referenced.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>weak_pointer_location</code></em> :</span></p></td> -<td>The memory address of a pointer. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-remove-weak-pointer"></a><h3>g_object_remove_weak_pointer ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_remove_weak_pointer (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> *weak_pointer_location</code></em>);</pre> -<p> -Removes a weak reference from <em class="parameter"><code>object</code></em> that was previously added -using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()"><code class="function">g_object_add_weak_pointer()</code></a>. The <em class="parameter"><code>weak_pointer_location</code></em> has -to match the one used with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()"><code class="function">g_object_add_weak_pointer()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>The object that is weak referenced.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>weak_pointer_location</code></em> :</span></p></td> -<td>The memory address of a pointer. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GToggleNotify"></a><h3>GToggleNotify ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GToggleNotify) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_last_ref</code></em>);</pre> -<p> -A callback function used for notification when the state -of a toggle reference changes. See <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>Callback data passed to <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>The object on which <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a> was called.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>is_last_ref</code></em> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the toggle reference is now the -last reference to the object. <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the toggle -reference was the last reference and there are now other -references.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-add-toggle-ref"></a><h3>g_object_add_toggle_ref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_add_toggle_ref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()"><span class="type">GToggleNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Increases the reference count of the object by one and sets a -callback to be called when all other references to the object are -dropped, or when this is already the last reference to the object -and another reference is established. -</p> -<p> -This functionality is intended for binding <em class="parameter"><code>object</code></em> to a proxy -object managed by another memory manager. This is done with two -paired references: the strong reference added by -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a> and a reverse reference to the proxy -object which is either a strong reference or weak reference. -</p> -<p> -The setup is that when there are no other references to <em class="parameter"><code>object</code></em>, -only a weak reference is held in the reverse direction from <em class="parameter"><code>object</code></em> -to the proxy object, but when there are other references held to -<em class="parameter"><code>object</code></em>, a strong reference is held. The <em class="parameter"><code>notify</code></em> callback is called -when the reference from <em class="parameter"><code>object</code></em> to the proxy object should be -<em class="firstterm">toggled</em> from strong to weak (<em class="parameter"><code>is_last_ref</code></em> -true) or weak to strong (<em class="parameter"><code>is_last_ref</code></em> false). -</p> -<p> -Since a (normal) reference must be held to the object before -calling <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a>, the initial state of the reverse -link is always strong. -</p> -<p> -Multiple toggle references may be added to the same gobject, -however if there are multiple toggle references to an object, none -of them will ever be notified until all but one are removed. For -this reason, you should only ever use a toggle reference if there -is important state in the proxy object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td> -<td>a function to call when this reference is the -last reference to the object, or is no longer -the last reference.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>notify</code></em> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-remove-toggle-ref"></a><h3>g_object_remove_toggle_ref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_remove_toggle_ref (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GToggleNotify" title="GToggleNotify ()"><span class="type">GToggleNotify</span></a> notify</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Removes a reference added with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" title="g_object_add_toggle_ref ()"><code class="function">g_object_add_toggle_ref()</code></a>. The -reference count of the object is decreased by one. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td> -<td>a function to call when this reference is the -last reference to the object, or is no longer -the last reference.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>notify</code></em> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-connect"></a><h3>g_object_connect ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_connect (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -A convenience function to connect multiple signals at once. -</p> -<p> -The signal specs expected by this function have the form -"modifier::signal_name", where modifier can be one of the following: -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term">signal</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_data (..., NULL, 0)</code> -</p></td> -</tr> -<tr> -<td><p><span class="term">object_signal, </span><span class="term">object-signal</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_object (..., 0)</code> -</p></td> -</tr> -<tr> -<td><p><span class="term">swapped_signal, </span><span class="term">swapped-signal</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED)</code> -</p></td> -</tr> -<tr> -<td><p><span class="term">swapped_object_signal, </span><span class="term">swapped-object-signal</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_object (..., G_CONNECT_SWAPPED)</code> -</p></td> -</tr> -<tr> -<td><p><span class="term">signal_after, </span><span class="term">signal-after</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_data (..., NULL, G_CONNECT_AFTER)</code> -</p></td> -</tr> -<tr> -<td><p><span class="term">object_signal_after, </span><span class="term">object-signal-after</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_object (..., G_CONNECT_AFTER)</code> -</p></td> -</tr> -<tr> -<td><p><span class="term">swapped_signal_after, </span><span class="term">swapped-signal-after</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_data (..., NULL, G_CONNECT_SWAPPED | G_CONNECT_AFTER)</code> -</p></td> -</tr> -<tr> -<td><p><span class="term">swapped_object_signal_after, </span><span class="term">swapped-object-signal-after</span></p></td> -<td><p> -equivalent to <code class="literal">g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER)</code> -</p></td> -</tr> -</tbody> -</table></div> -<p> -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - menu->toplevel = g_object_connect (g_object_new (GTK_TYPE_WINDOW, - "type", GTK_WINDOW_POPUP, - "child", menu, - NULL), - "signal::event", gtk_menu_window_event, menu, - "signal::size_request", gtk_menu_window_size_request, menu, - "signal::destroy", gtk_widget_destroyed, &menu->toplevel, - NULL); -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_spec</code></em> :</span></p></td> -<td>the spec for the first signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> for the first signal, followed by data for the -first signal, followed optionally by more signal -spec/callback/data triples, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<em class="parameter"><code>object</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-disconnect"></a><h3>g_object_disconnect ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_disconnect (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *signal_spec</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -A convenience function to disconnect multiple signals at once. -</p> -<p> -The signal specs expected by this function have the form -"any_signal", which means to disconnect any signal with matching -callback and data, or "any_signal::signal_name", which only -disconnects the signal named "signal_name". -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>signal_spec</code></em> :</span></p></td> -<td>the spec for the first signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Closures.html#GCallback" title="GCallback ()"><span class="type">GCallback</span></a> for the first signal, followed by data for the first signal, -followed optionally by more signal spec/callback/data triples, -followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-set"></a><h3>g_object_set ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_set (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Sets properties on an object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td> -<td>name of the first property to set</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>value for the first property, followed optionally by more -name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-get"></a><h3>g_object_get ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_get (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code>...</code></em>);</pre> -<p> -Gets properties of an object. -</p> -<p> -In general, a copy is made of the property contents and the caller -is responsible for freeing the memory in the appropriate manner for -the type, for instance by calling <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> or <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a>. -</p> -<p> -</p> -<div class="example"> -<a name="idp17770304"></a><p class="title"><b>Example 2. Using g_object_get()</b></p> -<div class="example-contents"> -An example of using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a> to get the contents -of three properties - one of type <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT"><span class="type">G_TYPE_INT</span></a>, -one of type <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING"><span class="type">G_TYPE_STRING</span></a>, and one of type <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT"><span class="type">G_TYPE_OBJECT</span></a>: -<pre class="programlisting"> - gint intval; - gchar *strval; - GObject *objval; - - g_object_get (my_object, - "int-property", &intval, - "str-property", &strval, - "obj-property", &objval, - NULL); - - // Do something with intval, strval, objval - - g_free (strval); - g_object_unref (objval); -</pre> -</div> -</div> -<p><br class="example-break"> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td> -<td>name of the first property to get</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td> -<td>return location for the first property, followed optionally by more -name/return location pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-notify"></a><h3>g_object_notify ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_notify (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre> -<p> -Emits a "notify" signal for the property <em class="parameter"><code>property_name</code></em> on <em class="parameter"><code>object</code></em>. -</p> -<p> -When possible, eg. when signaling a property change from within the class -that registered the property, you should use <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()"><code class="function">g_object_notify_by_pspec()</code></a> -instead. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td> -<td>the name of a property installed on the class of <em class="parameter"><code>object</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-notify-by-pspec"></a><h3>g_object_notify_by_pspec ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_notify_by_pspec (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre> -<p> -Emits a "notify" signal for the property specified by <em class="parameter"><code>pspec</code></em> on <em class="parameter"><code>object</code></em>. -</p> -<p> -This function omits the property name lookup, hence it is faster than -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify" title="g_object_notify ()"><code class="function">g_object_notify()</code></a>. -</p> -<p> -One way to avoid using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify" title="g_object_notify ()"><code class="function">g_object_notify()</code></a> from within the -class that registered the properties, and using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" title="g_object_notify_by_pspec ()"><code class="function">g_object_notify_by_pspec()</code></a> -instead, is to store the GParamSpec used with -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()"><code class="function">g_object_class_install_property()</code></a> inside a static array, e.g.: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - enum - { - PROP_0, - PROP_FOO, - PROP_LAST - }; - - static GParamSpec *properties[PROP_LAST]; - - static void - my_object_class_init (MyObjectClass *klass) - { - properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo", - 0, 100, - 50, - G_PARAM_READWRITE); - g_object_class_install_property (gobject_class, - PROP_FOO, - properties[PROP_FOO]); - } -</pre></div> -<p> -</p> -<p> -and then notify a change on the "foo" property with: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - g_object_notify_by_pspec (self, properties[PROP_FOO]); -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of a property installed on the class of <em class="parameter"><code>object</code></em>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-freeze-notify"></a><h3>g_object_freeze_notify ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_freeze_notify (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -Increases the freeze count on <em class="parameter"><code>object</code></em>. If the freeze count is -non-zero, the emission of "notify" signals on <em class="parameter"><code>object</code></em> is -stopped. The signals are queued until the freeze count is decreased -to zero. Duplicate notifications are squashed so that at most one -<a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'><span class="type">"notify"</span></a> signal is emitted for each property modified while the -object is frozen. -</p> -<p> -This is necessary for accessors that modify multiple properties to prevent -premature notification while the object is still being modified. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-thaw-notify"></a><h3>g_object_thaw_notify ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_thaw_notify (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -Reverts the effect of a previous call to -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-freeze-notify" title="g_object_freeze_notify ()"><code class="function">g_object_freeze_notify()</code></a>. The freeze count is decreased on <em class="parameter"><code>object</code></em> -and when it reaches zero, queued "notify" signals are emitted. -</p> -<p> -Duplicate notifications for each property are squashed so that at most one -<a class="link" href="gobject-The-Base-Object-Type.html#GObject-notify" title='The "notify" signal'><span class="type">"notify"</span></a> signal is emitted for each property. -</p> -<p> -It is an error to call this function when the freeze count is zero. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-get-data"></a><h3>g_object_get_data ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_get_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre> -<p> -Gets a named field from the objects table of associations (see <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data" title="g_object_set_data ()"><code class="function">g_object_set_data()</code></a>). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> -<td>name of the key for that association</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the data if found, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-set-data"></a><h3>g_object_set_data ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_set_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Each object carries around a table of associations from -strings to pointers. This function lets you set an association. -</p> -<p> -If the object already had an association with that name, -the old association will be destroyed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> -<td>name of the key</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to associate with that key</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-set-data-full"></a><h3>g_object_set_data_full ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_set_data_full (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre> -<p> -Like <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-data" title="g_object_set_data ()"><code class="function">g_object_set_data()</code></a> except it adds notification -for when the association is destroyed, either by setting it -to a different value or when the object is destroyed. -</p> -<p> -Note that the <em class="parameter"><code>destroy</code></em> callback is not called if <em class="parameter"><code>data</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> -<td>name of the key</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>data to associate with that key</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td> -<td>function to call when the association is destroyed</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-steal-data"></a><h3>g_object_steal_data ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_steal_data (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre> -<p> -Remove a specified datum from the object's data associations, -without invoking the association's destroy handler. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> containing the associations</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td> -<td>name of the key</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the data if found, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-get-qdata"></a><h3>g_object_get_qdata ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_get_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre> -<p> -This function gets back user data pointers stored via -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()"><code class="function">g_object_set_qdata()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>The GObject to get a stored user data pointer from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The user data pointer set, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-set-qdata"></a><h3>g_object_set_qdata ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_set_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -This sets an opaque, named pointer on an object. -The name is specified through a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> (retrived e.g. via -<a href="./../glib/glib/glib-Quarks.html#g-quark-from-static-string"><code class="function">g_quark_from_static_string()</code></a>), and the pointer -can be gotten back from the <em class="parameter"><code>object</code></em> with <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata" title="g_object_get_qdata ()"><code class="function">g_object_get_qdata()</code></a> -until the <em class="parameter"><code>object</code></em> is finalized. -Setting a previously set user data pointer, overrides (frees) -the old pointer set, using <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a> as pointer essentially -removes the data stored. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>The GObject to set store a user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>An opaque user data pointer</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-set-qdata-full"></a><h3>g_object_set_qdata_full ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_set_qdata_full (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre> -<p> -This function works like <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()"><code class="function">g_object_set_qdata()</code></a>, but in addition, -a void (*destroy) (gpointer) function may be specified which is -called with <em class="parameter"><code>data</code></em> as argument when the <em class="parameter"><code>object</code></em> is finalized, or -the data is being overwritten by a call to <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()"><code class="function">g_object_set_qdata()</code></a> -with the same <em class="parameter"><code>quark</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>The GObject to set store a user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>An opaque user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td> -<td>Function to invoke with <em class="parameter"><code>data</code></em> as argument, when <em class="parameter"><code>data</code></em> -needs to be freed</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-steal-qdata"></a><h3>g_object_steal_qdata ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_object_steal_qdata (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre> -<p> -This function gets back user data pointers stored via -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata" title="g_object_set_qdata ()"><code class="function">g_object_set_qdata()</code></a> and removes the <em class="parameter"><code>data</code></em> from object -without invoking its <code class="function">destroy()</code> function (if any was -set). -Usually, calling this function is only required to update -user data pointers with a destroy notifier, for example: -</p> -<div class="informalexample"><pre class="programlisting"> -void -object_add_to_user_list (GObject *object, - const gchar *new_string) -{ - // the quark, naming the object data - GQuark quark_string_list = g_quark_from_static_string ("my-string-list"); - // retrive the old string list - GList *list = g_object_steal_qdata (object, quark_string_list); - - // prepend new string - list = g_list_prepend (list, g_strdup (new_string)); - // this changed 'list', so we need to set it again - g_object_set_qdata_full (object, quark_string_list, list, free_string_list); -} -static void -free_string_list (gpointer data) -{ - GList *node, *list = data; - - for (node = list; node; node = node->next) - g_free (node->data); - g_list_free (list); -} -</pre></div> -<p> -Using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-qdata" title="g_object_get_qdata ()"><code class="function">g_object_get_qdata()</code></a> in the above example, instead of -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-steal-qdata" title="g_object_steal_qdata ()"><code class="function">g_object_steal_qdata()</code></a> would have left the destroy function set, -and thus the partial string list would have been freed upon -<a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-qdata-full" title="g_object_set_qdata_full ()"><code class="function">g_object_set_qdata_full()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>The GObject to get a stored user data pointer from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>A <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a>, naming the user data pointer</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The user data pointer set, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-set-property"></a><h3>g_object_set_property ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_set_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Sets a property on an object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td> -<td>the name of the property to set</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>the value</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-get-property"></a><h3>g_object_get_property ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_get_property (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<p> -Gets a property of an object. <em class="parameter"><code>value</code></em> must have been initialized to the -expected type of the property (or a type to which the expected type can be -transformed) using <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a>. -</p> -<p> -In general, a copy is made of the property contents and the caller is -responsible for freeing the memory by calling <a class="link" href="gobject-Generic-values.html#g-value-unset" title="g_value_unset ()"><code class="function">g_value_unset()</code></a>. -</p> -<p> -Note that <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-property" title="g_object_get_property ()"><code class="function">g_object_get_property()</code></a> is really intended for language -bindings, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a> is much more convenient for C programming. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td> -<td>the name of the property to get</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>return location for the property value</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-new-valist"></a><h3>g_object_new_valist ()</h3> -<pre class="programlisting"><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> * g_object_new_valist (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> object_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre> -<p> -Creates a new instance of a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype and sets its properties. -</p> -<p> -Construction parameters (see <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"><span class="type">G_PARAM_CONSTRUCT</span></a>, <a class="link" href="gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"><span class="type">G_PARAM_CONSTRUCT_ONLY</span></a>) -which are not explicitly specified are set to their default values. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object_type</code></em> :</span></p></td> -<td>the type id of the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> subtype to instantiate</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td> -<td>the name of the first property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td> -<td>the value of the first property, followed optionally by more -name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a new instance of <em class="parameter"><code>object_type</code></em> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-set-valist"></a><h3>g_object_set_valist ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_set_valist (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre> -<p> -Sets properties on an object. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td> -<td>name of the first property to set</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td> -<td>value for the first property, followed optionally by more -name/value pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-get-valist"></a><h3>g_object_get_valist ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_get_valist (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>, - <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre> -<p> -Gets properties of an object. -</p> -<p> -In general, a copy is made of the property contents and the caller -is responsible for freeing the memory in the appropriate manner for -the type, for instance by calling <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> or <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a>. -</p> -<p> -See <a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()"><code class="function">g_object_get()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>first_property_name</code></em> :</span></p></td> -<td>name of the first property to get</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td> -<td>return location for the first property, followed optionally by more -name/return location pairs, followed by <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-watch-closure"></a><h3>g_object_watch_closure ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_watch_closure (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Closures.html#GClosure" title="struct GClosure"><span class="type">GClosure</span></a> *closure</code></em>);</pre> -<p> -This function essentially limits the life time of the <em class="parameter"><code>closure</code></em> to -the life time of the object. That is, when the object is finalized, -the <em class="parameter"><code>closure</code></em> is invalidated by calling <a class="link" href="gobject-Closures.html#g-closure-invalidate" title="g_closure_invalidate ()"><code class="function">g_closure_invalidate()</code></a> on -it, in order to prevent invocations of the closure with a finalized -(nonexisting) object. Also, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()"><code class="function">g_object_ref()</code></a> and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a> are -added as marshal guards to the <em class="parameter"><code>closure</code></em>, to ensure that an extra -reference count is held on <em class="parameter"><code>object</code></em> during invocation of the -<em class="parameter"><code>closure</code></em>. Usually, this function will be called on closures that -use this <em class="parameter"><code>object</code></em> as closure data. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>GObject restricting lifetime of <em class="parameter"><code>closure</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>closure</code></em> :</span></p></td> -<td>GClosure to watch</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-object-run-dispose"></a><h3>g_object_run_dispose ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_object_run_dispose (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *object</code></em>);</pre> -<p> -Releases all references to other objects. This can be used to break -reference cycles. -</p> -<p> -This functions should only be called from object system implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS"></a><h3>G_OBJECT_WARN_INVALID_PROPERTY_ID()</h3> -<pre class="programlisting">#define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec)</pre> -<p> -This macro should be used to emit a standard warning about unexpected -properties in <code class="function">set_property()</code> and <code class="function">get_property()</code> implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> on which <code class="function">set_property()</code> or <code class="function">get_property()</code> was called</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>property_id</code></em> :</span></p></td> -<td>the numeric id of the property</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of the property</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GWeakRef"></a><h3>GWeakRef</h3> -<pre class="programlisting">typedef struct { -} GWeakRef; -</pre> -<p> -A structure containing a weak reference to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. It can either -be empty (i.e. point to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>), or point to an object for as long as -at least one "strong" reference to that object exists. Before the -object's <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass.dispose"><span class="type">GObjectClass.dispose</span></a> method is called, every <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> -associated with becomes empty (i.e. points to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). -</p> -<p> -Like <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> can be statically allocated, stack- or -heap-allocated, or embedded in larger structures. -</p> -<p> -Unlike <a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-ref" title="g_object_weak_ref ()"><code class="function">g_object_weak_ref()</code></a> and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()"><code class="function">g_object_add_weak_pointer()</code></a>, this weak -reference is thread-safe: converting a weak pointer to a reference is -atomic with respect to invalidation of weak pointers to destroyed -objects. -</p> -<p> -If the object's <a class="link" href="gobject-The-Base-Object-Type.html#GObjectClass.dispose"><span class="type">GObjectClass.dispose</span></a> method results in additional -references to the object being held, any <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a>s taken -before it was disposed will continue to point to <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If -<a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a>s are taken after the object is disposed and -re-referenced, they will continue to point to it until its refcount -goes back to zero, at which point they too will be invalidated. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-weak-ref-init"></a><h3>g_weak_ref_init ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_weak_ref_init (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre> -<p> -Initialise a non-statically-allocated <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a>. -</p> -<p> -This function also calls <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-set" title="g_weak_ref_set ()"><code class="function">g_weak_ref_set()</code></a> with <em class="parameter"><code>object</code></em> on the -freshly-initialised weak reference. -</p> -<p> -This function should always be matched with a call to -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-clear" title="g_weak_ref_clear ()"><code class="function">g_weak_ref_clear()</code></a>. It is not necessary to use this function for a -<a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> in static storage because it will already be -properly initialised. Just use <a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-set" title="g_weak_ref_set ()"><code class="function">g_weak_ref_set()</code></a> directly. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>weak_ref</code></em> :</span></p></td> -<td>uninitialized or empty location for a weak -reference. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-weak-ref-clear"></a><h3>g_weak_ref_clear ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_weak_ref_clear (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>);</pre> -<p> -Frees resources associated with a non-statically-allocated <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a>. -After this call, the <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> is left in an undefined state. -</p> -<p> -You should only call this on a <a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> that previously had -<a class="link" href="gobject-The-Base-Object-Type.html#g-weak-ref-init" title="g_weak_ref_init ()"><code class="function">g_weak_ref_init()</code></a> called on it. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>weak_ref</code></em> :</span></p></td> -<td>location of a weak reference, which -may be empty. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-weak-ref-get"></a><h3>g_weak_ref_get ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_weak_ref_get (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>);</pre> -<p> -If <em class="parameter"><code>weak_ref</code></em> is not empty, atomically acquire a strong -reference to the object it points to, and return that reference. -</p> -<p> -This function is needed because of the potential race between taking -the pointer value and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()"><code class="function">g_object_ref()</code></a> on it, if the object was losing -its last reference at the same time in a different thread. -</p> -<p> -The caller should release the resulting reference in the usual way, -by using <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()"><code class="function">g_object_unref()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>weak_ref</code></em> :</span></p></td> -<td>location of a weak reference to a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the object pointed to -by <em class="parameter"><code>weak_ref</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it was empty. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.Object]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-weak-ref-set"></a><h3>g_weak_ref_set ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_weak_ref_set (<em class="parameter"><code><a class="link" href="gobject-The-Base-Object-Type.html#GWeakRef" title="GWeakRef"><span class="type">GWeakRef</span></a> *weak_ref</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> object</code></em>);</pre> -<p> -Change the object to which <em class="parameter"><code>weak_ref</code></em> points, or set it to -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -</p> -<p> -You must own a strong reference on <em class="parameter"><code>object</code></em> while calling this -function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>weak_ref</code></em> :</span></p></td> -<td>location for a weak reference</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.32</p> -</div> -</div> -<div class="refsect1"> -<a name="gobject-The-Base-Object-Type.signal-details"></a><h2>Signal Details</h2> -<div class="refsect2"> -<a name="GObject-notify"></a><h3>The <code class="literal">"notify"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *gobject, - <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> *pspec, - <a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a class="link" href="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre> -<p> -The notify signal is emitted on an object when one of its -properties has been changed. Note that getting this signal -doesn't guarantee that the value of the property has actually -changed, it may also be emitted when the setter for the property -is called to reinstate the previous value. -</p> -<p> -This signal is typically used to obtain change notification for a -single property, by specifying the property name as a detail in the -<a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()"><code class="function">g_signal_connect()</code></a> call, like this: -</p> -<div class="informalexample"><pre class="programlisting"> -g_signal_connect (text_view->buffer, "notify::paste-target-list", - G_CALLBACK (gtk_text_view_target_list_notify), - text_view) -</pre></div> -<p> -It is important to note that you must use -<a class="link" href="gobject-GParamSpec.html#canonical-parameter-name">canonical</a> parameter names as -detail strings for the notify signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>gobject</code></em> :</span></p></td> -<td>the object which received the signal.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pspec</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> of the property which changed.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="gobject-The-Base-Object-Type.see-also"></a><h2>See Also</h2> -<a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject" title="struct GParamSpecObject"><span class="type">GParamSpecObject</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object" title="g_param_spec_object ()"><code class="function">g_param_spec_object()</code></a> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Type-Information.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Type-Information.html deleted file mode 100644 index 9a77899..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Type-Information.html +++ /dev/null @@ -1,4088 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Type Information</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="rn01.html" title="API Reference"> -<link rel="next" href="GTypePlugin.html" title="GTypePlugin"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="rn01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="GTypePlugin.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Type-Information.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Type-Information.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Type-Information"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Type-Information.top_of_page"></a>Type Information</span></h2> -<p>Type Information — The GLib Runtime type identification and - management system</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Type-Information.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -typedef <a class="link" href="gobject-Type-Information.html#GType" title="GType">GType</a>; -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL:CAPS" title="G_TYPE_FUNDAMENTAL()">G_TYPE_FUNDAMENTAL</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL-MAX:CAPS" title="G_TYPE_FUNDAMENTAL_MAX">G_TYPE_FUNDAMENTAL_MAX</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-MAKE-FUNDAMENTAL:CAPS" title="G_TYPE_MAKE_FUNDAMENTAL()">G_TYPE_MAKE_FUNDAMENTAL</a> (x) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-ABSTRACT:CAPS" title="G_TYPE_IS_ABSTRACT()">G_TYPE_IS_ABSTRACT</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-DERIVED:CAPS" title="G_TYPE_IS_DERIVED()">G_TYPE_IS_DERIVED</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-FUNDAMENTAL:CAPS" title="G_TYPE_IS_FUNDAMENTAL()">G_TYPE_IS_FUNDAMENTAL</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-VALUE-TYPE:CAPS" title="G_TYPE_IS_VALUE_TYPE()">G_TYPE_IS_VALUE_TYPE</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-HAS-VALUE-TABLE:CAPS" title="G_TYPE_HAS_VALUE_TABLE()">G_TYPE_HAS_VALUE_TABLE</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-CLASSED:CAPS" title="G_TYPE_IS_CLASSED()">G_TYPE_IS_CLASSED</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-INSTANTIATABLE:CAPS" title="G_TYPE_IS_INSTANTIATABLE()">G_TYPE_IS_INSTANTIATABLE</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-DERIVABLE:CAPS" title="G_TYPE_IS_DERIVABLE()">G_TYPE_IS_DERIVABLE</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-DEEP-DERIVABLE:CAPS" title="G_TYPE_IS_DEEP_DERIVABLE()">G_TYPE_IS_DEEP_DERIVABLE</a> (type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-IS-INTERFACE:CAPS" title="G_TYPE_IS_INTERFACE()">G_TYPE_IS_INTERFACE</a> (type) -struct <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface">GTypeInterface</a>; -struct <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance">GTypeInstance</a>; -struct <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass">GTypeClass</a>; -struct <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo">GTypeInfo</a>; -struct <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo">GTypeFundamentalInfo</a>; -struct <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo">GInterfaceInfo</a>; -struct <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable">GTypeValueTable</a>; -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FROM-INSTANCE:CAPS" title="G_TYPE_FROM_INSTANCE()">G_TYPE_FROM_INSTANCE</a> (instance) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS" title="G_TYPE_FROM_CLASS()">G_TYPE_FROM_CLASS</a> (g_class) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FROM-INTERFACE:CAPS" title="G_TYPE_FROM_INTERFACE()">G_TYPE_FROM_INTERFACE</a> (g_iface) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-CLASS:CAPS" title="G_TYPE_INSTANCE_GET_CLASS()">G_TYPE_INSTANCE_GET_CLASS</a> (instance, - g_type, - c_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-INTERFACE:CAPS" title="G_TYPE_INSTANCE_GET_INTERFACE()">G_TYPE_INSTANCE_GET_INTERFACE</a> (instance, - g_type, - c_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-PRIVATE:CAPS" title="G_TYPE_INSTANCE_GET_PRIVATE()">G_TYPE_INSTANCE_GET_PRIVATE</a> (instance, - g_type, - c_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CLASS-GET-PRIVATE:CAPS" title="G_TYPE_CLASS_GET_PRIVATE()">G_TYPE_CLASS_GET_PRIVATE</a> (klass, - g_type, - c_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE:CAPS" title="G_TYPE_CHECK_INSTANCE()">G_TYPE_CHECK_INSTANCE</a> (instance) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-CAST:CAPS" title="G_TYPE_CHECK_INSTANCE_CAST()">G_TYPE_CHECK_INSTANCE_CAST</a> (instance, - g_type, - c_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-TYPE:CAPS" title="G_TYPE_CHECK_INSTANCE_TYPE()">G_TYPE_CHECK_INSTANCE_TYPE</a> (instance, - g_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-CLASS-CAST:CAPS" title="G_TYPE_CHECK_CLASS_CAST()">G_TYPE_CHECK_CLASS_CAST</a> (g_class, - g_type, - c_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-CLASS-TYPE:CAPS" title="G_TYPE_CHECK_CLASS_TYPE()">G_TYPE_CHECK_CLASS_TYPE</a> (g_class, - g_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-VALUE:CAPS" title="G_TYPE_CHECK_VALUE()">G_TYPE_CHECK_VALUE</a> (value) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHECK-VALUE-TYPE:CAPS" title="G_TYPE_CHECK_VALUE_TYPE()">G_TYPE_CHECK_VALUE_TYPE</a> (value, - g_type) -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAG-RESERVED-ID-BIT:CAPS" title="G_TYPE_FLAG_RESERVED_ID_BIT">G_TYPE_FLAG_RESERVED_ID_BIT</a> -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()">g_type_init</a> (<em class="parameter"><code><span class="type">void</span></code></em>); -enum <a class="link" href="gobject-Type-Information.html#GTypeDebugFlags" title="enum GTypeDebugFlags">GTypeDebugFlags</a>; -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-init-with-debug-flags" title="g_type_init_with_debug_flags ()">g_type_init_with_debug_flags</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeDebugFlags" title="enum GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> debug_flags</code></em>); -const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-name" title="g_type_name ()">g_type_name</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="gobject-Type-Information.html#g-type-qname" title="g_type_qname ()">g_type_qname</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-from-name" title="g_type_from_name ()">g_type_from_name</a> (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-parent" title="g_type_parent ()">g_type_parent</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="gobject-Type-Information.html#g-type-depth" title="g_type_depth ()">g_type_depth</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-next-base" title="g_type_next_base ()">g_type_next_base</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> leaf_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> root_type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="gobject-Type-Information.html#g-type-is-a" title="g_type_is_a ()">g_type_is_a</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> is_a_type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()">g_type_class_ref</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-class-peek" title="g_type_class_peek ()">g_type_class_peek</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-class-peek-static" title="g_type_class_peek_static ()">g_type_class_peek_static</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()">g_type_class_unref</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-class-peek-parent" title="g_type_class_peek_parent ()">g_type_class_peek_parent</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-class-add-private" title="g_type_class_add_private ()">g_type_class_add_private</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> private_size</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-add-class-private" title="g_type_add_class_private ()">g_type_add_class_private</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> class_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> private_size</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-interface-peek" title="g_type_interface_peek ()">g_type_interface_peek</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance_class</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> iface_type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-interface-peek-parent" title="g_type_interface_peek_parent ()">g_type_interface_peek_parent</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()">g_type_default_interface_ref</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-default-interface-peek" title="g_type_default_interface_peek ()">g_type_default_interface_peek</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-default-interface-unref" title="g_type_default_interface_unref ()">g_type_default_interface_unref</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-children" title="g_type_children ()">g_type_children</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_children</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-interfaces" title="g_type_interfaces ()">g_type_interfaces</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_interfaces</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-interface-prerequisites" title="g_type_interface_prerequisites ()">g_type_interface_prerequisites</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_prerequisites</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-set-qdata" title="g_type_set_qdata ()">g_type_set_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> <a class="link" href="gobject-Type-Information.html#g-type-get-qdata" title="g_type_get_qdata ()">g_type_get_qdata</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-query" title="g_type_query ()">g_type_query</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeQuery" title="struct GTypeQuery"><span class="type">GTypeQuery</span></a> *query</code></em>); -struct <a class="link" href="gobject-Type-Information.html#GTypeQuery" title="struct GTypeQuery">GTypeQuery</a>; -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()">*GBaseInitFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()">*GBaseFinalizeFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()">*GClassInitFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> class_data</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GClassFinalizeFunc" title="GClassFinalizeFunc ()">*GClassFinalizeFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> class_data</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()">*GInstanceInitFunc</a>) (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> *instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GInterfaceInitFunc" title="GInterfaceInitFunc ()">*GInterfaceInitFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GInterfaceFinalizeFunc" title="GInterfaceFinalizeFunc ()">*GInterfaceFinalizeFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>); -<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()">*GTypeClassCacheFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> *g_class</code></em>); -enum <a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags">GTypeFlags</a>; -enum <a class="link" href="gobject-Type-Information.html#GTypeFundamentalFlags" title="enum GTypeFundamentalFlags">GTypeFundamentalFlags</a>; -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()">g_type_register_static</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-register-static-simple" title="g_type_register_static_simple ()">g_type_register_static_simple</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> class_size</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><span class="type">GClassInitFunc</span></a> class_init</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> instance_size</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()"><span class="type">GInstanceInitFunc</span></a> instance_init</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-register-dynamic" title="g_type_register_dynamic ()">g_type_register_dynamic</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-register-fundamental" title="g_type_register_fundamental ()">g_type_register_fundamental</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type_id</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo"><span class="type">GTypeFundamentalInfo</span></a> *finfo</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-add-interface-static" title="g_type_add_interface_static ()">g_type_add_interface_static</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *info</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-add-interface-dynamic" title="g_type_add_interface_dynamic ()">g_type_add_interface_dynamic</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-interface-add-prerequisite" title="g_type_interface_add_prerequisite ()">g_type_interface_add_prerequisite</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> prerequisite_type</code></em>); -<a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="returnvalue">GTypePlugin</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-get-plugin" title="g_type_get_plugin ()">g_type_get_plugin</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="returnvalue">GTypePlugin</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-interface-get-plugin" title="g_type_interface_get_plugin ()">g_type_interface_get_plugin</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-fundamental-next" title="g_type_fundamental_next ()">g_type_fundamental_next</a> (<em class="parameter"><code><span class="type">void</span></code></em>); -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> <a class="link" href="gobject-Type-Information.html#g-type-fundamental" title="g_type_fundamental ()">g_type_fundamental</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type_id</code></em>); -<a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="returnvalue">GTypeInstance</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-free-instance" title="g_type_free_instance ()">g_type_free_instance</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> *instance</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-add-class-cache-func" title="g_type_add_class_cache_func ()">g_type_add_class_cache_func</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> cache_func</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-remove-class-cache-func" title="g_type_remove_class_cache_func ()">g_type_remove_class_cache_func</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> cache_func</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-class-unref-uncached" title="g_type_class_unref_uncached ()">g_type_class_unref_uncached</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()">g_type_add_interface_check</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()"><span class="type">GTypeInterfaceCheckFunc</span></a> check_func</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-remove-interface-check" title="g_type_remove_interface_check ()">g_type_remove_interface_check</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()"><span class="type">GTypeInterfaceCheckFunc</span></a> check_func</code></em>); -<span class="returnvalue">void</span> (<a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()">*GTypeInterfaceCheckFunc</a>) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>); -<a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="returnvalue">GTypeValueTable</span></a> * <a class="link" href="gobject-Type-Information.html#g-type-value-table-peek" title="g_type_value_table_peek ()">g_type_value_table_peek</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Type-Information.html#g-type-ensure" title="g_type_ensure ()">g_type_ensure</a> (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>); -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()">G_DEFINE_TYPE</a> (TN, - t_n, - T_P) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()">G_DEFINE_TYPE_WITH_CODE</a> (TN, - t_n, - T_P, - _C_) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE:CAPS" title="G_DEFINE_ABSTRACT_TYPE()">G_DEFINE_ABSTRACT_TYPE</a> (TN, - t_n, - T_P) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS" title="G_DEFINE_ABSTRACT_TYPE_WITH_CODE()">G_DEFINE_ABSTRACT_TYPE_WITH_CODE</a> (TN, - t_n, - T_P, - _C_) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()">G_DEFINE_INTERFACE</a> (TN, - t_n, - T_P) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE-WITH-CODE:CAPS" title="G_DEFINE_INTERFACE_WITH_CODE()">G_DEFINE_INTERFACE_WITH_CODE</a> (TN, - t_n, - T_P, - _C_) -#define <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()">G_IMPLEMENT_INTERFACE</a> (TYPE_IFACE, - iface_init) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()">G_DEFINE_TYPE_EXTENDED</a> (TN, - t_n, - T_P, - _f_, - _C_) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE:CAPS" title="G_DEFINE_BOXED_TYPE()">G_DEFINE_BOXED_TYPE</a> (TypeName, - type_name, - copy_func, - free_func) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS" title="G_DEFINE_BOXED_TYPE_WITH_CODE()">G_DEFINE_BOXED_TYPE_WITH_CODE</a> (TypeName, - type_name, - copy_func, - free_func, - _C_) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE:CAPS" title="G_DEFINE_POINTER_TYPE()">G_DEFINE_POINTER_TYPE</a> (TypeName, - type_name) -#define <a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS" title="G_DEFINE_POINTER_TYPE_WITH_CODE()">G_DEFINE_POINTER_TYPE_WITH_CODE</a> (TypeName, - type_name, - _C_) - - -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" title="G_TYPE_INVALID">G_TYPE_INVALID</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-NONE:CAPS" title="G_TYPE_NONE">G_TYPE_NONE</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-INTERFACE:CAPS" title="G_TYPE_INTERFACE">G_TYPE_INTERFACE</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-CHAR:CAPS" title="G_TYPE_CHAR">G_TYPE_CHAR</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS" title="G_TYPE_UCHAR">G_TYPE_UCHAR</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS" title="G_TYPE_BOOLEAN">G_TYPE_BOOLEAN</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-INT:CAPS" title="G_TYPE_INT">G_TYPE_INT</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT:CAPS" title="G_TYPE_UINT">G_TYPE_UINT</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-LONG:CAPS" title="G_TYPE_LONG">G_TYPE_LONG</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-ULONG:CAPS" title="G_TYPE_ULONG">G_TYPE_ULONG</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-INT64:CAPS" title="G_TYPE_INT64">G_TYPE_INT64</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-UINT64:CAPS" title="G_TYPE_UINT64">G_TYPE_UINT64</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-ENUM:CAPS" title="G_TYPE_ENUM">G_TYPE_ENUM</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS" title="G_TYPE_FLAGS">G_TYPE_FLAGS</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS" title="G_TYPE_FLOAT">G_TYPE_FLOAT</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS" title="G_TYPE_DOUBLE">G_TYPE_DOUBLE</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-STRING:CAPS" title="G_TYPE_STRING">G_TYPE_STRING</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-POINTER:CAPS" title="G_TYPE_POINTER">G_TYPE_POINTER</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-BOXED:CAPS" title="G_TYPE_BOXED">G_TYPE_BOXED</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-PARAM:CAPS" title="G_TYPE_PARAM">G_TYPE_PARAM</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS" title="G_TYPE_OBJECT">G_TYPE_OBJECT</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS" title="G_TYPE_GTYPE">G_TYPE_GTYPE</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT">G_TYPE_VARIANT</a> - -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-FIRST:CAPS" title="G_TYPE_RESERVED_GLIB_FIRST">G_TYPE_RESERVED_GLIB_FIRST</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-LAST:CAPS" title="G_TYPE_RESERVED_GLIB_LAST">G_TYPE_RESERVED_GLIB_LAST</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-BSE-FIRST:CAPS" title="G_TYPE_RESERVED_BSE_FIRST">G_TYPE_RESERVED_BSE_FIRST</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-BSE-LAST:CAPS" title="G_TYPE_RESERVED_BSE_LAST">G_TYPE_RESERVED_BSE_LAST</a> -#define <a class="link" href="gobject-Type-Information.html#G-TYPE-RESERVED-USER-FIRST:CAPS" title="G_TYPE_RESERVED_USER_FIRST">G_TYPE_RESERVED_USER_FIRST</a> -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Type-Information.description"></a><h2>Description</h2> -<p> -The GType API is the foundation of the GObject system. It provides the -facilities for registering and managing all fundamental data types, -user-defined object and interface types. Before using any GType -or GObject functions, <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a> must be called to initialize the -type system. -</p> -<p> -For type creation and registration purposes, all types fall into one of -two categories: static or dynamic. Static types are never loaded or -unloaded at run-time as dynamic types may be. Static types are created -with <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()"><code class="function">g_type_register_static()</code></a> that gets type specific information passed -in via a <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure. -Dynamic types are created with <a class="link" href="gobject-Type-Information.html#g-type-register-dynamic" title="g_type_register_dynamic ()"><code class="function">g_type_register_dynamic()</code></a> which takes a -<a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure instead. The remaining type information (the -<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure) is retrieved during runtime through <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> -and the g_type_plugin_*() API. -These registration functions are usually called only once from a -function whose only purpose is to return the type identifier for a -specific class. Once the type (or class or interface) is registered, -it may be instantiated, inherited, or implemented depending on exactly -what sort of type it is. -There is also a third registration function for registering fundamental -types called <a class="link" href="gobject-Type-Information.html#g-type-register-fundamental" title="g_type_register_fundamental ()"><code class="function">g_type_register_fundamental()</code></a> which requires both a <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> -structure and a <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo"><span class="type">GTypeFundamentalInfo</span></a> structure but it is seldom used -since most fundamental types are predefined rather than user-defined. -</p> -<p> -Type instance and class structs are limited to a total of 64 KiB, -including all parent types. Similarly, type instances' private data -(as created by <a class="link" href="gobject-Type-Information.html#g-type-class-add-private" title="g_type_class_add_private ()"><code class="function">g_type_class_add_private()</code></a>) are limited to a total of -64 KiB. If a type instance needs a large static buffer, allocate it -separately (typically by using <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> or <a href="./../glib/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a>) and put a pointer -to the buffer in the structure. -</p> -<p> -A final word about type names. -Such an identifier needs to be at least three characters long. There is no -upper length limit. The first character needs to be a letter (a-z or A-Z) -or an underscore '_'. Subsequent characters can be letters, numbers or -any of '-_+'. -</p> -</div> -<div class="refsect1"> -<a name="gobject-Type-Information.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GType"></a><h3>GType</h3> -<p> -A numerical value which represents the unique identifier of a registered -type. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FUNDAMENTAL:CAPS"></a><h3>G_TYPE_FUNDAMENTAL()</h3> -<pre class="programlisting">#define G_TYPE_FUNDAMENTAL(type) (g_type_fundamental (type)) -</pre> -<p> -The fundamental type which is the ancestor of <em class="parameter"><code>type</code></em>. -Fundamental types are types that serve as ultimate bases for the derived types, -thus they are the roots of distinct inheritance hierarchies. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FUNDAMENTAL-MAX:CAPS"></a><h3>G_TYPE_FUNDAMENTAL_MAX</h3> -<pre class="programlisting">#define G_TYPE_FUNDAMENTAL_MAX (255 << G_TYPE_FUNDAMENTAL_SHIFT) -</pre> -<p> -An integer constant that represents the number of identifiers reserved -for types that are assigned at compile-time. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-MAKE-FUNDAMENTAL:CAPS"></a><h3>G_TYPE_MAKE_FUNDAMENTAL()</h3> -<pre class="programlisting">#define G_TYPE_MAKE_FUNDAMENTAL(x) ((GType) ((x) << G_TYPE_FUNDAMENTAL_SHIFT)) -</pre> -<p> -Get the type ID for the fundamental type number <em class="parameter"><code>x</code></em>. -Use <a class="link" href="gobject-Type-Information.html#g-type-fundamental-next" title="g_type_fundamental_next ()"><code class="function">g_type_fundamental_next()</code></a> instead of this macro to create new fundamental -types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> -<td>the fundamental type number.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the GType</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-ABSTRACT:CAPS"></a><h3>G_TYPE_IS_ABSTRACT()</h3> -<pre class="programlisting">#define G_TYPE_IS_ABSTRACT(type) (g_type_test_flags ((type), G_TYPE_FLAG_ABSTRACT)) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is an abstract type. An abstract type cannot be -instantiated and is normally used as an abstract base class for -derived classes. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-DERIVED:CAPS"></a><h3>G_TYPE_IS_DERIVED()</h3> -<pre class="programlisting">#define G_TYPE_IS_DERIVED(type) ((type) > G_TYPE_FUNDAMENTAL_MAX) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is derived (or in object-oriented terminology: -inherited) from another type (this holds true for all non-fundamental -types). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-FUNDAMENTAL:CAPS"></a><h3>G_TYPE_IS_FUNDAMENTAL()</h3> -<pre class="programlisting">#define G_TYPE_IS_FUNDAMENTAL(type) ((type) <= G_TYPE_FUNDAMENTAL_MAX) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is a fundamental type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-VALUE-TYPE:CAPS"></a><h3>G_TYPE_IS_VALUE_TYPE()</h3> -<pre class="programlisting">#define G_TYPE_IS_VALUE_TYPE(type) (g_type_check_is_value_type (type)) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is a value type and can be used with <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-HAS-VALUE-TABLE:CAPS"></a><h3>G_TYPE_HAS_VALUE_TABLE()</h3> -<pre class="programlisting">#define G_TYPE_HAS_VALUE_TABLE(type) (g_type_value_table_peek (type) != NULL) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> has a <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-CLASSED:CAPS"></a><h3>G_TYPE_IS_CLASSED()</h3> -<pre class="programlisting">#define G_TYPE_IS_CLASSED(type) (g_type_test_flags ((type), G_TYPE_FLAG_CLASSED)) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is a classed type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-INSTANTIATABLE:CAPS"></a><h3>G_TYPE_IS_INSTANTIATABLE()</h3> -<pre class="programlisting">#define G_TYPE_IS_INSTANTIATABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_INSTANTIATABLE)) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> can be instantiated. Instantiation is the -process of creating an instance (object) of this type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-DERIVABLE:CAPS"></a><h3>G_TYPE_IS_DERIVABLE()</h3> -<pre class="programlisting">#define G_TYPE_IS_DERIVABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_DERIVABLE)) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is a derivable type. A derivable type can -be used as the base class of a flat (single-level) class hierarchy. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-DEEP-DERIVABLE:CAPS"></a><h3>G_TYPE_IS_DEEP_DERIVABLE()</h3> -<pre class="programlisting">#define G_TYPE_IS_DEEP_DERIVABLE(type) (g_type_test_flags ((type), G_TYPE_FLAG_DEEP_DERIVABLE)) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is a deep derivable type. A deep derivable type -can be used as the base class of a deep (multi-level) class hierarchy. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-IS-INTERFACE:CAPS"></a><h3>G_TYPE_IS_INTERFACE()</h3> -<pre class="programlisting">#define G_TYPE_IS_INTERFACE(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_INTERFACE) -</pre> -<p> -Checks if <em class="parameter"><code>type</code></em> is an interface type. -An interface type provides a pure API, the implementation -of which is provided by another type (which is then said to conform -to the interface). GLib interfaces are somewhat analogous to Java -interfaces and C++ classes containing only pure virtual functions, -with the difference that GType interfaces are not derivable (but see -<a class="link" href="gobject-Type-Information.html#g-type-interface-add-prerequisite" title="g_type_interface_add_prerequisite ()"><code class="function">g_type_interface_add_prerequisite()</code></a> for an alternative). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeInterface"></a><h3>struct GTypeInterface</h3> -<pre class="programlisting">struct GTypeInterface { -}; -</pre> -<p> -An opaque structure used as the base of all interface types. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeInstance"></a><h3>struct GTypeInstance</h3> -<pre class="programlisting">struct GTypeInstance { -}; -</pre> -<p> -An opaque structure used as the base of all type instances. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeClass"></a><h3>struct GTypeClass</h3> -<pre class="programlisting">struct GTypeClass { -}; -</pre> -<p> -An opaque structure used as the base of all classes. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeInfo"></a><h3>struct GTypeInfo</h3> -<pre class="programlisting">struct GTypeInfo { - /* interface types, classed types, instantiated types */ - guint16 class_size; - - GBaseInitFunc base_init; - GBaseFinalizeFunc base_finalize; - - /* interface types, classed types, instantiated types */ - GClassInitFunc class_init; - GClassFinalizeFunc class_finalize; - gconstpointer class_data; - - /* instantiated types */ - guint16 instance_size; - guint16 n_preallocs; - GInstanceInitFunc instance_init; - - /* value handling */ - const GTypeValueTable *value_table; -}; -</pre> -<p> -This structure is used to provide the type system with the information -required to initialize and destruct (finalize) a type's class and -its instances. -The initialized structure is passed to the <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()"><code class="function">g_type_register_static()</code></a> function -(or is copied into the provided <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure in the -<a class="link" href="GTypePlugin.html#g-type-plugin-complete-type-info" title="g_type_plugin_complete_type_info ()"><code class="function">g_type_plugin_complete_type_info()</code></a>). The type system will perform a deep -copy of this structure, so its memory does not need to be persistent -across invocation of <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()"><code class="function">g_type_register_static()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GTypeInfo.class-size"></a>class_size</code></em>;</span></p></td> -<td>Size of the class structure (required for interface, classed and instantiatable types).</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><span class="type">GBaseInitFunc</span></a> <em class="structfield"><code><a name="GTypeInfo.base-init"></a>base_init</code></em>;</span></p></td> -<td>Location of the base initialization function (optional).</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()"><span class="type">GBaseFinalizeFunc</span></a> <em class="structfield"><code><a name="GTypeInfo.base-finalize"></a>base_finalize</code></em>;</span></p></td> -<td>Location of the base finalization function (optional).</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><span class="type">GClassInitFunc</span></a> <em class="structfield"><code><a name="GTypeInfo.class-init"></a>class_init</code></em>;</span></p></td> -<td>Location of the class initialization function for -classed and instantiatable types. Location of the default vtable -inititalization function for interface types. (optional) This function -is used both to fill in virtual functions in the class or default vtable, -and to do type-specific setup such as registering signals and object -properties.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GClassFinalizeFunc" title="GClassFinalizeFunc ()"><span class="type">GClassFinalizeFunc</span></a> <em class="structfield"><code><a name="GTypeInfo.class-finalize"></a>class_finalize</code></em>;</span></p></td> -<td>Location of the class finalization function for -classed and instantiatable types. Location fo the default vtable -finalization function for interface types. (optional)</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> <em class="structfield"><code><a name="GTypeInfo.class-data"></a>class_data</code></em>;</span></p></td> -<td>User-supplied data passed to the class init/finalize functions.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GTypeInfo.instance-size"></a>instance_size</code></em>;</span></p></td> -<td>Size of the instance (object) structure (required for instantiatable types only).</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint16"><span class="type">guint16</span></a> <em class="structfield"><code><a name="GTypeInfo.n-preallocs"></a>n_preallocs</code></em>;</span></p></td> -<td>Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the <a href="./../glib/glib/glib-Memory-Slices.html">slice allocator</a> now.</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()"><span class="type">GInstanceInitFunc</span></a> <em class="structfield"><code><a name="GTypeInfo.instance-init"></a>instance_init</code></em>;</span></p></td> -<td>Location of the instance initialization function (optional, for instantiatable types only).</td> -</tr> -<tr> -<td><p><span class="term">const <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> *<em class="structfield"><code><a name="GTypeInfo.value-table"></a>value_table</code></em>;</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> function table for generic handling of GValues of this type (usually only -useful for fundamental types).</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeFundamentalInfo"></a><h3>struct GTypeFundamentalInfo</h3> -<pre class="programlisting">struct GTypeFundamentalInfo { - GTypeFundamentalFlags type_flags; -}; -</pre> -<p> -A structure that provides information to the type system which is -used specifically for managing fundamental types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GTypeFundamentalFlags" title="enum GTypeFundamentalFlags"><span class="type">GTypeFundamentalFlags</span></a> <em class="structfield"><code><a name="GTypeFundamentalInfo.type-flags"></a>type_flags</code></em>;</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GTypeFundamentalFlags" title="enum GTypeFundamentalFlags"><span class="type">GTypeFundamentalFlags</span></a> describing the characteristics of the fundamental type</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GInterfaceInfo"></a><h3>struct GInterfaceInfo</h3> -<pre class="programlisting">struct GInterfaceInfo { - GInterfaceInitFunc interface_init; - GInterfaceFinalizeFunc interface_finalize; - gpointer interface_data; -}; -</pre> -<p> -A structure that provides information to the type system which is -used specifically for managing interface types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GInterfaceInitFunc" title="GInterfaceInitFunc ()"><span class="type">GInterfaceInitFunc</span></a> <em class="structfield"><code><a name="GInterfaceInfo.interface-init"></a>interface_init</code></em>;</span></p></td> -<td>location of the interface initialization function</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GInterfaceFinalizeFunc" title="GInterfaceFinalizeFunc ()"><span class="type">GInterfaceFinalizeFunc</span></a> <em class="structfield"><code><a name="GInterfaceInfo.interface-finalize"></a>interface_finalize</code></em>;</span></p></td> -<td>location of the interface finalization function</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GInterfaceInfo.interface-data"></a>interface_data</code></em>;</span></p></td> -<td>user-supplied data passed to the interface init/finalize functions</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeValueTable"></a><h3>struct GTypeValueTable</h3> -<pre class="programlisting">struct GTypeValueTable { - void (*value_init) (GValue *value); - void (*value_free) (GValue *value); - void (*value_copy) (const GValue *src_value, - GValue *dest_value); - /* varargs functionality (optional) */ - gpointer (*value_peek_pointer) (const GValue *value); - const gchar *collect_format; - gchar* (*collect_value) (GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags); - const gchar *lcopy_format; - gchar* (*lcopy_value) (const GValue *value, - guint n_collect_values, - GTypeCValue *collect_values, - guint collect_flags); -}; -</pre> -<p> -The <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> provides the functions required by the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> implementation, -to serve as a container for values of a type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeValueTable.value-init"></a>value_init</code></em> ()</span></p></td> -<td>Default initialize <em class="parameter"><code>values</code></em> contents by poking values -directly into the value->data array. The data array of -the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> passed into this function was zero-filled -with <code class="function"><code class="function">memset()</code></code>, so no care has to -be taken to free any -old contents. E.g. for the implementation of a string -value that may never be <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the implementation might -look like: -<div class="informalexample"><pre class="programlisting"> -value->data[0].v_pointer = g_strdup (""); -</pre></div> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeValueTable.value-free"></a>value_free</code></em> ()</span></p></td> -<td>Free any old contents that might be left in the -data array of the passed in <em class="parameter"><code>value</code></em>. No resources may -remain allocated through the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> contents after -this function returns. E.g. for our above string type: -<div class="informalexample"><pre class="programlisting"> -// only free strings without a specific flag for static storage -if (!(value->data[1].v_uint & G_VALUE_NOCOPY_CONTENTS)) -g_free (value->data[0].v_pointer); -</pre></div> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeValueTable.value-copy"></a>value_copy</code></em> ()</span></p></td> -<td> -<em class="parameter"><code>dest_value</code></em> is a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> with zero-filled data section -and <em class="parameter"><code>src_value</code></em> is a properly setup <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> of same or -derived type. -The purpose of this function is to copy the contents of -<em class="parameter"><code>src_value</code></em> into <em class="parameter"><code>dest_value</code></em> in a way, that even after -<em class="parameter"><code>src_value</code></em> has been freed, the contents of <em class="parameter"><code>dest_value</code></em> -remain valid. String type example: -<div class="informalexample"><pre class="programlisting"> -dest_value->data[0].v_pointer = g_strdup (src_value->data[0].v_pointer); -</pre></div> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeValueTable.value-peek-pointer"></a>value_peek_pointer</code></em> ()</span></p></td> -<td>If the value contents fit into a pointer, such as objects -or strings, return this pointer, so the caller can peek at -the current contents. To extend on our above string example: -<div class="informalexample"><pre class="programlisting"> -return value->data[0].v_pointer; -</pre></div> -</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GTypeValueTable.collect-format"></a>collect_format</code></em>;</span></p></td> -<td>A string format describing how to collect the contents of -this value bit-by-bit. Each character in the format represents -an argument to be collected, and the characters themselves indicate -the type of the argument. Currently supported arguments are: -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> -'i' - Integers. passed as collect_values[].v_int. -</p></td> -</tr> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> -'l' - Longs. passed as collect_values[].v_long. -</p></td> -</tr> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> -'d' - Doubles. passed as collect_values[].v_double. -</p></td> -</tr> -<tr> -<td><p><span class="term"></span></p></td> -<td><p> -'p' - Pointers. passed as collect_values[].v_pointer. -</p></td> -</tr> -</tbody> -</table></div> -It should be noted that for variable argument list construction, -ANSI C promotes every type smaller than an integer to an int, and -floats to doubles. So for collection of short int or char, 'i' -needs to be used, and for collection of floats 'd'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeValueTable.collect-value"></a>collect_value</code></em> ()</span></p></td> -<td>The <code class="function">collect_value()</code> function is responsible for converting the -values collected from a variable argument list into contents -suitable for storage in a GValue. This function should setup -<em class="parameter"><code>value</code></em> similar to <code class="function">value_init()</code>; e.g. for a string value that -does not allow <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointers, it needs to either spew an error, -or do an implicit conversion by storing an empty string. -The <em class="parameter"><code>value</code></em> passed in to this function has a zero-filled data -array, so just like for <code class="function">value_init()</code> it is guaranteed to not -contain any old contents that might need freeing. -<em class="parameter"><code>n_collect_values</code></em> is exactly the string length of <em class="parameter"><code>collect_format</code></em>, -and <em class="parameter"><code>collect_values</code></em> is an array of unions <a class="link" href="gobject-Varargs-Value-Collection.html#GTypeCValue" title="union GTypeCValue"><span class="type">GTypeCValue</span></a> with -length <em class="parameter"><code>n_collect_values</code></em>, containing the collected values -according to <em class="parameter"><code>collect_format</code></em>. -<em class="parameter"><code>collect_flags</code></em> is an argument provided as a hint by the caller. -It may contain the flag <code class="literal">G_VALUE_NOCOPY_CONTENTS</code> indicating, -that the collected value contents may be considered "static" -for the duration of the <em class="parameter"><code>value</code></em> lifetime. -Thus an extra copy of the contents stored in <em class="parameter"><code>collect_values</code></em> is -not required for assignment to <em class="parameter"><code>value</code></em>. -For our above string example, we continue with: -<div class="informalexample"><pre class="programlisting"> -if (!collect_values[0].v_pointer) -value->data[0].v_pointer = g_strdup (""); -else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) -{ -value->data[0].v_pointer = collect_values[0].v_pointer; -// keep a flag for the value_free() implementation to not free this string -value->data[1].v_uint = G_VALUE_NOCOPY_CONTENTS; -} -else -value->data[0].v_pointer = g_strdup (collect_values[0].v_pointer); -return NULL; -</pre></div> -It should be noted, that it is generally a bad idea to follow the -<span class="type">G_VALUE_NOCOPY_CONTENTS</span> hint for reference counted types. Due to -reentrancy requirements and reference count assertions performed -by the signal emission code, reference counts should always be -incremented for reference counted contents stored in the value->data -array. To deviate from our string example for a moment, and taking -a look at an exemplary implementation for <code class="function">collect_value()</code> of -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>: -<div class="informalexample"><pre class="programlisting"> -if (collect_values[0].v_pointer) -{ -GObject *object = G_OBJECT (collect_values[0].v_pointer); -// never honour G_VALUE_NOCOPY_CONTENTS for ref-counted types -value->data[0].v_pointer = g_object_ref (object); -return NULL; -} -else -return g_strdup_printf ("Object passed as invalid NULL pointer"); -} -</pre></div> -The reference count for valid objects is always incremented, -regardless of <em class="parameter"><code>collect_flags</code></em>. For invalid objects, the example -returns a newly allocated string without altering <em class="parameter"><code>value</code></em>. -Upon success, <code class="function">collect_value()</code> needs to return <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If, however, -an error condition occurred, <code class="function">collect_value()</code> may spew an -error by returning a newly allocated non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> string, giving -a suitable description of the error condition. -The calling code makes no assumptions about the <em class="parameter"><code>value</code></em> -contents being valid upon error returns, <em class="parameter"><code>value</code></em> -is simply thrown away without further freeing. As such, it is -a good idea to not allocate <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> contents, prior to returning -an error, however, <code class="function">collect_values()</code> is not obliged to return -a correctly setup <em class="parameter"><code>value</code></em> for error returns, simply because -any non-<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> return is considered a fatal condition so further -program behaviour is undefined.</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GTypeValueTable.lcopy-format"></a>lcopy_format</code></em>;</span></p></td> -<td>Format description of the arguments to collect for <em class="parameter"><code>lcopy_value</code></em>, -analogous to <em class="parameter"><code>collect_format</code></em>. Usually, <em class="parameter"><code>lcopy_format</code></em> string consists -only of 'p's to provide <code class="function">lcopy_value()</code> with pointers to storage locations.</td> -</tr> -<tr> -<td><p><span class="term"><em class="structfield"><code><a name="GTypeValueTable.lcopy-value"></a>lcopy_value</code></em> ()</span></p></td> -<td>This function is responsible for storing the <em class="parameter"><code>value</code></em> contents into -arguments passed through a variable argument list which got -collected into <em class="parameter"><code>collect_values</code></em> according to <em class="parameter"><code>lcopy_format</code></em>. -<em class="parameter"><code>n_collect_values</code></em> equals the string length of <em class="parameter"><code>lcopy_format</code></em>, -and <em class="parameter"><code>collect_flags</code></em> may contain <code class="literal">G_VALUE_NOCOPY_CONTENTS</code>. -In contrast to <code class="function">collect_value()</code>, <code class="function">lcopy_value()</code> is obliged to -always properly support <code class="literal">G_VALUE_NOCOPY_CONTENTS</code>. -Similar to <code class="function">collect_value()</code> the function may prematurely abort -by returning a newly allocated string describing an error condition. -To complete the string example: -<div class="informalexample"><pre class="programlisting"> -gchar **string_p = collect_values[0].v_pointer; -if (!string_p) -return g_strdup_printf ("string location passed as NULL"); -if (collect_flags & G_VALUE_NOCOPY_CONTENTS) -*string_p = value->data[0].v_pointer; -else -*string_p = g_strdup (value->data[0].v_pointer); -</pre></div> -And an illustrative version of <code class="function">lcopy_value()</code> for -reference-counted types: -<div class="informalexample"><pre class="programlisting"> -GObject **object_p = collect_values[0].v_pointer; -if (!object_p) -return g_strdup_printf ("object location passed as NULL"); -if (!value->data[0].v_pointer) -*object_p = NULL; -else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) /* always honour */ -*object_p = value->data[0].v_pointer; -else -*object_p = g_object_ref (value->data[0].v_pointer); -return NULL; -</pre></div> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FROM-INSTANCE:CAPS"></a><h3>G_TYPE_FROM_INSTANCE()</h3> -<pre class="programlisting">#define G_TYPE_FROM_INSTANCE(instance) (G_TYPE_FROM_CLASS (((GTypeInstance*) (instance))->g_class)) -</pre> -<p> -Get the type identifier from a given <em class="parameter"><code>instance</code></em> structure. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>Location of a valid <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FROM-CLASS:CAPS"></a><h3>G_TYPE_FROM_CLASS()</h3> -<pre class="programlisting">#define G_TYPE_FROM_CLASS(g_class) (((GTypeClass*) (g_class))->g_type) -</pre> -<p> -Get the type identifier from a given <em class="parameter"><code>class</code></em> structure. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>Location of a valid <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FROM-INTERFACE:CAPS"></a><h3>G_TYPE_FROM_INTERFACE()</h3> -<pre class="programlisting">#define G_TYPE_FROM_INTERFACE(g_iface) (((GTypeInterface*) (g_iface))->g_type) -</pre> -<p> -Get the type identifier from a given <em class="parameter"><code>interface</code></em> structure. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>Location of a valid <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INSTANCE-GET-CLASS:CAPS"></a><h3>G_TYPE_INSTANCE_GET_CLASS()</h3> -<pre class="programlisting">#define G_TYPE_INSTANCE_GET_CLASS(instance, g_type, c_type) (_G_TYPE_IGC ((instance), (g_type), c_type)) -</pre> -<p> -Get the class structure of a given <em class="parameter"><code>instance</code></em>, casted -to a specified ancestor type <em class="parameter"><code>g_type</code></em> of the instance. -</p> -<p> -Note that while calling a <a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()"><code class="function">GInstanceInitFunc()</code></a>, the class pointer gets -modified, so it might not always return the expected pointer. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>Location of the <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the class to be returned.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_type</code></em> :</span></p></td> -<td>The C type of the class structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a pointer to the class structure</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INSTANCE-GET-INTERFACE:CAPS"></a><h3>G_TYPE_INSTANCE_GET_INTERFACE()</h3> -<pre class="programlisting">#define G_TYPE_INSTANCE_GET_INTERFACE(instance, g_type, c_type) (_G_TYPE_IGI ((instance), (g_type), c_type)) -</pre> -<p> -Get the interface structure for interface <em class="parameter"><code>g_type</code></em> of a given <em class="parameter"><code>instance</code></em>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>Location of the <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the interface to be returned.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_type</code></em> :</span></p></td> -<td>The C type of the interface structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a pointer to the interface structure</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INSTANCE-GET-PRIVATE:CAPS"></a><h3>G_TYPE_INSTANCE_GET_PRIVATE()</h3> -<pre class="programlisting">#define G_TYPE_INSTANCE_GET_PRIVATE(instance, g_type, c_type) ((c_type*) g_type_instance_get_private ((GTypeInstance*) (instance), (g_type))) -</pre> -<p> -Gets the private structure for a particular type. -The private structure must have been registered in the -class_init function with <a class="link" href="gobject-Type-Information.html#g-type-class-add-private" title="g_type_class_add_private ()"><code class="function">g_type_class_add_private()</code></a>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>the instance of a type deriving from <em class="parameter"><code>private_type</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>the type identifying which private data to retrieve.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_type</code></em> :</span></p></td> -<td>The C type for the private structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a pointer to the private data structure.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CLASS-GET-PRIVATE:CAPS"></a><h3>G_TYPE_CLASS_GET_PRIVATE()</h3> -<pre class="programlisting">#define G_TYPE_CLASS_GET_PRIVATE(klass, g_type, c_type) ((c_type*) g_type_class_get_private ((GTypeClass*) (klass), (g_type))) -</pre> -<p> -Gets the private class structure for a particular type. -The private structure must have been registered in the -<code class="function">get_type()</code> function with <a class="link" href="gobject-Type-Information.html#g-type-add-class-private" title="g_type_add_class_private ()"><code class="function">g_type_add_class_private()</code></a>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td> -<td>the class of a type deriving from <em class="parameter"><code>private_type</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>the type identifying which private data to retrieve.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_type</code></em> :</span></p></td> -<td>The C type for the private structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a pointer to the private data structure.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHECK-INSTANCE:CAPS"></a><h3>G_TYPE_CHECK_INSTANCE()</h3> -<pre class="programlisting">#define G_TYPE_CHECK_INSTANCE(instance) (_G_TYPE_CHI ((GTypeInstance*) (instance))) -</pre> -<p> -Checks if <em class="parameter"><code>instance</code></em> is a valid <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure, -otherwise issues a warning and returns <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>Location of a <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHECK-INSTANCE-CAST:CAPS"></a><h3>G_TYPE_CHECK_INSTANCE_CAST()</h3> -<pre class="programlisting">#define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) -</pre> -<p> -Checks that <em class="parameter"><code>instance</code></em> is an instance of the type identified by <em class="parameter"><code>g_type</code></em> -and issues a warning if this is not the case. Returns <em class="parameter"><code>instance</code></em> casted -to a pointer to <em class="parameter"><code>c_type</code></em>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>Location of a <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>The type to be returned.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_type</code></em> :</span></p></td> -<td>The corresponding C type of <em class="parameter"><code>g_type</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHECK-INSTANCE-TYPE:CAPS"></a><h3>G_TYPE_CHECK_INSTANCE_TYPE()</h3> -<pre class="programlisting">#define G_TYPE_CHECK_INSTANCE_TYPE(instance, g_type) (_G_TYPE_CIT ((instance), (g_type))) -</pre> -<p> -Checks if <em class="parameter"><code>instance</code></em> is an instance of the type identified by <em class="parameter"><code>g_type</code></em>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>Location of a <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>The type to be checked</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHECK-CLASS-CAST:CAPS"></a><h3>G_TYPE_CHECK_CLASS_CAST()</h3> -<pre class="programlisting">#define G_TYPE_CHECK_CLASS_CAST(g_class, g_type, c_type) (_G_TYPE_CCC ((g_class), (g_type), c_type)) -</pre> -<p> -Checks that <em class="parameter"><code>g_class</code></em> is a class structure of the type identified by <em class="parameter"><code>g_type</code></em> -and issues a warning if this is not the case. Returns <em class="parameter"><code>g_class</code></em> casted -to a pointer to <em class="parameter"><code>c_type</code></em>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>Location of a <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>The type to be returned.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>c_type</code></em> :</span></p></td> -<td>The corresponding C type of class structure of <em class="parameter"><code>g_type</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHECK-CLASS-TYPE:CAPS"></a><h3>G_TYPE_CHECK_CLASS_TYPE()</h3> -<pre class="programlisting">#define G_TYPE_CHECK_CLASS_TYPE(g_class, g_type) (_G_TYPE_CCT ((g_class), (g_type))) -</pre> -<p> -Checks if <em class="parameter"><code>g_class</code></em> is a class structure of the type identified by -<em class="parameter"><code>g_type</code></em>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>Location of a <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>The type to be checked.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHECK-VALUE:CAPS"></a><h3>G_TYPE_CHECK_VALUE()</h3> -<pre class="programlisting">#define G_TYPE_CHECK_VALUE(value) (_G_TYPE_CHV ((value))) -</pre> -<p> -Checks if <em class="parameter"><code>value</code></em> has been initialized to hold values -of a value type. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHECK-VALUE-TYPE:CAPS"></a><h3>G_TYPE_CHECK_VALUE_TYPE()</h3> -<pre class="programlisting">#define G_TYPE_CHECK_VALUE_TYPE(value, g_type) (_G_TYPE_CVH ((value), (g_type))) -</pre> -<p> -Checks if <em class="parameter"><code>value</code></em> has been initialized to hold values -of type <em class="parameter"><code>g_type</code></em>. -</p> -<p> -This macro should only be used in type implementations. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>The type to be checked.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FLAG-RESERVED-ID-BIT:CAPS"></a><h3>G_TYPE_FLAG_RESERVED_ID_BIT</h3> -<pre class="programlisting">#define G_TYPE_FLAG_RESERVED_ID_BIT ((GType) (1 << 0)) -</pre> -<p> -A bit in the type number that's supposed to be left untouched. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-init"></a><h3>g_type_init ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -Prior to any use of the type system, <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a> has to be called -to initialize the type system and assorted other code portions -(such as the various fundamental type implementations or the signal -system). -</p> -<p> -This function is idempotent. -</p> -<p> -Since version 2.24 this also initializes the thread system -</p> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeDebugFlags"></a><h3>enum GTypeDebugFlags</h3> -<pre class="programlisting">typedef enum { - G_TYPE_DEBUG_NONE = 0, - G_TYPE_DEBUG_OBJECTS = 1 << 0, - G_TYPE_DEBUG_SIGNALS = 1 << 1, - G_TYPE_DEBUG_MASK = 0x03 -} GTypeDebugFlags; -</pre> -<p> -The <span class="type">GTypeDebugFlags</span> enumeration values can be passed to -<a class="link" href="gobject-Type-Information.html#g-type-init-with-debug-flags" title="g_type_init_with_debug_flags ()"><code class="function">g_type_init_with_debug_flags()</code></a> to trigger debugging messages during runtime. -Note that the messages can also be triggered by setting the -<code class="envar">GOBJECT_DEBUG</code> environment variable to a ':'-separated list of -"objects" and "signals". -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-TYPE-DEBUG-NONE:CAPS"></a><span class="term"><code class="literal">G_TYPE_DEBUG_NONE</code></span></p></td> -<td>Print no messages. -</td> -</tr> -<tr> -<td><p><a name="G-TYPE-DEBUG-OBJECTS:CAPS"></a><span class="term"><code class="literal">G_TYPE_DEBUG_OBJECTS</code></span></p></td> -<td>Print messages about object bookkeeping. -</td> -</tr> -<tr> -<td><p><a name="G-TYPE-DEBUG-SIGNALS:CAPS"></a><span class="term"><code class="literal">G_TYPE_DEBUG_SIGNALS</code></span></p></td> -<td>Print messages about signal emissions. -</td> -</tr> -<tr> -<td><p><a name="G-TYPE-DEBUG-MASK:CAPS"></a><span class="term"><code class="literal">G_TYPE_DEBUG_MASK</code></span></p></td> -<td>Mask covering all debug flags. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-init-with-debug-flags"></a><h3>g_type_init_with_debug_flags ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_init_with_debug_flags (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeDebugFlags" title="enum GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> debug_flags</code></em>);</pre> -<p> -Similar to <a class="link" href="gobject-Type-Information.html#g-type-init" title="g_type_init ()"><code class="function">g_type_init()</code></a>, but additionally sets debug flags. -</p> -<p> -This function is idempotent. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>debug_flags</code></em> :</span></p></td> -<td>Bitwise combination of <a class="link" href="gobject-Type-Information.html#GTypeDebugFlags" title="enum GTypeDebugFlags"><span class="type">GTypeDebugFlags</span></a> values for -debugging purposes.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-name"></a><h3>g_type_name ()</h3> -<pre class="programlisting">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * g_type_name (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Get the unique name that is assigned to a type ID. Note that this -function (like all other GType API) cannot cope with invalid type -IDs. <a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" title="G_TYPE_INVALID"><code class="literal">G_TYPE_INVALID</code></a> may be passed to this function, as may be any -other validly registered type ID, but randomized type IDs should -not be passed in and will most likely lead to a crash. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>Type to return name for.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Static type name or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-qname"></a><h3>g_type_qname ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> g_type_qname (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Get the corresponding quark of the type IDs name. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>Type to return quark of type name for.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The type names quark or 0.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-from-name"></a><h3>g_type_from_name ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_from_name (<em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre> -<p> -Lookup the type ID from a given type name, returning 0 if no type -has been registered under this name (this is the preferred method -to find out by name whether a specific type has been registered -yet). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>Type name to lookup.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Corresponding type ID or 0.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-parent"></a><h3>g_type_parent ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_parent (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Return the direct parent type of the passed in type. If the passed -in type has no parent, i.e. is a fundamental type, 0 is returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>The derived type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The parent type.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-depth"></a><h3>g_type_depth ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> g_type_depth (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Returns the length of the ancestry of the passed in type. This -includes the type itself, so that e.g. a fundamental type has depth 1. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The depth of <em class="parameter"><code>type</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-next-base"></a><h3>g_type_next_base ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_next_base (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> leaf_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> root_type</code></em>);</pre> -<p> -Given a <em class="parameter"><code>leaf_type</code></em> and a <em class="parameter"><code>root_type</code></em> which is contained in its -anchestry, return the type that <em class="parameter"><code>root_type</code></em> is the immediate parent -of. In other words, this function determines the type that is -derived directly from <em class="parameter"><code>root_type</code></em> which is also a base class of -<em class="parameter"><code>leaf_type</code></em>. Given a root type and a leaf type, this function can -be used to determine the types and order in which the leaf type is -descended from the root type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>leaf_type</code></em> :</span></p></td> -<td>Descendant of <em class="parameter"><code>root_type</code></em> and the type to be returned.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>root_type</code></em> :</span></p></td> -<td>Immediate parent of the returned type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Immediate child of <em class="parameter"><code>root_type</code></em> and anchestor of <em class="parameter"><code>leaf_type</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-is-a"></a><h3>g_type_is_a ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_type_is_a (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> is_a_type</code></em>);</pre> -<p> -If <em class="parameter"><code>is_a_type</code></em> is a derivable type, check whether <em class="parameter"><code>type</code></em> is a -descendant of <em class="parameter"><code>is_a_type</code></em>. If <em class="parameter"><code>is_a_type</code></em> is an interface, check -whether <em class="parameter"><code>type</code></em> conforms to it. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>Type to check anchestry for.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>is_a_type</code></em> :</span></p></td> -<td>Possible anchestor of <em class="parameter"><code>type</code></em> or interface <em class="parameter"><code>type</code></em> could conform to.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/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> holds true.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-class-ref"></a><h3>g_type_class_ref ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_class_ref (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Increments the reference count of the class structure belonging to -<em class="parameter"><code>type</code></em>. This function will demand-create the class if it doesn't -exist already. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>Type ID of a classed type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> -structure for the given type ID. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-class-peek"></a><h3>g_type_class_peek ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_class_peek (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -This function is essentially the same as <a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()"><code class="function">g_type_class_ref()</code></a>, except that -the classes reference count isn't incremented. As a consequence, this function -may return <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class of the type passed in does not currently -exist (hasn't been referenced before). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>Type ID of a classed type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> -structure for the given type ID or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class does not -currently exist. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-class-peek-static"></a><h3>g_type_class_peek_static ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_class_peek_static (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -A more efficient version of <a class="link" href="gobject-Type-Information.html#g-type-class-peek" title="g_type_class_peek ()"><code class="function">g_type_class_peek()</code></a> which works only for -static types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>Type ID of a classed type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> -structure for the given type ID or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the class does not -currently exist or is dynamically loaded. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-class-unref"></a><h3>g_type_class_unref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_class_unref (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre> -<p> -Decrements the reference count of the class structure being passed in. -Once the last reference count of a class has been released, classes -may be finalized by the type system, so further dereferencing of a -class pointer after <a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()"><code class="function">g_type_class_unref()</code></a> are invalid. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure to -unreference. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass]</span> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-class-peek-parent"></a><h3>g_type_class_peek_parent ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_class_peek_parent (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre> -<p> -This is a convenience function often needed in class initializers. -It returns the class structure of the immediate parent type of the -class passed in. Since derived classes hold a reference count on -their parent classes as long as they are instantiated, the returned -class will always exist. This function is essentially equivalent -to: -</p> -<p> -</p> -<pre class="programlisting"> -g_type_class_peek (g_type_parent (G_TYPE_FROM_CLASS (g_class))); -</pre> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure to -retrieve the parent class for. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The parent class -of <em class="parameter"><code>g_class</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-class-add-private"></a><h3>g_type_class_add_private ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_class_add_private (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> private_size</code></em>);</pre> -<p> -Registers a private structure for an instantiatable type. -</p> -<p> -When an object is allocated, the private structures for -the type and all of its parent types are allocated -sequentially in the same memory block as the public -structures. -</p> -<p> -Note that the accumulated size of the private structures of -a type and all its parent types cannot excced 64 KiB. -</p> -<p> -This function should be called in the type's <code class="function">class_init()</code> function. -The private structure can be retrieved using the -<a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-PRIVATE:CAPS" title="G_TYPE_INSTANCE_GET_PRIVATE()"><code class="function">G_TYPE_INSTANCE_GET_PRIVATE()</code></a> macro. -</p> -<p> -The following example shows attaching a private structure -<span class="structname">MyObjectPrivate</span> to an object -<span class="structname">MyObject</span> defined in the standard GObject -fashion. -type's <code class="function">class_init()</code> function. -Note the use of a structure member "priv" to avoid the overhead -of repeatedly calling <code class="function">MY_OBJECT_GET_PRIVATE()</code>. -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -typedef struct _MyObject MyObject; -typedef struct _MyObjectPrivate MyObjectPrivate; - -struct _MyObject { - GObject parent; - - MyObjectPrivate *priv; -}; - -struct _MyObjectPrivate { - int some_field; -}; - -static void -my_object_class_init (MyObjectClass *klass) -{ - g_type_class_add_private (klass, sizeof (MyObjectPrivate)); -} - -static void -my_object_init (MyObject *my_object) -{ - my_object->priv = G_TYPE_INSTANCE_GET_PRIVATE (my_object, - MY_TYPE_OBJECT, - MyObjectPrivate); -} - -static int -my_object_get_some_field (MyObject *my_object) -{ - MyObjectPrivate *priv; - - g_return_val_if_fail (MY_IS_OBJECT (my_object), 0); - - priv = my_object->priv; - - return priv->some_field; -} -</pre></div> -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>class structure for an instantiatable type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>private_size</code></em> :</span></p></td> -<td>size of private structure.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-add-class-private"></a><h3>g_type_add_class_private ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_add_class_private (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> class_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> private_size</code></em>);</pre> -<p> -Registers a private class structure for a classed type; -when the class is allocated, the private structures for -the class and all of its parent types are allocated -sequentially in the same memory block as the public -structures. This function should be called in the -type's <code class="function">get_type()</code> function after the type is registered. -The private structure can be retrieved using the -<a class="link" href="gobject-Type-Information.html#G-TYPE-CLASS-GET-PRIVATE:CAPS" title="G_TYPE_CLASS_GET_PRIVATE()"><code class="function">G_TYPE_CLASS_GET_PRIVATE()</code></a> macro. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_type</code></em> :</span></p></td> -<td>GType of an classed type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>private_size</code></em> :</span></p></td> -<td>size of private structure.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-interface-peek"></a><h3>g_type_interface_peek ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_interface_peek (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance_class</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> iface_type</code></em>);</pre> -<p> -Returns the <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure of an interface to which the -passed in class conforms. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_class</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iface_type</code></em> :</span></p></td> -<td>An interface ID which this class conforms to.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The GTypeInterface -structure of iface_type if implemented by <em class="parameter"><code>instance_class</code></em>, <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -otherwise. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeInterface][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-interface-peek-parent"></a><h3>g_type_interface_peek_parent ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_interface_peek_parent (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>);</pre> -<p> -Returns the corresponding <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure of the parent type -of the instance type to which <em class="parameter"><code>g_iface</code></em> belongs. This is useful when -deriving the implementation of an interface from the parent type and -then possibly overriding some methods. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeInterface]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The -corresponding <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure of the parent type of the -instance type to which <em class="parameter"><code>g_iface</code></em> belongs, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the parent -type doesn't conform to the interface. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeInterface]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-default-interface-ref"></a><h3>g_type_default_interface_ref ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_default_interface_ref (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>);</pre> -<p> -Increments the reference count for the interface type <em class="parameter"><code>g_type</code></em>, -and returns the default interface vtable for the type. -</p> -<p> -If the type is not currently in use, then the default vtable -for the type will be created and initalized by calling -the base interface init and default vtable init functions for -the type (the @<em class="structfield"><code>base_init</code></em> -and <em class="structfield"><code>class_init</code></em> members of <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>). -Calling <a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()"><code class="function">g_type_default_interface_ref()</code></a> is useful when you -want to make sure that signals and properties for an interface -have been installed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>an interface type</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the default -vtable for the interface; call <a class="link" href="gobject-Type-Information.html#g-type-default-interface-unref" title="g_type_default_interface_unref ()"><code class="function">g_type_default_interface_unref()</code></a> -when you are done using the interface. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeInterface][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-default-interface-peek"></a><h3>g_type_default_interface_peek ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_default_interface_peek (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> g_type</code></em>);</pre> -<p> -If the interface type <em class="parameter"><code>g_type</code></em> is currently in use, returns its -default interface vtable. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_type</code></em> :</span></p></td> -<td>an interface type</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the default -vtable for the interface, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the type is not currently in -use. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeInterface][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-default-interface-unref"></a><h3>g_type_default_interface_unref ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_default_interface_unref (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>);</pre> -<p> -Decrements the reference count for the type corresponding to the -interface default vtable <em class="parameter"><code>g_iface</code></em>. If the type is dynamic, then -when no one is using the interface and all references have -been released, the finalize function for the interface's default -vtable (the <em class="structfield"><code>class_finalize</code></em> member of -<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>) will be called. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>the default vtable -structure for a interface, as returned by -<a class="link" href="gobject-Type-Information.html#g-type-default-interface-ref" title="g_type_default_interface_ref ()"><code class="function">g_type_default_interface_ref()</code></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeInterface]</span> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-children"></a><h3>g_type_children ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> * g_type_children (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_children</code></em>);</pre> -<p> -Return a newly allocated and 0-terminated array of type IDs, listing the -child types of <em class="parameter"><code>type</code></em>. The return value has to be <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>ed after use. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>The parent type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_children</code></em> :</span></p></td> -<td>Optional <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pointer to contain -the number of child types. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Newly allocated -and 0-terminated array of child types. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_children][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-interfaces"></a><h3>g_type_interfaces ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> * g_type_interfaces (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_interfaces</code></em>);</pre> -<p> -Return a newly allocated and 0-terminated array of type IDs, listing the -interface types that <em class="parameter"><code>type</code></em> conforms to. The return value has to be -<a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>ed after use. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>The type to list interface types for.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_interfaces</code></em> :</span></p></td> -<td>Optional <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pointer to -contain the number of interface types. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Newly -allocated and 0-terminated array of interface types. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_interfaces][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-interface-prerequisites"></a><h3>g_type_interface_prerequisites ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> * g_type_interface_prerequisites (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_prerequisites</code></em>);</pre> -<p> -Returns the prerequisites of an interfaces type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td>an interface type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_prerequisites</code></em> :</span></p></td> -<td>location to return the number -of prerequisites, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a -newly-allocated zero-terminated array of <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> containing -the prerequisites of <em class="parameter"><code>interface_type</code></em>. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_prerequisites][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-set-qdata"></a><h3>g_type_set_qdata ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_set_qdata (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Attaches arbitrary data to a type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> id to identify the data</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>the data</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-get-qdata"></a><h3>g_type_get_qdata ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> g_type_get_qdata (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> quark</code></em>);</pre> -<p> -Obtains data which has previously been attached to <em class="parameter"><code>type</code></em> -with <a class="link" href="gobject-Type-Information.html#g-type-set-qdata" title="g_type_set_qdata ()"><code class="function">g_type_set_qdata()</code></a>. -</p> -<p> -Note that this does not take subtyping into account; data -attached to one type with <a class="link" href="gobject-Type-Information.html#g-type-set-qdata" title="g_type_set_qdata ()"><code class="function">g_type_set_qdata()</code></a> cannot -be retrieved from a subtype using <a class="link" href="gobject-Type-Information.html#g-type-get-qdata" title="g_type_get_qdata ()"><code class="function">g_type_get_qdata()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>quark</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> id to identify the data</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the data, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no data was found. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-query"></a><h3>g_type_query ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_query (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeQuery" title="struct GTypeQuery"><span class="type">GTypeQuery</span></a> *query</code></em>);</pre> -<p> -Queries the type system for information about a specific type. -This function will fill in a user-provided structure to hold -type-specific information. If an invalid <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> is passed in, the -<em class="parameter"><code>type</code></em> member of the <a class="link" href="gobject-Type-Information.html#GTypeQuery" title="struct GTypeQuery"><span class="type">GTypeQuery</span></a> is 0. All members filled into the -<a class="link" href="gobject-Type-Information.html#GTypeQuery" title="struct GTypeQuery"><span class="type">GTypeQuery</span></a> structure should be considered constant and have to be -left untouched. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of a static, classed type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>query</code></em> :</span></p></td> -<td>A user provided structure that is -filled in with constant values upon success. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym> caller-allocates]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeQuery"></a><h3>struct GTypeQuery</h3> -<pre class="programlisting">struct GTypeQuery { - GType type; - const gchar *type_name; - guint class_size; - guint instance_size; -}; -</pre> -<p> -A structure holding information for a specific type. It is -filled in by the <a class="link" href="gobject-Type-Information.html#g-type-query" title="g_type_query ()"><code class="function">g_type_query()</code></a> function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> <em class="structfield"><code><a name="GTypeQuery.type"></a>type</code></em>;</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of the type.</td> -</tr> -<tr> -<td><p><span class="term">const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GTypeQuery.type-name"></a>type_name</code></em>;</span></p></td> -<td>the name of the type.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GTypeQuery.class-size"></a>class_size</code></em>;</span></p></td> -<td>the size of the class structure.</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GTypeQuery.instance-size"></a>instance_size</code></em>;</span></p></td> -<td>the size of the instance structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GBaseInitFunc"></a><h3>GBaseInitFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GBaseInitFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre> -<p> -A callback function used by the type system to do base initialization -of the class structures of derived types. It is called as part of the -initialization process of all derived classes and should reallocate -or reset all dynamic class members copied over from the parent class. -For example, class members (such as strings) that are not sufficiently -handled by a plain memory copy of the parent class into the derived class -have to be altered. See <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> for a discussion of the class -intialization process. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure to initialize.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GBaseFinalizeFunc"></a><h3>GBaseFinalizeFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GBaseFinalizeFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre> -<p> -A callback function used by the type system to finalize those portions -of a derived types class structure that were setup from the corresponding -<a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> function. Class finalization basically works the inverse -way in which class intialization is performed. -See <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> for a discussion of the class intialization process. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure to finalize.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GClassInitFunc"></a><h3>GClassInitFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GClassInitFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> class_data</code></em>);</pre> -<p> -A callback function used by the type system to initialize the class -of a specific type. This function should initialize all static class -members. -The initialization process of a class involves: -</p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - 1 - Copying common members from the parent class over to the - derived class structure. -</p></li> -<li class="listitem"><p> - 2 - Zero initialization of the remaining members not copied - over from the parent class. -</p></li> -<li class="listitem"><p> - 3 - Invocation of the <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> initializers of all parent - types and the class' type. -</p></li> -<li class="listitem"><p> - 4 - Invocation of the class' <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> initializer. -</p></li> -</ul></div> -<p> -Since derived classes are partially initialized through a memory copy -of the parent class, the general rule is that <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> and -<a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()"><code class="function">GBaseFinalizeFunc()</code></a> should take care of necessary reinitialization -and release of those class members that were introduced by the type -that specified these <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a>/<a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()"><code class="function">GBaseFinalizeFunc()</code></a>. -<a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> should only care about initializing static -class members, while dynamic class members (such as allocated strings -or reference counted resources) are better handled by a <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> -for this type, so proper initialization of the dynamic class members -is performed for class initialization of derived types as well. -An example may help to correspond the intend of the different class -initializers: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -typedef struct { - GObjectClass parent_class; - gint static_integer; - gchar *dynamic_string; -} TypeAClass; -static void -type_a_base_class_init (TypeAClass *class) -{ - class->dynamic_string = g_strdup ("some string"); -} -static void -type_a_base_class_finalize (TypeAClass *class) -{ - g_free (class->dynamic_string); -} -static void -type_a_class_init (TypeAClass *class) -{ - class->static_integer = 42; -} - -typedef struct { - TypeAClass parent_class; - gfloat static_float; - GString *dynamic_gstring; -} TypeBClass; -static void -type_b_base_class_init (TypeBClass *class) -{ - class->dynamic_gstring = g_string_new ("some other string"); -} -static void -type_b_base_class_finalize (TypeBClass *class) -{ - g_string_free (class->dynamic_gstring); -} -static void -type_b_class_init (TypeBClass *class) -{ - class->static_float = 3.14159265358979323846; -} -</pre></div> -<p> -Initialization of TypeBClass will first cause initialization of -TypeAClass (derived classes reference their parent classes, see -<a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()"><code class="function">g_type_class_ref()</code></a> on this). -Initialization of TypeAClass roughly involves zero-initializing its fields, -then calling its <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> <code class="function">type_a_base_class_init()</code> to allocate -its dynamic members (dynamic_string), and finally calling its <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> -<code class="function">type_a_class_init()</code> to initialize its static members (static_integer). -The first step in the initialization process of TypeBClass is then -a plain memory copy of the contents of TypeAClass into TypeBClass and -zero-initialization of the remaining fields in TypeBClass. -The dynamic members of TypeAClass within TypeBClass now need -reinitialization which is performed by calling <code class="function">type_a_base_class_init()</code> -with an argument of TypeBClass. -After that, the <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> of TypeBClass, <code class="function">type_b_base_class_init()</code> -is called to allocate the dynamic members of TypeBClass (dynamic_gstring), -and finally the <a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><code class="function">GClassInitFunc()</code></a> of TypeBClass, <code class="function">type_b_class_init()</code>, -is called to complete the initialization process with the static members -(static_float). -Corresponding finalization counter parts to the <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> functions -have to be provided to release allocated resources at class finalization -time. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure to initialize.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_data</code></em> :</span></p></td> -<td>The <em class="parameter"><code>class_data</code></em> member supplied via the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GClassFinalizeFunc"></a><h3>GClassFinalizeFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GClassFinalizeFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> class_data</code></em>);</pre> -<p> -A callback function used by the type system to finalize a class. -This function is rarely needed, as dynamically allocated class resources -should be handled by <a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><code class="function">GBaseInitFunc()</code></a> and <a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()"><code class="function">GBaseFinalizeFunc()</code></a>. -Also, specification of a <a class="link" href="gobject-Type-Information.html#GClassFinalizeFunc" title="GClassFinalizeFunc ()"><code class="function">GClassFinalizeFunc()</code></a> in the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> -structure of a static type is invalid, because classes of static types -will never be finalized (they are artificially kept alive when their -reference count drops to zero). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure to finalize.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_data</code></em> :</span></p></td> -<td>The <em class="parameter"><code>class_data</code></em> member supplied via the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GInstanceInitFunc"></a><h3>GInstanceInitFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GInstanceInitFunc) (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> *instance</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre> -<p> -A callback function used by the type system to initialize a new -instance of a type. This function initializes all instance members and -allocates any resources required by it. -Initialization of a derived instance involves calling all its parent -types instance initializers, so the class member of the instance -is altered during its initialization to always point to the class that -belongs to the type the current initializer was introduced for. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>The instance to initialize.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The class of the type the instance is created for.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GInterfaceInitFunc"></a><h3>GInterfaceInitFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GInterfaceInitFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>);</pre> -<p> -A callback function used by the type system to initialize a new -interface. This function should initialize all internal data and -allocate any resources required by the interface. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>The interface structure to initialize.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iface_data</code></em> :</span></p></td> -<td>The <em class="parameter"><code>interface_data</code></em> supplied via the <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GInterfaceFinalizeFunc"></a><h3>GInterfaceFinalizeFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GInterfaceFinalizeFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>);</pre> -<p> -A callback function used by the type system to finalize an interface. -This function should destroy any internal data and release any resources -allocated by the corresponding <a class="link" href="gobject-Type-Information.html#GInterfaceInitFunc" title="GInterfaceInitFunc ()"><code class="function">GInterfaceInitFunc()</code></a> function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>The interface structure to finalize.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iface_data</code></em> :</span></p></td> -<td>The <em class="parameter"><code>interface_data</code></em> supplied via the <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> structure.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeClassCacheFunc"></a><h3>GTypeClassCacheFunc ()</h3> -<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*GTypeClassCacheFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> *g_class</code></em>);</pre> -<p> -A callback function which is called when the reference count of a class -drops to zero. It may use <a class="link" href="gobject-Type-Information.html#g-type-class-ref" title="g_type_class_ref ()"><code class="function">g_type_class_ref()</code></a> to prevent the class from -being freed. You should not call <a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()"><code class="function">g_type_class_unref()</code></a> from a -<a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> function to prevent infinite recursion, use -<a class="link" href="gobject-Type-Information.html#g-type-class-unref-uncached" title="g_type_class_unref_uncached ()"><code class="function">g_type_class_unref_uncached()</code></a> instead. -</p> -<p> -The functions have to check the class id passed in to figure -whether they actually want to cache the class of this type, since all -classes are routed through the same <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> chain. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>cache_data</code></em> :</span></p></td> -<td>data that was given to the <a class="link" href="gobject-Type-Information.html#g-type-add-class-cache-func" title="g_type_add_class_cache_func ()"><code class="function">g_type_add_class_cache_func()</code></a> call</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure which is unreferenced</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to stop further <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a>s from being -called, <a href="./../glib/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to continue.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeFlags"></a><h3>enum GTypeFlags</h3> -<pre class="programlisting">typedef enum { - G_TYPE_FLAG_ABSTRACT = (1 << 4), - G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5) -} GTypeFlags; -</pre> -<p> -Bit masks used to check or determine characteristics of a type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-TYPE-FLAG-ABSTRACT:CAPS"></a><span class="term"><code class="literal">G_TYPE_FLAG_ABSTRACT</code></span></p></td> -<td>Indicates an abstract type. No instances can be - created for an abstract type. -</td> -</tr> -<tr> -<td><p><a name="G-TYPE-FLAG-VALUE-ABSTRACT:CAPS"></a><span class="term"><code class="literal">G_TYPE_FLAG_VALUE_ABSTRACT</code></span></p></td> -<td>Indicates an abstract value type, i.e. a type - that introduces a value table, but can't be used for - <a class="link" href="gobject-Generic-values.html#g-value-init" title="g_value_init ()"><code class="function">g_value_init()</code></a>. -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeFundamentalFlags"></a><h3>enum GTypeFundamentalFlags</h3> -<pre class="programlisting">typedef enum { - G_TYPE_FLAG_CLASSED = (1 << 0), - G_TYPE_FLAG_INSTANTIATABLE = (1 << 1), - G_TYPE_FLAG_DERIVABLE = (1 << 2), - G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3) -} GTypeFundamentalFlags; -</pre> -<p> -Bit masks used to check or determine specific characteristics of a -fundamental type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="G-TYPE-FLAG-CLASSED:CAPS"></a><span class="term"><code class="literal">G_TYPE_FLAG_CLASSED</code></span></p></td> -<td>Indicates a classed type. -</td> -</tr> -<tr> -<td><p><a name="G-TYPE-FLAG-INSTANTIATABLE:CAPS"></a><span class="term"><code class="literal">G_TYPE_FLAG_INSTANTIATABLE</code></span></p></td> -<td>Indicates an instantiable type (implies classed). -</td> -</tr> -<tr> -<td><p><a name="G-TYPE-FLAG-DERIVABLE:CAPS"></a><span class="term"><code class="literal">G_TYPE_FLAG_DERIVABLE</code></span></p></td> -<td>Indicates a flat derivable type. -</td> -</tr> -<tr> -<td><p><a name="G-TYPE-FLAG-DEEP-DERIVABLE:CAPS"></a><span class="term"><code class="literal">G_TYPE_FLAG_DEEP_DERIVABLE</code></span></p></td> -<td>Indicates a deep derivable type (implies derivable). -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-register-static"></a><h3>g_type_register_static ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_register_static (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre> -<p> -Registers <em class="parameter"><code>type_name</code></em> as the name of a new static type derived from -<em class="parameter"><code>parent_type</code></em>. The type system uses the information contained in the -<a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure pointed to by <em class="parameter"><code>info</code></em> to manage the type and its -instances (if not abstract). The value of <em class="parameter"><code>flags</code></em> determines the nature -(e.g. abstract or not) of the type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td> -<td>Type from which this type will be derived.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>0-terminated string used as the name of the new type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure for this type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>Bitwise combination of <a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> values.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The new type identifier.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-register-static-simple"></a><h3>g_type_register_static_simple ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_register_static_simple (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> class_size</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><span class="type">GClassInitFunc</span></a> class_init</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> instance_size</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()"><span class="type">GInstanceInitFunc</span></a> instance_init</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre> -<p> -Registers <em class="parameter"><code>type_name</code></em> as the name of a new static type derived from -<em class="parameter"><code>parent_type</code></em>. The value of <em class="parameter"><code>flags</code></em> determines the nature (e.g. -abstract or not) of the type. It works by filling a <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> -struct and calling <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()"><code class="function">g_type_register_static()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td> -<td>Type from which this type will be derived.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>0-terminated string used as the name of the new type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_size</code></em> :</span></p></td> -<td>Size of the class structure (see <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>)</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>class_init</code></em> :</span></p></td> -<td>Location of the class initialization function (see <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>)</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_size</code></em> :</span></p></td> -<td>Size of the instance structure (see <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>)</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_init</code></em> :</span></p></td> -<td>Location of the instance initialization function (see <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a>)</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>Bitwise combination of <a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> values.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The new type identifier.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-register-dynamic"></a><h3>g_type_register_dynamic ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_register_dynamic (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> parent_type</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre> -<p> -Registers <em class="parameter"><code>type_name</code></em> as the name of a new dynamic type derived from -<em class="parameter"><code>parent_type</code></em>. The type system uses the information contained in the -<a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure pointed to by <em class="parameter"><code>plugin</code></em> to manage the type and its -instances (if not abstract). The value of <em class="parameter"><code>flags</code></em> determines the nature -(e.g. abstract or not) of the type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td> -<td>Type from which this type will be derived.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>0-terminated string used as the name of the new type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>The <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure to retrieve the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> from.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>Bitwise combination of <a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> values.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The new type identifier or <a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" title="G_TYPE_INVALID"><span class="type">G_TYPE_INVALID</span></a> if registration failed.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-register-fundamental"></a><h3>g_type_register_fundamental ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_register_fundamental (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type_id</code></em>, - <em class="parameter"><code>const <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type_name</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> *info</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo"><span class="type">GTypeFundamentalInfo</span></a> *finfo</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> flags</code></em>);</pre> -<p> -Registers <em class="parameter"><code>type_id</code></em> as the predefined identifier and <em class="parameter"><code>type_name</code></em> as the -name of a fundamental type. If <em class="parameter"><code>type_id</code></em> is already registered, or a type -named <em class="parameter"><code>type_name</code></em> is already registered, the behaviour is undefined. The type -system uses the information contained in the <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure pointed to -by <em class="parameter"><code>info</code></em> and the <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo"><span class="type">GTypeFundamentalInfo</span></a> structure pointed to by <em class="parameter"><code>finfo</code></em> to -manage the type and its instances. The value of <em class="parameter"><code>flags</code></em> determines additional -characteristics of the fundamental type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_id</code></em> :</span></p></td> -<td>A predefined type identifier.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>0-terminated string used as the name of the new type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure for this type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>finfo</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeFundamentalInfo" title="struct GTypeFundamentalInfo"><span class="type">GTypeFundamentalInfo</span></a> structure for this type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>Bitwise combination of <a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> values.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The predefined type identifier.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-add-interface-static"></a><h3>g_type_add_interface_static ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_add_interface_static (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> *info</code></em>);</pre> -<p> -Adds the static <em class="parameter"><code>interface_type</code></em> to <em class="parameter"><code>instantiable_type</code></em>. The -information contained in the <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> structure pointed to by -<em class="parameter"><code>info</code></em> is used to manage the relationship. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an instantiable type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an interface type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> structure for this -(<em class="parameter"><code>instance_type</code></em>, <em class="parameter"><code>interface_type</code></em>) combination.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-add-interface-dynamic"></a><h3>g_type_add_interface_dynamic ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_add_interface_dynamic (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> *plugin</code></em>);</pre> -<p> -Adds the dynamic <em class="parameter"><code>interface_type</code></em> to <em class="parameter"><code>instantiable_type</code></em>. The information -contained in the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure pointed to by <em class="parameter"><code>plugin</code></em> -is used to manage the relationship. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an instantiable type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an interface type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td> -<td>the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure to retrieve the <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> from.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-interface-add-prerequisite"></a><h3>g_type_interface_add_prerequisite ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_interface_add_prerequisite (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> prerequisite_type</code></em>);</pre> -<p> -Adds <em class="parameter"><code>prerequisite_type</code></em> to the list of prerequisites of <em class="parameter"><code>interface_type</code></em>. -This means that any type implementing <em class="parameter"><code>interface_type</code></em> must also implement -<em class="parameter"><code>prerequisite_type</code></em>. Prerequisites can be thought of as an alternative to -interface derivation (which GType doesn't support). An interface can have -at most one instantiatable prerequisite type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an interface type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>prerequisite_type</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an interface or instantiatable type.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-get-plugin"></a><h3>g_type_get_plugin ()</h3> -<pre class="programlisting"><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="returnvalue">GTypePlugin</span></a> * g_type_get_plugin (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Returns the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure for <em class="parameter"><code>type</code></em> or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>type</code></em> does not have a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> to retrieve the plugin for.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The corresponding plugin if <em class="parameter"><code>type</code></em> is a -dynamic type, <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> otherwise. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-interface-get-plugin"></a><h3>g_type_interface_get_plugin ()</h3> -<pre class="programlisting"><a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="returnvalue">GTypePlugin</span></a> * g_type_interface_get_plugin (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> instance_type</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> interface_type</code></em>);</pre> -<p> -Returns the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure for the dynamic interface -<em class="parameter"><code>interface_type</code></em> which has been added to <em class="parameter"><code>instance_type</code></em>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if -<em class="parameter"><code>interface_type</code></em> has not been added to <em class="parameter"><code>instance_type</code></em> or does not -have a <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> structure. See <a class="link" href="gobject-Type-Information.html#g-type-add-interface-dynamic" title="g_type_add_interface_dynamic ()"><code class="function">g_type_add_interface_dynamic()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>instance_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an instantiatable type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value of an interface type.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="GTypePlugin.html" title="GTypePlugin"><span class="type">GTypePlugin</span></a> for the dynamic -interface <em class="parameter"><code>interface_type</code></em> of <em class="parameter"><code>instance_type</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-fundamental-next"></a><h3>g_type_fundamental_next ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_fundamental_next (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -Returns the next free fundamental type id which can be used to -register a new fundamental type with <a class="link" href="gobject-Type-Information.html#g-type-register-fundamental" title="g_type_register_fundamental ()"><code class="function">g_type_register_fundamental()</code></a>. -The returned type ID represents the highest currently registered -fundamental type identifier. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The nextmost fundamental type ID to be registered, -or 0 if the type system ran out of fundamental type IDs.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-fundamental"></a><h3>g_type_fundamental ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="returnvalue">GType</span></a> g_type_fundamental (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type_id</code></em>);</pre> -<p> -Internal function, used to extract the fundamental type ID portion. -use <a class="link" href="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL:CAPS" title="G_TYPE_FUNDAMENTAL()"><code class="function">G_TYPE_FUNDAMENTAL()</code></a> instead. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_id</code></em> :</span></p></td> -<td>valid type ID</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>fundamental type ID</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-create-instance"></a><h3>g_type_create_instance ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="returnvalue">GTypeInstance</span></a> * g_type_create_instance (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Creates and initializes an instance of <em class="parameter"><code>type</code></em> if <em class="parameter"><code>type</code></em> is valid and -can be instantiated. The type system only performs basic allocation -and structure setups for instances: actual instance creation should -happen through functions supplied by the type's fundamental type -implementation. So use of <a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()"><code class="function">g_type_create_instance()</code></a> is reserved for -implementators of fundamental types only. E.g. instances of the -<a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> hierarchy should be created via <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> and -<span class="emphasis"><em>never</em></span> directly through -<a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()"><code class="function">g_type_create_instance()</code></a> which doesn't handle things like singleton -objects or object construction. Note: Do <span class="emphasis"><em>not</em></span> -use this function, unless you're implementing a fundamental -type. Also language bindings should <span class="emphasis"><em>not</em></span> use -this function but <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> instead. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>An instantiatable type to create an instance for.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>An allocated and initialized instance, subject to further -treatment by the fundamental type implementation.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-free-instance"></a><h3>g_type_free_instance ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_free_instance (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> *instance</code></em>);</pre> -<p> -Frees an instance of a type, returning it to the instance pool for -the type, if there is one. -</p> -<p> -Like <a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()"><code class="function">g_type_create_instance()</code></a>, this function is reserved for -implementors of fundamental types. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td> -<td>an instance of a type.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-add-class-cache-func"></a><h3>g_type_add_class_cache_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_add_class_cache_func (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> cache_func</code></em>);</pre> -<p> -Adds a <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> to be called before the reference count of a -class goes from one to zero. This can be used to prevent premature class -destruction. All installed <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> functions will be chained -until one of them returns <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. The functions have to check the class id -passed in to figure whether they actually want to cache the class of this -type, since all classes are routed through the same <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> -chain. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>cache_data</code></em> :</span></p></td> -<td>data to be passed to <em class="parameter"><code>cache_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>cache_func</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-remove-class-cache-func"></a><h3>g_type_remove_class_cache_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_remove_class_cache_func (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> cache_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> cache_func</code></em>);</pre> -<p> -Removes a previously installed <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a>. The cache -maintained by <em class="parameter"><code>cache_func</code></em> has to be empty when calling -<a class="link" href="gobject-Type-Information.html#g-type-remove-class-cache-func" title="g_type_remove_class_cache_func ()"><code class="function">g_type_remove_class_cache_func()</code></a> to avoid leaks. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>cache_data</code></em> :</span></p></td> -<td>data that was given when adding <em class="parameter"><code>cache_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>cache_func</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-class-unref-uncached"></a><h3>g_type_class_unref_uncached ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_class_unref_uncached (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_class</code></em>);</pre> -<p> -A variant of <a class="link" href="gobject-Type-Information.html#g-type-class-unref" title="g_type_class_unref ()"><code class="function">g_type_class_unref()</code></a> for use in <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a> -implementations. It unreferences a class without consulting the chain -of <a class="link" href="gobject-Type-Information.html#GTypeClassCacheFunc" title="GTypeClassCacheFunc ()"><span class="type">GTypeClassCacheFunc</span></a>s, avoiding the recursion which would occur -otherwise. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>g_class</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure to -unreference. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> GObject.TypeClass]</span> -</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-add-interface-check"></a><h3>g_type_add_interface_check ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_add_interface_check (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()"><span class="type">GTypeInterfaceCheckFunc</span></a> check_func</code></em>);</pre> -<p> -Adds a function to be called after an interface vtable is -initialized for any class (i.e. after the <em class="parameter"><code>interface_init</code></em> member of -<a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> has been called). -</p> -<p> -This function is useful when you want to check an invariant that -depends on the interfaces of a class. For instance, the -implementation of <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> uses this facility to check that an -object implements all of the properties that are defined on its -interfaces. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>check_data</code></em> :</span></p></td> -<td>data to pass to <em class="parameter"><code>check_func</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>check_func</code></em> :</span></p></td> -<td>function to be called after each interface -is initialized.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-remove-interface-check"></a><h3>g_type_remove_interface_check ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_remove_interface_check (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>, - <em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GTypeInterfaceCheckFunc" title="GTypeInterfaceCheckFunc ()"><span class="type">GTypeInterfaceCheckFunc</span></a> check_func</code></em>);</pre> -<p> -Removes an interface check function added with -<a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()"><code class="function">g_type_add_interface_check()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>check_data</code></em> :</span></p></td> -<td>callback data passed to <a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()"><code class="function">g_type_add_interface_check()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>check_func</code></em> :</span></p></td> -<td>callback function passed to <a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()"><code class="function">g_type_add_interface_check()</code></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GTypeInterfaceCheckFunc"></a><h3>GTypeInterfaceCheckFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GTypeInterfaceCheckFunc) (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> check_data</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>);</pre> -<p> -A callback called after an interface vtable is initialized. -See <a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()"><code class="function">g_type_add_interface_check()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>check_data</code></em> :</span></p></td> -<td>data passed to <a class="link" href="gobject-Type-Information.html#g-type-add-interface-check" title="g_type_add_interface_check ()"><code class="function">g_type_add_interface_check()</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>g_iface</code></em> :</span></p></td> -<td>the interface that has been initialized</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-value-table-peek"></a><h3>g_type_value_table_peek ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="returnvalue">GTypeValueTable</span></a> * g_type_value_table_peek (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Returns the location of the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> associated with <em class="parameter"><code>type</code></em>. -<span class="emphasis"><em>Note that this function should only be used from source code -that implements or has internal knowledge of the implementation of -<em class="parameter"><code>type</code></em>.</em></span> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>A <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> value.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Location of the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> associated with <em class="parameter"><code>type</code></em> or -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> associated with <em class="parameter"><code>type</code></em>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-type-ensure"></a><h3>g_type_ensure ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_type_ensure (<em class="parameter"><code><a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> type</code></em>);</pre> -<p> -Ensures that the indicated <em class="parameter"><code>type</code></em> has been registered with the -type system, and its <code class="function">_class_init()</code> method has been run. -</p> -<p> -In theory, simply calling the type's <code class="function">_get_type()</code> method (or using -the corresponding macro) is supposed take care of this. However, -<code class="function">_get_type()</code> methods are often marked <a href="./../glib/glib/glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS"><code class="literal">G_GNUC_CONST</code></a> for performance -reasons, even though this is technically incorrect (since -<a href="./../glib/glib/glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS"><code class="literal">G_GNUC_CONST</code></a> requires that the function not have side effects, -which <code class="function">_get_type()</code> methods do on the first call). As a result, if -you write a bare call to a <code class="function">_get_type()</code> macro, it may get optimized -out by the compiler. Using <a class="link" href="gobject-Type-Information.html#g-type-ensure" title="g_type_ensure ()"><code class="function">g_type_ensure()</code></a> guarantees that the -type's <code class="function">_get_type()</code> method is called. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a>.</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.34</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-TYPE:CAPS"></a><h3>G_DEFINE_TYPE()</h3> -<pre class="programlisting">#define G_DEFINE_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {}) -</pre> -<p> -A convenience macro for type implementations, which declares a -class initialization function, an instance initialization function (see <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> for information about -these) and a static variable named <em class="parameter"><code>t_n</code></em>_parent_class pointing to the parent class. Furthermore, it defines -a *_get_type() function. See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the parent type.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-TYPE-WITH-CODE:CAPS"></a><h3>G_DEFINE_TYPE_WITH_CODE()</h3> -<pre class="programlisting">#define G_DEFINE_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, 0) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() -</pre> -<p> -A convenience macro for type implementations. -Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()"><code class="function">G_DEFINE_TYPE()</code></a>, but allows you to insert custom code into the -*_get_type() function, e.g. interface implementations via <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()"><code class="function">G_IMPLEMENT_INTERFACE()</code></a>. -See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type in lowercase, with words separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the parent type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td> -<td>Custom code that gets inserted in the *_get_type() function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-ABSTRACT-TYPE:CAPS"></a><h3>G_DEFINE_ABSTRACT_TYPE()</h3> -<pre class="programlisting">#define G_DEFINE_ABSTRACT_TYPE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT, {}) -</pre> -<p> -A convenience macro for type implementations. -Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()"><code class="function">G_DEFINE_TYPE()</code></a>, but defines an abstract type. -See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the parent type.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS"></a><h3>G_DEFINE_ABSTRACT_TYPE_WITH_CODE()</h3> -<pre class="programlisting">#define G_DEFINE_ABSTRACT_TYPE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, G_TYPE_FLAG_ABSTRACT) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() -</pre> -<p> -A convenience macro for type implementations. -Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()"><code class="function">G_DEFINE_TYPE_WITH_CODE()</code></a>, but defines an abstract type and allows you to -insert custom code into the *_get_type() function, e.g. interface implementations -via <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()"><code class="function">G_IMPLEMENT_INTERFACE()</code></a>. See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the parent type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td> -<td>Custom code that gets inserted in the <em class="parameter"><code><code class="function">type_name_get_type()</code></code></em> function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-INTERFACE:CAPS"></a><h3>G_DEFINE_INTERFACE()</h3> -<pre class="programlisting">#define G_DEFINE_INTERFACE(TN, t_n, T_P) G_DEFINE_INTERFACE_WITH_CODE(TN, t_n, T_P, ;) -</pre> -<p> -A convenience macro for <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> definitions, which declares -a default vtable initialization function and defines a *_get_type() -function. -</p> -<p> -The macro expects the interface initialization function to have the -name <code class="literal">t_n ## _default_init</code>, and the interface -structure to have the name <code class="literal">TN ## Interface</code>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the prerequisite type for the interface, or 0 -(<a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" title="G_TYPE_INVALID"><code class="literal">G_TYPE_INVALID</code></a>) for no prerequisite type.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-INTERFACE-WITH-CODE:CAPS"></a><h3>G_DEFINE_INTERFACE_WITH_CODE()</h3> -<pre class="programlisting">#define G_DEFINE_INTERFACE_WITH_CODE(TN, t_n, T_P, _C_) _G_DEFINE_INTERFACE_EXTENDED_BEGIN(TN, t_n, T_P) {_C_;} _G_DEFINE_INTERFACE_EXTENDED_END() -</pre> -<p> -A convenience macro for <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> definitions. Similar to -<a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()"><code class="function">G_DEFINE_INTERFACE()</code></a>, but allows you to insert custom code into the -*_get_type() function, e.g. additional interface implementations -via <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()"><code class="function">G_IMPLEMENT_INTERFACE()</code></a>, or additional prerequisite types. See -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for a similar example using -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()"><code class="function">G_DEFINE_TYPE_WITH_CODE()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the prerequisite type for the interface, or 0 -(<a class="link" href="gobject-Type-Information.html#G-TYPE-INVALID:CAPS" title="G_TYPE_INVALID"><code class="literal">G_TYPE_INVALID</code></a>) for no prerequisite type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td> -<td>Custom code that gets inserted in the *_get_type() function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-IMPLEMENT-INTERFACE:CAPS"></a><h3>G_IMPLEMENT_INTERFACE()</h3> -<pre class="programlisting">#define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init)</pre> -<p> -A convenience macro to ease interface addition in the <em class="parameter"><code>_C_</code></em> section -of <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()"><code class="function">G_DEFINE_TYPE_WITH_CODE()</code></a> or <a class="link" href="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS" title="G_DEFINE_ABSTRACT_TYPE_WITH_CODE()"><code class="function">G_DEFINE_ABSTRACT_TYPE_WITH_CODE()</code></a>. -See <a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" title="G_DEFINE_TYPE_EXTENDED()"><code class="function">G_DEFINE_TYPE_EXTENDED()</code></a> for an example. -</p> -<p> -Note that this macro can only be used together with the G_DEFINE_TYPE_* -macros, since it depends on variable names from those macros. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TYPE_IFACE</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the interface to add</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iface_init</code></em> :</span></p></td> -<td>The interface init function</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-TYPE-EXTENDED:CAPS"></a><h3>G_DEFINE_TYPE_EXTENDED()</h3> -<pre class="programlisting">#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() -</pre> -<p> -The most general convenience macro for type implementations, on which -<a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()"><code class="function">G_DEFINE_TYPE()</code></a>, etc are based. -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> -G_DEFINE_TYPE_EXTENDED (GtkGadget, - gtk_gadget, - GTK_TYPE_WIDGET, - 0, - G_IMPLEMENT_INTERFACE (TYPE_GIZMO, - gtk_gadget_gizmo_init)); -</pre></div> -<p> -expands to -</p> -<div class="informalexample"><pre class="programlisting"> -static void gtk_gadget_init (GtkGadget *self); -static void gtk_gadget_class_init (GtkGadgetClass *klass); -static gpointer gtk_gadget_parent_class = NULL; -static void gtk_gadget_class_intern_init (gpointer klass) -{ - gtk_gadget_parent_class = g_type_class_peek_parent (klass); - gtk_gadget_class_init ((GtkGadgetClass*) klass); -} - -GType -gtk_gadget_get_type (void) -{ - static volatile gsize g_define_type_id__volatile = 0; - if (g_once_init_enter (&g_define_type_id__volatile)) - { - GType g_define_type_id = - g_type_register_static_simple (GTK_TYPE_WIDGET, - g_intern_static_string ("GtkGadget"), - sizeof (GtkGadgetClass), - (GClassInitFunc) gtk_gadget_class_intern_init, - sizeof (GtkGadget), - (GInstanceInitFunc) gtk_gadget_init, - (GTypeFlags) flags); - { - const GInterfaceInfo g_implement_interface_info = { - (GInterfaceInitFunc) gtk_gadget_gizmo_init - }; - g_type_add_interface_static (g_define_type_id, TYPE_GIZMO, &g_implement_interface_info); - } - g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); - } - return g_define_type_id__volatile; -} -</pre></div> -<p> -The only pieces which have to be manually provided are the definitions of -the instance and class structure and the definitions of the instance and -class init functions. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TN</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>t_n</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>T_P</code></em> :</span></p></td> -<td>The <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> of the parent type.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_f_</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Type-Information.html#GTypeFlags" title="enum GTypeFlags"><span class="type">GTypeFlags</span></a> to pass to <a class="link" href="gobject-Type-Information.html#g-type-register-static" title="g_type_register_static ()"><code class="function">g_type_register_static()</code></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td> -<td>Custom code that gets inserted in the *_get_type() function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-BOXED-TYPE:CAPS"></a><h3>G_DEFINE_BOXED_TYPE()</h3> -<pre class="programlisting">#define G_DEFINE_BOXED_TYPE(TypeName, type_name, copy_func, free_func) G_DEFINE_BOXED_TYPE_WITH_CODE (TypeName, type_name, copy_func, free_func, {}) -</pre> -<p> -A convenience macro for boxed type implementations, which defines a -<code class="function">type_name_get_type()</code> function registering the boxed type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TypeName</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>copy_func</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()"><span class="type">GBoxedCopyFunc</span></a> for the new type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>free_func</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()"><span class="type">GBoxedFreeFunc</span></a> for the new type</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS"></a><h3>G_DEFINE_BOXED_TYPE_WITH_CODE()</h3> -<pre class="programlisting">#define G_DEFINE_BOXED_TYPE_WITH_CODE(TypeName, type_name, copy_func, free_func, _C_) _G_DEFINE_BOXED_TYPE_BEGIN (TypeName, type_name, copy_func, free_func) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() -</pre> -<p> -A convenience macro for boxed type implementations. -Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE:CAPS" title="G_DEFINE_BOXED_TYPE()"><code class="function">G_DEFINE_BOXED_TYPE()</code></a>, but allows to insert custom code into the -<code class="function">type_name_get_type()</code> function, e.g. to register value transformations with -<a class="link" href="gobject-Generic-values.html#g-value-register-transform-func" title="g_value_register_transform_func ()"><code class="function">g_value_register_transform_func()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TypeName</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>copy_func</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Boxed-Types.html#GBoxedCopyFunc" title="GBoxedCopyFunc ()"><span class="type">GBoxedCopyFunc</span></a> for the new type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>free_func</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Boxed-Types.html#GBoxedFreeFunc" title="GBoxedFreeFunc ()"><span class="type">GBoxedFreeFunc</span></a> for the new type</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td> -<td>Custom code that gets inserted in the *_get_type() function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-POINTER-TYPE:CAPS"></a><h3>G_DEFINE_POINTER_TYPE()</h3> -<pre class="programlisting">#define G_DEFINE_POINTER_TYPE(TypeName, type_name) G_DEFINE_POINTER_TYPE_WITH_CODE (TypeName, type_name, {}) -</pre> -<p> -A convenience macro for pointer type implementations, which defines a -<code class="function">type_name_get_type()</code> function registering the pointer type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TypeName</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS"></a><h3>G_DEFINE_POINTER_TYPE_WITH_CODE()</h3> -<pre class="programlisting">#define G_DEFINE_POINTER_TYPE_WITH_CODE(TypeName, type_name, _C_) _G_DEFINE_POINTER_TYPE_BEGIN (TypeName, type_name) {_C_;} _G_DEFINE_TYPE_EXTENDED_END() -</pre> -<p> -A convenience macro for pointer type implementations. -Similar to <a class="link" href="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE:CAPS" title="G_DEFINE_POINTER_TYPE()"><code class="function">G_DEFINE_POINTER_TYPE()</code></a>, but allows to insert custom code into the -<code class="function">type_name_get_type()</code> function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>TypeName</code></em> :</span></p></td> -<td>The name of the new type, in Camel case.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>type_name</code></em> :</span></p></td> -<td>The name of the new type, in lowercase, with words -separated by '_'.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_C_</code></em> :</span></p></td> -<td>Custom code that gets inserted in the *_get_type() function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INVALID:CAPS"></a><h3>G_TYPE_INVALID</h3> -<pre class="programlisting">#define G_TYPE_INVALID G_TYPE_MAKE_FUNDAMENTAL (0) -</pre> -<p> -An invalid <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> used as error return value in some functions which return -a <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-NONE:CAPS"></a><h3>G_TYPE_NONE</h3> -<pre class="programlisting">#define G_TYPE_NONE G_TYPE_MAKE_FUNDAMENTAL (1) -</pre> -<p> -A fundamental type which is used as a replacement for the C -<code class="literal">void</code> return type. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INTERFACE:CAPS"></a><h3>G_TYPE_INTERFACE</h3> -<pre class="programlisting">#define G_TYPE_INTERFACE G_TYPE_MAKE_FUNDAMENTAL (2) -</pre> -<p> -The fundamental type from which all interfaces are derived. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-CHAR:CAPS"></a><h3>G_TYPE_CHAR</h3> -<pre class="programlisting">#define G_TYPE_CHAR G_TYPE_MAKE_FUNDAMENTAL (3) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>. -The type designated by G_TYPE_CHAR is unconditionally an 8-bit signed integer. -This may or may not be the same type a the C type "gchar". -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-UCHAR:CAPS"></a><h3>G_TYPE_UCHAR</h3> -<pre class="programlisting">#define G_TYPE_UCHAR G_TYPE_MAKE_FUNDAMENTAL (4) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-BOOLEAN:CAPS"></a><h3>G_TYPE_BOOLEAN</h3> -<pre class="programlisting">#define G_TYPE_BOOLEAN G_TYPE_MAKE_FUNDAMENTAL (5) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INT:CAPS"></a><h3>G_TYPE_INT</h3> -<pre class="programlisting">#define G_TYPE_INT G_TYPE_MAKE_FUNDAMENTAL (6) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-UINT:CAPS"></a><h3>G_TYPE_UINT</h3> -<pre class="programlisting">#define G_TYPE_UINT G_TYPE_MAKE_FUNDAMENTAL (7) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-LONG:CAPS"></a><h3>G_TYPE_LONG</h3> -<pre class="programlisting">#define G_TYPE_LONG G_TYPE_MAKE_FUNDAMENTAL (8) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-ULONG:CAPS"></a><h3>G_TYPE_ULONG</h3> -<pre class="programlisting">#define G_TYPE_ULONG G_TYPE_MAKE_FUNDAMENTAL (9) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-INT64:CAPS"></a><h3>G_TYPE_INT64</h3> -<pre class="programlisting">#define G_TYPE_INT64 G_TYPE_MAKE_FUNDAMENTAL (10) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-UINT64:CAPS"></a><h3>G_TYPE_UINT64</h3> -<pre class="programlisting">#define G_TYPE_UINT64 G_TYPE_MAKE_FUNDAMENTAL (11) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-ENUM:CAPS"></a><h3>G_TYPE_ENUM</h3> -<pre class="programlisting">#define G_TYPE_ENUM G_TYPE_MAKE_FUNDAMENTAL (12) -</pre> -<p> -The fundamental type from which all enumeration types are derived. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FLAGS:CAPS"></a><h3>G_TYPE_FLAGS</h3> -<pre class="programlisting">#define G_TYPE_FLAGS G_TYPE_MAKE_FUNDAMENTAL (13) -</pre> -<p> -The fundamental type from which all flags types are derived. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-FLOAT:CAPS"></a><h3>G_TYPE_FLOAT</h3> -<pre class="programlisting">#define G_TYPE_FLOAT G_TYPE_MAKE_FUNDAMENTAL (14) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-DOUBLE:CAPS"></a><h3>G_TYPE_DOUBLE</h3> -<pre class="programlisting">#define G_TYPE_DOUBLE G_TYPE_MAKE_FUNDAMENTAL (15) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-STRING:CAPS"></a><h3>G_TYPE_STRING</h3> -<pre class="programlisting">#define G_TYPE_STRING G_TYPE_MAKE_FUNDAMENTAL (16) -</pre> -<p> -The fundamental type corresponding to nul-terminated C strings. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-POINTER:CAPS"></a><h3>G_TYPE_POINTER</h3> -<pre class="programlisting">#define G_TYPE_POINTER G_TYPE_MAKE_FUNDAMENTAL (17) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-BOXED:CAPS"></a><h3>G_TYPE_BOXED</h3> -<pre class="programlisting">#define G_TYPE_BOXED G_TYPE_MAKE_FUNDAMENTAL (18) -</pre> -<p> -The fundamental type from which all boxed types are derived. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-PARAM:CAPS"></a><h3>G_TYPE_PARAM</h3> -<pre class="programlisting">#define G_TYPE_PARAM G_TYPE_MAKE_FUNDAMENTAL (19) -</pre> -<p> -The fundamental type from which all <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> types are derived. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-OBJECT:CAPS"></a><h3>G_TYPE_OBJECT</h3> -<pre class="programlisting">#define G_TYPE_OBJECT G_TYPE_MAKE_FUNDAMENTAL (20) -</pre> -<p> -The fundamental type for <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-GTYPE:CAPS"></a><h3>G_TYPE_GTYPE</h3> -<pre class="programlisting">#define G_TYPE_GTYPE (g_gtype_get_type()) -</pre> -<p> -The type for <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a>. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-VARIANT:CAPS"></a><h3>G_TYPE_VARIANT</h3> -<pre class="programlisting">#define G_TYPE_VARIANT G_TYPE_MAKE_FUNDAMENTAL (21) -</pre> -<p> -The fundamental type corresponding to <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>. -</p> -<p> -All floating <a href="./../glib/glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> instances passed through the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> system are -consumed. -</p> -<p> -Note that callbacks in closures, and signal handlers -for signals of return type <a class="link" href="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" title="G_TYPE_VARIANT"><code class="literal">G_TYPE_VARIANT</code></a>, must never return floating -variants. -</p> -<p> -Note: GLib 2.24 did include a boxed type with this name. It was replaced -with this fundamental type in 2.26. -</p> -<p class="since">Since 2.26</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-RESERVED-GLIB-FIRST:CAPS"></a><h3>G_TYPE_RESERVED_GLIB_FIRST</h3> -<pre class="programlisting">#define G_TYPE_RESERVED_GLIB_FIRST (22) -</pre> -<p> -First fundamental type number to create a new fundamental type id with -<a class="link" href="gobject-Type-Information.html#G-TYPE-MAKE-FUNDAMENTAL:CAPS" title="G_TYPE_MAKE_FUNDAMENTAL()"><code class="function">G_TYPE_MAKE_FUNDAMENTAL()</code></a> reserved for GLib. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-RESERVED-GLIB-LAST:CAPS"></a><h3>G_TYPE_RESERVED_GLIB_LAST</h3> -<pre class="programlisting">#define G_TYPE_RESERVED_GLIB_LAST (31) -</pre> -<p> -Last fundamental type number reserved for GLib. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-RESERVED-BSE-FIRST:CAPS"></a><h3>G_TYPE_RESERVED_BSE_FIRST</h3> -<pre class="programlisting">#define G_TYPE_RESERVED_BSE_FIRST (32) -</pre> -<p> -First fundamental type number to create a new fundamental type id with -<a class="link" href="gobject-Type-Information.html#G-TYPE-MAKE-FUNDAMENTAL:CAPS" title="G_TYPE_MAKE_FUNDAMENTAL()"><code class="function">G_TYPE_MAKE_FUNDAMENTAL()</code></a> reserved for BSE. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-RESERVED-BSE-LAST:CAPS"></a><h3>G_TYPE_RESERVED_BSE_LAST</h3> -<pre class="programlisting">#define G_TYPE_RESERVED_BSE_LAST (48) -</pre> -<p> -Last fundamental type number reserved for BSE. -</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-TYPE-RESERVED-USER-FIRST:CAPS"></a><h3>G_TYPE_RESERVED_USER_FIRST</h3> -<pre class="programlisting">#define G_TYPE_RESERVED_USER_FIRST (49) -</pre> -<p> -First available fundamental type number to create new fundamental -type id with <a class="link" href="gobject-Type-Information.html#G-TYPE-MAKE-FUNDAMENTAL:CAPS" title="G_TYPE_MAKE_FUNDAMENTAL()"><code class="function">G_TYPE_MAKE_FUNDAMENTAL()</code></a>. -</p> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Value-arrays.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Value-arrays.html deleted file mode 100644 index 9eaee20..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Value-arrays.html +++ /dev/null @@ -1,470 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Value arrays</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-Closures.html" title="Closures"> -<link rel="next" href="GBinding.html" title="GBinding"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-Closures.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="GBinding.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Value-arrays.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Value-arrays.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Value-arrays"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Value-arrays.top_of_page"></a>Value arrays</span></h2> -<p>Value arrays — A container structure to maintain an array of - generic values</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Value-arrays.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> - -struct <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray">GValueArray</a>; -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="returnvalue">GValue</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-get-nth" title="g_value_array_get_nth ()">g_value_array_get_nth</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-new" title="g_value_array_new ()">g_value_array_new</a> (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_prealloced</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-copy" title="g_value_array_copy ()">g_value_array_copy</a> (<em class="parameter"><code>const <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>); -<span class="returnvalue">void</span> <a class="link" href="gobject-Value-arrays.html#g-value-array-free" title="g_value_array_free ()">g_value_array_free</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-append" title="g_value_array_append ()">g_value_array_append</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-prepend" title="g_value_array_prepend ()">g_value_array_prepend</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-insert" title="g_value_array_insert ()">g_value_array_insert</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-remove" title="g_value_array_remove ()">g_value_array_remove</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-sort" title="g_value_array_sort ()">g_value_array_sort</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GCompareFunc"><span class="type">GCompareFunc</span></a> compare_func</code></em>); -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * <a class="link" href="gobject-Value-arrays.html#g-value-array-sort-with-data" title="g_value_array_sort_with_data ()">g_value_array_sort_with_data</a> (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GCompareDataFunc"><span class="type">GCompareDataFunc</span></a> compare_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Value-arrays.description"></a><h2>Description</h2> -<p> -The prime purpose of a <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> is for it to be used as an -object property that holds an array of values. A <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> wraps -an array of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> elements in order for it to be used as a boxed -type through <a class="link" href="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" title="G_TYPE_VALUE_ARRAY"><code class="literal">G_TYPE_VALUE_ARRAY</code></a>. -</p> -<p> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> is deprecated in favour of <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> since GLib 2.32. It -is possible to create a <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> that behaves like a <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> by -using the size of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> as the element size, and by setting -<a class="link" href="gobject-Generic-values.html#g-value-unset" title="g_value_unset ()"><code class="function">g_value_unset()</code></a> as the clear function using <a href="./../glib/glib/glib-Arrays.html#g-array-set-clear-func"><code class="function">g_array_set_clear_func()</code></a>, -for instance, the following code: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - GValueArray *array = g_value_array_new (10); -</pre></div> -<p> -</p> -<p> -can be replaced by: -</p> -<p> -</p> -<div class="informalexample"><pre class="programlisting"> - GArray *array = g_array_sized_new (FALSE, TRUE, sizeof (GValue), 10); - g_array_set_clear_func (array, (GDestroyNotify) g_value_unset); -</pre></div> -<p> -</p> -</div> -<div class="refsect1"> -<a name="gobject-Value-arrays.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GValueArray"></a><h3>struct GValueArray</h3> -<pre class="programlisting">struct GValueArray { - guint n_values; - GValue *values; -}; -</pre> -<p> -A <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> contains an array of <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> elements. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GValueArray.n-values"></a>n_values</code></em>;</span></p></td> -<td>number of values contained in the array</td> -</tr> -<tr> -<td><p><span class="term"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *<em class="structfield"><code><a name="GValueArray.values"></a>values</code></em>;</span></p></td> -<td>array of values</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-get-nth"></a><h3>g_value_array_get_nth ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="returnvalue">GValue</span></a> * g_value_array_get_nth (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_get_nth</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#g-array-index"><code class="function">g_array_index()</code></a> instead.</p> -</div> -<p> -Return a pointer to the value at <em class="parameter"><code>index_</code></em> containd in <em class="parameter"><code>value_array</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to get a value from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td> -<td>index of the value of interest</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>pointer to a value at <em class="parameter"><code>index_</code></em> in <em class="parameter"><code>value_array</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-new"></a><h3>g_value_array_new ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_new (<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_prealloced</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_new</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-sized-new"><code class="function">g_array_sized_new()</code></a> instead.</p> -</div> -<p> -Allocate and initialize a new <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a>, optionally preserve space -for <em class="parameter"><code>n_prealloced</code></em> elements. New arrays always contain 0 elements, -regardless of the value of <em class="parameter"><code>n_prealloced</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_prealloced</code></em> :</span></p></td> -<td>number of values to preallocate space for</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly allocated <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> with 0 values</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-copy"></a><h3>g_value_array_copy ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_copy (<em class="parameter"><code>const <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_copy</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-ref"><code class="function">g_array_ref()</code></a> instead.</p> -</div> -<p> -Construct an exact copy of a <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> by duplicating all its -contents. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to copy</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>Newly allocated copy of <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-free"></a><h3>g_value_array_free ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> g_value_array_free (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_free</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-unref"><code class="function">g_array_unref()</code></a> instead.</p> -</div> -<p> -Free a <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> including its contents. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to free</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-append"></a><h3>g_value_array_append ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_append (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_append</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-append-val"><code class="function">g_array_append_val()</code></a> instead.</p> -</div> -<p> -Insert a copy of <em class="parameter"><code>value</code></em> as last element of <em class="parameter"><code>value_array</code></em>. If <em class="parameter"><code>value</code></em> is -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, an uninitialized value is appended. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to add an element to</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to copy into <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> passed in as <em class="parameter"><code>value_array</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-prepend"></a><h3>g_value_array_prepend ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_prepend (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_prepend</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-prepend-val"><code class="function">g_array_prepend_val()</code></a> instead.</p> -</div> -<p> -Insert a copy of <em class="parameter"><code>value</code></em> as first element of <em class="parameter"><code>value_array</code></em>. If <em class="parameter"><code>value</code></em> is -<a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, an uninitialized value is prepended. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to add an element to</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to copy into <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> passed in as <em class="parameter"><code>value_array</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-insert"></a><h3>g_value_array_insert ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_insert (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>, - <em class="parameter"><code>const <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> *value</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_insert</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-insert-val"><code class="function">g_array_insert_val()</code></a> instead.</p> -</div> -<p> -Insert a copy of <em class="parameter"><code>value</code></em> at specified position into <em class="parameter"><code>value_array</code></em>. If <em class="parameter"><code>value</code></em> -is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, an uninitialized value is inserted. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to add an element to</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td> -<td>insertion position, must be <= value_array->n_values</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> to copy into <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a>, or <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> passed in as <em class="parameter"><code>value_array</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-remove"></a><h3>g_value_array_remove ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_remove (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_remove</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-remove-index"><code class="function">g_array_remove_index()</code></a> instead.</p> -</div> -<p> -Remove the value at position <em class="parameter"><code>index_</code></em> from <em class="parameter"><code>value_array</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to remove an element from</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td> -<td>position of value to remove, which must be less than -<code class="code">value_array-><a class="link" href="gobject-Value-arrays.html#GValueArray.n-values">n_values</a></code> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> passed in as <em class="parameter"><code>value_array</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-sort"></a><h3>g_value_array_sort ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_sort (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GCompareFunc"><span class="type">GCompareFunc</span></a> compare_func</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_sort</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-sort"><code class="function">g_array_sort()</code></a>.</p> -</div> -<p> -Sort <em class="parameter"><code>value_array</code></em> using <em class="parameter"><code>compare_func</code></em> to compare the elements according to -the semantics of <a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GCompareFunc"><span class="type">GCompareFunc</span></a>. -</p> -<p> -The current implementation uses Quick-Sort as sorting algorithm. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to sort</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td> -<td>function to compare elements. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> passed in as <em class="parameter"><code>value_array</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="g-value-array-sort-with-data"></a><h3>g_value_array_sort_with_data ()</h3> -<pre class="programlisting"><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="returnvalue">GValueArray</span></a> * g_value_array_sort_with_data (<em class="parameter"><code><a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> *value_array</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GCompareDataFunc"><span class="type">GCompareDataFunc</span></a> compare_func</code></em>, - <em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre> -<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Warning</h3> -<p><code class="literal">g_value_array_sort_with_data</code> has been deprecated since version 2.32 and should not be used in newly-written code. Use <a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> and <a href="./../glib/glib/glib-Arrays.html#g-array-sort-with-data"><code class="function">g_array_sort_with_data()</code></a>.</p> -</div> -<p> -Sort <em class="parameter"><code>value_array</code></em> using <em class="parameter"><code>compare_func</code></em> to compare the elements according -to the semantics of <a href="./../glib/glib/glib-Doubly-Linked-Lists.html#GCompareDataFunc"><span class="type">GCompareDataFunc</span></a>. -</p> -<p> -The current implementation uses Quick-Sort as sorting algorithm. -</p> -<p> -Rename to: g_value_array_sort -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value_array</code></em> :</span></p></td> -<td> -<a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> to sort</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>compare_func</code></em> :</span></p></td> -<td>function to compare elements. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>extra data argument provided for <em class="parameter"><code>compare_func</code></em>. <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> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the <a class="link" href="gobject-Value-arrays.html#GValueArray" title="struct GValueArray"><span class="type">GValueArray</span></a> passed in as <em class="parameter"><code>value_array</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="gobject-Value-arrays.see-also"></a><h2>See Also</h2> -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray" title="struct GParamSpecValueArray"><span class="type">GParamSpecValueArray</span></a>, <a class="link" href="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-value-array" title="g_param_spec_value_array ()"><code class="function">g_param_spec_value_array()</code></a> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html deleted file mode 100644 index de6d10b..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +++ /dev/null @@ -1,245 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Varargs Value Collection</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn01.html" title="API Reference"> -<link rel="prev" href="gobject-GParamSpec.html" title="GParamSpec"> -<link rel="next" href="gobject-Signals.html" title="Signals"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="gobject-GParamSpec.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn01.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Signals.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#gobject-Varargs-Value-Collection.synopsis" class="shortcut">Top</a> - | - <a href="#gobject-Varargs-Value-Collection.description" class="shortcut">Description</a> -</td></tr> -</table> -<div class="refentry"> -<a name="gobject-Varargs-Value-Collection"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="gobject-Varargs-Value-Collection.top_of_page"></a>Varargs Value Collection</span></h2> -<p>Varargs Value Collection — Converting varargs to generic values</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="gobject-Varargs-Value-Collection.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <glib-object.h> -#include <gobject/gvaluecollector.h> - -union <a class="link" href="gobject-Varargs-Value-Collection.html#GTypeCValue" title="union GTypeCValue">GTypeCValue</a>; -#define <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-INIT:CAPS" title="G_VALUE_COLLECT_INIT()">G_VALUE_COLLECT_INIT</a> (value, - _value_type, - var_args, - flags, - __error) -#define <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT:CAPS" title="G_VALUE_COLLECT()">G_VALUE_COLLECT</a> (value, - var_args, - flags, - __error) -#define <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-SKIP:CAPS" title="G_VALUE_COLLECT_SKIP()">G_VALUE_COLLECT_SKIP</a> (_value_type, - var_args) -#define <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-LCOPY:CAPS" title="G_VALUE_LCOPY()">G_VALUE_LCOPY</a> (value, - var_args, - flags, - __error) -#define <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-FORMAT-MAX-LENGTH:CAPS" title="G_VALUE_COLLECT_FORMAT_MAX_LENGTH">G_VALUE_COLLECT_FORMAT_MAX_LENGTH</a> -</pre> -</div> -<div class="refsect1"> -<a name="gobject-Varargs-Value-Collection.description"></a><h2>Description</h2> -<p> -The macros in this section provide the varargs parsing support needed -in variadic GObject functions such as <a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()"><code class="function">g_object_new()</code></a> or <a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()"><code class="function">g_object_set()</code></a>. -They currently support the collection of integral types, floating point -types and pointers. -</p> -</div> -<div class="refsect1"> -<a name="gobject-Varargs-Value-Collection.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GTypeCValue"></a><h3>union GTypeCValue</h3> -<pre class="programlisting">union _GTypeCValue -{ - gint v_int; - glong v_long; - gint64 v_int64; - gdouble v_double; - gpointer v_pointer; -}; -</pre> -<p> -A union holding one collected value. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GTypeCValue.v-int"></a>v_int</code></em>;</span></p></td> -<td>the field for holding integer values</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#glong"><span class="type">glong</span></a> <em class="structfield"><code><a name="GTypeCValue.v-long"></a>v_long</code></em>;</span></p></td> -<td>the field for holding long integer values</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> <em class="structfield"><code><a name="GTypeCValue.v-int64"></a>v_int64</code></em>;</span></p></td> -<td>the field for holding 64 bit integer values</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GTypeCValue.v-double"></a>v_double</code></em>;</span></p></td> -<td>the field for holding floating point values</td> -</tr> -<tr> -<td><p><span class="term"><a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GTypeCValue.v-pointer"></a>v_pointer</code></em>;</span></p></td> -<td>the field for holding pointers</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-COLLECT-INIT:CAPS"></a><h3>G_VALUE_COLLECT_INIT()</h3> -<pre class="programlisting">#define G_VALUE_COLLECT_INIT(value, _value_type, var_args, flags, __error)</pre> -<p> -Collects a variable argument value from a va_list. We have to -implement the varargs collection as a macro, because on some systems -va_list variables cannot be passed by reference. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> return location. <em class="parameter"><code>value</code></em> must contain only 0 bytes.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>_value_type</code></em> :</span></p></td> -<td>the <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> to use for <em class="parameter"><code>value</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td> -<td>the va_list variable; it may be evaluated multiple times</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags which are passed on to the <code class="function">collect_value()</code> function of -the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> of <em class="parameter"><code>value</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>__error</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>** variable that will be modified to hold a <a href="./../glib/glib/glib-Memory-Allocation.html#g-new"><code class="function">g_new()</code></a> -allocated error messages if something fails</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-COLLECT:CAPS"></a><h3>G_VALUE_COLLECT()</h3> -<pre class="programlisting">#define G_VALUE_COLLECT(value, var_args, flags, __error)</pre> -<p> -Collects a variable argument value from a va_list. We have to -implement the varargs collection as a macro, because on some systems -va_list variables cannot be passed by reference. -</p> -<p> -Note: If you are creating the <em class="parameter"><code>value</code></em> argument just before calling this macro, -you should use the <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-INIT:CAPS" title="G_VALUE_COLLECT_INIT()"><span class="type">G_VALUE_COLLECT_INIT</span></a> variant and pass the unitialized -<a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. That variant is faster than <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT:CAPS" title="G_VALUE_COLLECT()"><span class="type">G_VALUE_COLLECT</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> return location. <em class="parameter"><code>value</code></em> is supposed to be initialized -according to the value type to be collected</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td> -<td>the va_list variable; it may be evaluated multiple times</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags which are passed on to the <code class="function">collect_value()</code> function of -the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> of <em class="parameter"><code>value</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>__error</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>** variable that will be modified to hold a <a href="./../glib/glib/glib-Memory-Allocation.html#g-new"><code class="function">g_new()</code></a> -allocated error messages if something fails</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-COLLECT-SKIP:CAPS"></a><h3>G_VALUE_COLLECT_SKIP()</h3> -<pre class="programlisting">#define G_VALUE_COLLECT_SKIP(_value_type, var_args)</pre> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-LCOPY:CAPS"></a><h3>G_VALUE_LCOPY()</h3> -<pre class="programlisting">#define G_VALUE_LCOPY(value, var_args, flags, __error)</pre> -<p> -Collects a value's variable argument locations from a va_list. Usage is -analogous to <a class="link" href="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT:CAPS" title="G_VALUE_COLLECT()"><code class="function">G_VALUE_COLLECT()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td> -<td>a <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> return location. <em class="parameter"><code>value</code></em> is supposed to be initialized -according to the value type to be collected</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>var_args</code></em> :</span></p></td> -<td>the va_list variable; it may be evaluated multiple times</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td> -<td>flags which are passed on to the <code class="function">lcopy_value()</code> function of -the <a class="link" href="gobject-Type-Information.html#GTypeValueTable" title="struct GTypeValueTable"><span class="type">GTypeValueTable</span></a> of <em class="parameter"><code>value</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>__error</code></em> :</span></p></td> -<td>a <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>** variable that will be modified to hold a <a href="./../glib/glib/glib-Memory-Allocation.html#g-new"><code class="function">g_new()</code></a> -allocated error messages if something fails</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="G-VALUE-COLLECT-FORMAT-MAX-LENGTH:CAPS"></a><h3>G_VALUE_COLLECT_FORMAT_MAX_LENGTH</h3> -<pre class="programlisting">#define G_VALUE_COLLECT_FORMAT_MAX_LENGTH (8) -</pre> -<p> -The maximal number of <a class="link" href="gobject-Varargs-Value-Collection.html#GTypeCValue" title="union GTypeCValue"><span class="type">GTypeCValue</span></a>s which can be collected for a -single <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>. -</p> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-memory.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-memory.html deleted file mode 100644 index 2c9ce95..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-memory.html +++ /dev/null @@ -1,234 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Object memory management</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-gobject.html" title="The GObject base class"> -<link rel="prev" href="chapter-gobject.html" title="The GObject base class"> -<link rel="next" href="gobject-properties.html" title="Object properties"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="chapter-gobject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-gobject.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-properties.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gobject-memory"></a>Object memory management</h2></div></div></div> -<p> - The memory-management API for GObjects is a bit complicated but the idea behind it - is pretty simple: the goal is to provide a flexible model based on reference counting - which can be integrated in applications which use or require different memory management - models (such as garbage collection). The methods which are used to - manipulate this reference count are described below. -</p> -<pre class="programlisting"> -/* - Refcounting -*/ -gpointer g_object_ref (gpointer object); -void g_object_unref (gpointer object); - -/* - * Weak References - */ -typedef void (*GWeakNotify) (gpointer data, - GObject *where_the_object_was); - -void g_object_weak_ref (GObject *object, - GWeakNotify notify, - gpointer data); -void g_object_weak_unref (GObject *object, - GWeakNotify notify, - gpointer data); -void g_object_add_weak_pointer (GObject *object, - gpointer *weak_pointer_location); -void g_object_remove_weak_pointer (GObject *object, - gpointer *weak_pointer_location); -/* - * Cycle handling - */ -void g_object_run_dispose (GObject *object); -</pre> -<p> - </p> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="gobject-memory-refcount"></a>Reference count</h3></div></div></div> -<p> - The functions <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()">g_object_ref</a></code>/<code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a></code> respectively - increase and decrease the reference count.These functions are thread-safe as of GLib 2.8. - The reference count is, unsurprisingly, initialized to one by - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> which means that the caller - is currently the sole owner of the newly-created reference. - When the reference count reaches zero, that is, - when <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a></code> is called by the last client holding - a reference to the object, the <span class="emphasis"><em>dispose</em></span> and the - <span class="emphasis"><em>finalize</em></span> class methods are invoked. - </p> -<p> - Finally, after <span class="emphasis"><em>finalize</em></span> is invoked, - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-free-instance" title="g_type_free_instance ()">g_type_free_instance</a></code> is called to free the object instance. - Depending on the memory allocation policy decided when the type was registered (through - one of the <code class="function">g_type_register_*</code> functions), the object's instance - memory will be freed or returned to the object pool for this type. - Once the object has been freed, if it was the last instance of the type, the type's class - will be destroyed as described in <a class="xref" href="gtype-instantiable-classed.html" title="Instantiable classed types: objects">the section called “Instantiable classed types: objects”</a> and - <a class="xref" href="gtype-non-instantiable-classed.html" title="Non-instantiable classed types: interfaces">the section called “Non-instantiable classed types: interfaces”</a>. - </p> -<p> - The table below summarizes the destruction process of a GObject: - </p> -<div class="table"> -<a name="gobject-destruction-table"></a><p class="title"><b>Table 5. <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a></code></b></p> -<div class="table-contents"><table summary="g_object_unref" border="1"> -<colgroup> -<col align="left"> -<col align="left"> -<col align="left"> -</colgroup> -<thead><tr> -<th align="left">Invocation time</th> -<th align="left">Function Invoked</th> -<th align="left">Function's parameters</th> -<th>Remark</th> -</tr></thead> -<tbody> -<tr> -<td rowspan="2" align="left">Last call to <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a></code> for an instance - of target type - </td> -<td align="left">target type's dispose class function</td> -<td align="left">GObject instance</td> -<td> - When dispose ends, the object should not hold any reference to any other - member object. The object is also expected to be able to answer client - method invocations (with possibly an error code but no memory violation) - until finalize is executed. dispose can be executed more than once. - dispose should chain up to its parent implementation just before returning - to the caller. - </td> -</tr> -<tr> -<td align="left">target type's finalize class function</td> -<td align="left">GObject instance</td> -<td> - Finalize is expected to complete the destruction process initiated by - dispose. It should complete the object's destruction. finalize will be - executed only once. - finalize should chain up to its parent implementation just before returning - to the caller. - The reason why the destruction process is split is two different phases is - explained in <a class="xref" href="gobject-memory.html#gobject-memory-cycles" title="Reference counts and cycles">the section called “Reference counts and cycles”</a>. - </td> -</tr> -<tr> -<td rowspan="4" align="left">Last call to <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a></code> for the last - instance of target type - </td> -<td align="left">interface' interface_finalize function</td> -<td align="left">On interface' vtable</td> -<td>Never used in practice. Unlikely you will need it.</td> -</tr> -<tr> -<td align="left">interface' base_finalize function</td> -<td align="left">On interface' vtable</td> -<td>Never used in practice. Unlikely you will need it.</td> -</tr> -<tr> -<td align="left">target type's class_finalize function</td> -<td align="left">On target type's class structure</td> -<td>Never used in practice. Unlikely you will need it.</td> -</tr> -<tr> -<td align="left">type's base_finalize function</td> -<td align="left">On the inheritance tree of classes from fundamental type to target type. - base_init is invoked once for each class structure.</td> -<td>Never used in practice. Unlikely you will need it.</td> -</tr> -</tbody> -</table></div> -</div> -<p><br class="table-break"> - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="gobject-memory-weakref"></a>Weak References</h3></div></div></div> -<p> - Weak References are used to monitor object finalization: - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-ref" title="g_object_weak_ref ()">g_object_weak_ref</a></code> adds a monitoring callback which does - not hold a reference to the object but which is invoked when the object runs - its dispose method. As such, each weak ref can be invoked more than once upon - object finalization (since dispose can run more than once during object - finalization). - </p> -<p> - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-weak-unref" title="g_object_weak_unref ()">g_object_weak_unref</a></code> can be used to remove a monitoring - callback from the object. - </p> -<p> - Weak References are also used to implement <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer" title="g_object_add_weak_pointer ()">g_object_add_weak_pointer</a></code> - and <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-remove-weak-pointer" title="g_object_remove_weak_pointer ()">g_object_remove_weak_pointer</a></code>. These functions add a weak reference - to the object they are applied to which makes sure to nullify the pointer given by the user - when object is finalized. - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="gobject-memory-cycles"></a>Reference counts and cycles</h3></div></div></div> -<p> - Note: the following section was inspired by James Henstridge. I guess this means that - all praise and all curses will be directly forwarded to him. - </p> -<p> - GObject's memory management model was designed to be easily integrated in existing code - using garbage collection. This is why the destruction process is split in two phases: - the first phase, executed in the dispose handler is supposed to release all references - to other member objects. The second phase, executed by the finalize handler is supposed - to complete the object's destruction process. Object methods should be able to run - without program error (that is, without segfault :) in-between the two phases. - </p> -<p> - This two-step destruction process is very useful to break reference counting cycles. - While the detection of the cycles is up to the external code, once the cycles have been - detected, the external code can invoke <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-run-dispose" title="g_object_run_dispose ()">g_object_run_dispose</a></code> which - will indeed break any existing cycles since it will run the dispose handler associated - to the object and thus release all references to other objects. - </p> -<p> - Attentive readers might now have understood one of the rules about the dispose handler - we stated a bit sooner: the dispose handler can be invoked multiple times. Let's say we - have a reference count cycle: object A references B which itself references object A. - Let's say we have detected the cycle and we want to destroy the two objects. One way to - do this would be to invoke <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-run-dispose" title="g_object_run_dispose ()">g_object_run_dispose</a></code> on one of the - objects. - </p> -<p> - If object A releases all its references to all objects, this means it releases its - reference to object B. If object B was not owned by anyone else, this is its last - reference count which means this last unref runs B's dispose handler which, in turn, - releases B's reference on object A. If this is A's last reference count, this last - unref runs A's dispose handler which is running for the second time before - A's finalize handler is invoked ! - </p> -<p> - The above example, which might seem a bit contrived can really happen if your - GObject's are being handled by language bindings. I would thus suggest the rules stated above - for object destruction are closely followed. Otherwise, <span class="emphasis"><em>Bad Bad Things</em></span> - will happen. - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-properties.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-properties.html deleted file mode 100644 index f4c2b0e..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-properties.html +++ /dev/null @@ -1,272 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Object properties</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-gobject.html" title="The GObject base class"> -<link rel="prev" href="gobject-memory.html" title="Object memory management"> -<link rel="next" href="chapter-signal.html" title="The GObject messaging system"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="gobject-memory.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-gobject.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">GObject Reference Manual</th> -<td><a accesskey="n" href="chapter-signal.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gobject-properties"></a>Object properties</h2></div></div></div> -<p> - One of GObject's nice features is its generic get/set mechanism for object - properties. When an object - is instantiated, the object's class_init handler should be used to register - the object's properties with <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-properties" title="g_object_class_install_properties ()">g_object_class_install_properties</a></code> - (implemented in <code class="filename">gobject.c</code>). - </p> -<p> - The best way to understand how object properties work is by looking at a real example - on how it is used: -</p> -<div class="informalexample"><pre class="programlisting"> -/************************************************/ -/* Implementation */ -/************************************************/ - -enum -{ - PROP_0, - - PROP_MAMAN_NAME, - PROP_PAPA_NUMBER, - - N_PROPERTIES -}; - -static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, }; - -static void -maman_bar_set_property (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec) -{ - MamanBar *self = MAMAN_BAR (object); - - switch (property_id) - { - case PROP_MAMAN_NAME: - g_free (self->priv->name); - self->priv->name = g_value_dup_string (value); - g_print ("maman: %s\n", self->priv->name); - break; - - case PROP_PAPA_NUMBER: - self->priv->papa_number = g_value_get_uchar (value); - g_print ("papa: %u\n", self->priv->papa_number); - break; - - default: - /* We don't have any other property... */ - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - break; - } -} - -static void -maman_bar_get_property (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec) -{ - MamanBar *self = MAMAN_BAR (object); - - switch (property_id) - { - case PROP_MAMAN_NAME: - g_value_set_string (value, self->priv->name); - break; - - case PROP_PAPA_NUMBER: - g_value_set_uchar (value, self->priv->papa_number); - break; - - default: - /* We don't have any other property... */ - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - break; - } -} - -static void -maman_bar_class_init (MamanBarClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - - gobject_class->set_property = maman_bar_set_property; - gobject_class->get_property = maman_bar_get_property; - - obj_properties[PROP_NAME] = - g_param_spec_string ("maman-name", - "Maman construct prop", - "Set maman's name", - "no-name-set" /* default value */, - G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); - - obj_properties[PROP_NUMBER] = - g_param_spec_uchar ("papa-number", - "Number of current Papa", - "Set/Get papa's number", - 0 /* minimum value */, - 10 /* maximum value */, - 2 /* default value */, - G_PARAM_READWRITE); - - g_object_class_install_properties (gobject_class, - N_PROPERTIES, - obj_properties); -} - -/************************************************/ -/* Use */ -/************************************************/ - -GObject *bar; -GValue val = G_VALUE_INIT; - -bar = g_object_new (MAMAN_TYPE_SUBBAR, NULL); - -g_value_init (&val, G_TYPE_CHAR); -g_value_set_char (&val, 11); - -g_object_set_property (G_OBJECT (bar), "papa-number", &val); - -g_value_unset (&val); -</pre></div> -<p> - The client code just above looks simple but a lot of things happen under the hood: - </p> -<p> - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a></code> first ensures a property - with this name was registered in bar's class_init handler. If so it walks the class hierarchy, - from bottom, most derived type, to top, fundamental type to find the class - which registered that property. It then tries to convert the user-provided GValue - into a GValue whose type is that of the associated property. - </p> -<p> - If the user provides a signed char GValue, as is shown - here, and if the object's property was registered as an unsigned int, - <code class="function"><a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()">g_value_transform</a></code> will try to transform the input signed char into - an unsigned int. Of course, the success of the transformation depends on the availability - of the required transform function. In practice, there will almost always be a transformation - <sup>[<a name="idp10972864" href="#ftn.idp10972864" class="footnote">4</a>]</sup> - which matches and conversion will be carried out if needed. - </p> -<p> - After transformation, the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> is validated by - <code class="function"><a class="link" href="gobject-GParamSpec.html#g-param-value-validate" title="g_param_value_validate ()">g_param_value_validate</a></code> which makes sure the user's - data stored in the <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a> matches the characteristics specified by - the property's <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. - Here, the <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> we - provided in class_init has a validation function which makes sure that the GValue - contains a value which respects the minimum and maximum bounds of the - <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a>. In the example above, the client's GValue does not - respect these constraints (it is set to 11, while the maximum is 10). As such, the - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a></code> function will return with an error. - </p> -<p> - If the user's GValue had been set to a valid value, <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a></code> - would have proceeded with calling the object's set_property class method. Here, since our - implementation of Foo did override this method, the code path would jump to - <code class="function">foo_set_property</code> after having retrieved from the - <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> the <span class="emphasis"><em>param_id</em></span> - <sup>[<a name="idp10984640" href="#ftn.idp10984640" class="footnote">5</a>]</sup> - which had been stored by - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a></code>. - </p> -<p> - Once the property has been set by the object's set_property class method, the code path - returns to <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a></code> which makes sure that - the "notify" signal is emitted on the object's instance with the changed property as - parameter unless notifications were frozen by <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-freeze-notify" title="g_object_freeze_notify ()">g_object_freeze_notify</a></code>. - </p> -<p> - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-thaw-notify" title="g_object_thaw_notify ()">g_object_thaw_notify</a></code> can be used to re-enable notification of - property modifications through the "notify" signal. It is important to remember that - even if properties are changed while property change notification is frozen, the "notify" - signal will be emitted once for each of these changed properties as soon as the property - change notification is thawed: no property change is lost for the "notify" signal. Signal - can only be delayed by the notification freezing mechanism. - </p> -<p> - It sounds like a tedious task to set up GValues every time when one wants to modify a property. - In practice one will rarely do this. The functions <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a></code> - and <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-property" title="g_object_get_property ()">g_object_get_property</a></code> - are meant to be used by language bindings. For application there is an easier way and - that is described next. - </p> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="gobject-multi-properties"></a>Accessing multiple properties at once</h3></div></div></div> -<p> - It is interesting to note that the <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()">g_object_set</a></code> and - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-valist" title="g_object_set_valist ()">g_object_set_valist</a></code> (vararg version) functions can be used to set - multiple properties at once. The client code shown above can then be re-written as: -</p> -<pre class="programlisting"> -MamanBar *foo; -foo = /* */; -g_object_set (G_OBJECT (foo), - "papa-number", 2, - "maman-name", "test", - NULL); -</pre> -<p> - This saves us from managing the GValues that we were needing to handle when using - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set-property" title="g_object_set_property ()">g_object_set_property</a></code>. - The code above will trigger one notify signal emission for each property modified. - </p> -<p> - Of course, the _get versions are also available: <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-get" title="g_object_get ()">g_object_get</a></code> - and <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-get-valist" title="g_object_get_valist ()">g_object_get_valist</a></code> (vararg version) can be used to get numerous - properties at once. - </p> -<p> - These high level functions have one drawback - they don't provide a return result. - One should pay attention to the argument types and ranges when using them. - A known source of errors is to e.g. pass a gfloat instead of a gdouble and thus - shifting all subsequent parameters by four bytes. Also forgetting the terminating - NULL will lead to unexpected behaviour. - </p> -<p> - Really attentive readers now understand how <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code>, - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-newv" title="g_object_newv ()">g_object_newv</a></code> and <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new-valist" title="g_object_new_valist ()">g_object_new_valist</a></code> - work: they parse the user-provided variable number of parameters and invoke - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-set" title="g_object_set ()">g_object_set</a></code> on the parameters only after the object has been successfully constructed. - Of course, the "notify" signal will be emitted for each property set. - </p> -</div> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp10972864" href="#idp10972864" class="para">4</a>] </sup>Its behaviour might not be what you expect but it is up to you to actually avoid - relying on these transformations. - </p></div> -<div class="footnote"><p><sup>[<a id="ftn.idp10984640" href="#idp10984640" class="para">5</a>] </sup> - It should be noted that the param_id used here need only to uniquely identify each - <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> within the <span class="type">FooClass</span> such that the switch - used in the set and get methods actually works. Of course, this locally-unique - integer is purely an optimization: it would have been possible to use a set of - <span class="emphasis"><em>if (strcmp (a, b) == 0) {} else if (strcmp (a, b) == 0) {}</em></span> statements. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-query.html b/gtk+-mingw/share/gtk-doc/html/gobject/gobject-query.html deleted file mode 100644 index c256e32..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject-query.html +++ /dev/null @@ -1,122 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>gobject-query</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="rn02.html" title="Tools Reference"> -<link rel="prev" href="glib-genmarshal.html" title="glib-genmarshal"> -<link rel="next" href="pt02.html" title="Part IV. Tutorial"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="glib-genmarshal.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="rn02.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">GObject Reference Manual</th> -<td><a accesskey="n" href="pt02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div lang="en" class="refentry"> -<a name="gobject-query"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle">gobject-query</span></h2> -<p>gobject-query — display a tree of types</p> -</td> -<td valign="top" align="right"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<h2>Synopsis</h2> -<div class="cmdsynopsis"><p><code class="command">gobject-query</code> froots [OPTION...]</p></div> -<div class="cmdsynopsis"><p><code class="command">gobject-query</code> tree [OPTION...]</p></div> -</div> -<div class="refsect1"> -<a name="idp10701744"></a><h2>Description</h2> -<p> -<span class="command"><strong>gobject-query</strong></span> is a small utility that draws a tree of -types. -</p> -<p> -<span class="command"><strong>gobject-query</strong></span> takes a mandatory argument that specifies -whether it should iterate over the fundamental types or print a type tree. -</p> -</div> -<div class="refsect1"> -<a name="idp12468832"></a><h2>Commands</h2> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><code class="option">froots</code></span></p></td> -<td><p> -iterate over fundamental roots -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">tree</code></span></p></td> -<td><p> -print type tree -</p></td> -</tr> -</tbody> -</table></div> -</div> -<div class="refsect1"> -<a name="idp6653056"></a><h2>Options</h2> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><code class="option">-r</code> <em class="replaceable"><code>TYPE</code></em></span></p></td> -<td><p> -specify the root type -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-n</code></span></p></td> -<td><p> -don't descend type tree -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-b</code> <em class="replaceable"><code>STRING</code></em></span></p></td> -<td><p> -specify indent string -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-i</code> <em class="replaceable"><code>STRING</code></em></span></p></td> -<td><p> -specify incremental indent string -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-s</code> <em class="replaceable"><code>NUMBER</code></em></span></p></td> -<td><p> -specify line spacing -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td> -<td><p> -Print brief help and exit. -</p></td> -</tr> -<tr> -<td><p><span class="term"><code class="option">-v</code>, <code class="option">--version</code></span></p></td> -<td><p> -Print version and exit. -</p></td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gobject.devhelp2 b/gtk+-mingw/share/gtk-doc/html/gobject/gobject.devhelp2 deleted file mode 100644 index 2c76f93..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gobject.devhelp2 +++ /dev/null @@ -1,855 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="no"?> -<!DOCTYPE book PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ""> -<book xmlns="http://www.devhelp.net/book" title="GObject Reference Manual" link="index.html" author="" name="gobject" version="2" language="c"> - <chapters> - <sub name="Introduction" link="pr01.html"/> - <sub name="Concepts" link="pt01.html"> - <sub name="Background" link="chapter-intro.html"> - <sub name="Data types and programming" link="chapter-intro.html#idp6598384"/> - <sub name="Exporting a C API" link="ch01s02.html"/> - </sub> - <sub name="The GLib Dynamic Type System" link="chapter-gtype.html"> - <sub name="Copy functions" link="chapter-gtype.html#gtype-copy"/> - <sub name="Conventions" link="gtype-conventions.html"/> - <sub name="Non-instantiable non-classed fundamental types" link="gtype-non-instantiable.html"/> - <sub name="Instantiable classed types: objects" link="gtype-instantiable-classed.html"/> - <sub name="Non-instantiable classed types: interfaces" link="gtype-non-instantiable-classed.html"/> - </sub> - <sub name="The GObject base class" link="chapter-gobject.html"> - <sub name="Object instantiation" link="chapter-gobject.html#gobject-instantiation"/> - <sub name="Object memory management" link="gobject-memory.html"/> - <sub name="Object properties" link="gobject-properties.html"/> - </sub> - <sub name="The GObject messaging system" link="chapter-signal.html"> - <sub name="Closures" link="chapter-signal.html#closure"/> - <sub name="Signals" link="signal.html"/> - </sub> - </sub> - <sub name="API Reference" link="rn01.html"> - <sub name="Type Information" link="gobject-Type-Information.html"/> - <sub name="GTypePlugin" link="GTypePlugin.html"/> - <sub name="GTypeModule" link="GTypeModule.html"/> - <sub name="GObject" link="gobject-The-Base-Object-Type.html"/> - <sub name="Enumeration and Flag Types" link="gobject-Enumeration-and-Flag-Types.html"/> - <sub name="Boxed Types" link="gobject-Boxed-Types.html"/> - <sub name="Generic values" link="gobject-Generic-values.html"/> - <sub name="Parameters and Values" link="gobject-Standard-Parameter-and-Value-Types.html"/> - <sub name="GParamSpec" link="gobject-GParamSpec.html"/> - <sub name="Varargs Value Collection" link="gobject-Varargs-Value-Collection.html"/> - <sub name="Signals" link="gobject-Signals.html"/> - <sub name="Closures" link="gobject-Closures.html"/> - <sub name="Value arrays" link="gobject-Value-arrays.html"/> - <sub name="GBinding" link="GBinding.html"/> - </sub> - <sub name="Tools Reference" link="rn02.html"> - <sub name="glib-mkenums" link="glib-mkenums.html"/> - <sub name="glib-genmarshal" link="glib-genmarshal.html"/> - <sub name="gobject-query" link="gobject-query.html"/> - </sub> - <sub name="Tutorial" link="pt02.html"> - <sub name="How to define and implement a new GObject" link="howto-gobject.html"> - <sub name="Boilerplate header code" link="howto-gobject.html#howto-gobject-header"/> - <sub name="Boilerplate code" link="howto-gobject-code.html"/> - <sub name="Object Construction" link="howto-gobject-construction.html"/> - <sub name="Object Destruction" link="howto-gobject-destruction.html"/> - <sub name="Object methods" link="howto-gobject-methods.html"/> - <sub name="Chaining up" link="howto-gobject-chainup.html"/> - </sub> - <sub name="How to define and implement interfaces" link="howto-interface.html"> - <sub name="How to define an interface" link="howto-interface.html#howto-interface-define"/> - <sub name="How to implement an interface" link="howto-interface-implement.html"/> - <sub name="Interface definition prerequisites" link="howto-interface-prerequisite.html"/> - <sub name="Interface properties" link="howto-interface-properties.html"/> - <sub name="Overriding interface methods" link="howto-interface-override.html"/> - </sub> - <sub name="How to create and use signals" link="howto-signals.html"> - <sub name="Simple use of signals" link="howto-signals.html#howto-simple-signals"/> - </sub> - </sub> - <sub name="Related Tools" link="pt03.html"> - <sub name="Vala" link="tools-vala.html"/> - <sub name="GObject builder" link="tools-gob.html"/> - <sub name="Graphical inspection of GObjects" link="tools-ginspector.html"/> - <sub name="Debugging reference count problems" link="tools-refdb.html"/> - <sub name="Writing API docs" link="tools-gtkdoc.html"/> - </sub> - <sub name="Index" link="api-index-full.html"/> - <sub name="Index of deprecated symbols" link="api-index-deprecated.html"/> - <sub name="Index of new symbols in 2.2" link="api-index-2-2.html"/> - <sub name="Index of new symbols in 2.4" link="api-index-2-4.html"/> - <sub name="Index of new symbols in 2.6" link="api-index-2-6.html"/> - <sub name="Index of new symbols in 2.8" link="api-index-2-8.html"/> - <sub name="Index of new symbols in 2.10" link="api-index-2-10.html"/> - <sub name="Index of new symbols in 2.12" link="api-index-2-12.html"/> - <sub name="Index of new symbols in 2.14" link="api-index-2-14.html"/> - <sub name="Index of new symbols in 2.18" link="api-index-2-18.html"/> - <sub name="Index of new symbols in 2.22" link="api-index-2-22.html"/> - <sub name="Index of new symbols in 2.24" link="api-index-2-24.html"/> - <sub name="Index of new symbols in 2.26" link="api-index-2-26.html"/> - <sub name="Index of new symbols in 2.28" link="api-index-2-28.html"/> - <sub name="Index of new symbols in 2.30" link="api-index-2-30.html"/> - <sub name="Index of new symbols in 2.32" link="api-index-2-32.html"/> - <sub name="Index of new symbols in 2.34" link="api-index-2-34.html"/> - <sub name="Annotation Glossary" link="annotation-glossary.html"/> - </chapters> - <functions> - <keyword type="typedef" name="GType" link="gobject-Type-Information.html#GType"/> - <keyword type="macro" name="G_TYPE_FUNDAMENTAL()" link="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL:CAPS"/> - <keyword type="macro" name="G_TYPE_FUNDAMENTAL_MAX" link="gobject-Type-Information.html#G-TYPE-FUNDAMENTAL-MAX:CAPS"/> - <keyword type="macro" name="G_TYPE_MAKE_FUNDAMENTAL()" link="gobject-Type-Information.html#G-TYPE-MAKE-FUNDAMENTAL:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_ABSTRACT()" link="gobject-Type-Information.html#G-TYPE-IS-ABSTRACT:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_DERIVED()" link="gobject-Type-Information.html#G-TYPE-IS-DERIVED:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_FUNDAMENTAL()" link="gobject-Type-Information.html#G-TYPE-IS-FUNDAMENTAL:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_VALUE_TYPE()" link="gobject-Type-Information.html#G-TYPE-IS-VALUE-TYPE:CAPS"/> - <keyword type="macro" name="G_TYPE_HAS_VALUE_TABLE()" link="gobject-Type-Information.html#G-TYPE-HAS-VALUE-TABLE:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_CLASSED()" link="gobject-Type-Information.html#G-TYPE-IS-CLASSED:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_INSTANTIATABLE()" link="gobject-Type-Information.html#G-TYPE-IS-INSTANTIATABLE:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_DERIVABLE()" link="gobject-Type-Information.html#G-TYPE-IS-DERIVABLE:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_DEEP_DERIVABLE()" link="gobject-Type-Information.html#G-TYPE-IS-DEEP-DERIVABLE:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_INTERFACE()" link="gobject-Type-Information.html#G-TYPE-IS-INTERFACE:CAPS"/> - <keyword type="struct" name="struct GTypeInterface" link="gobject-Type-Information.html#GTypeInterface"/> - <keyword type="struct" name="struct GTypeInstance" link="gobject-Type-Information.html#GTypeInstance"/> - <keyword type="struct" name="struct GTypeClass" link="gobject-Type-Information.html#GTypeClass"/> - <keyword type="struct" name="struct GTypeInfo" link="gobject-Type-Information.html#GTypeInfo"/> - <keyword type="struct" name="struct GTypeFundamentalInfo" link="gobject-Type-Information.html#GTypeFundamentalInfo"/> - <keyword type="struct" name="struct GInterfaceInfo" link="gobject-Type-Information.html#GInterfaceInfo"/> - <keyword type="struct" name="struct GTypeValueTable" link="gobject-Type-Information.html#GTypeValueTable"/> - <keyword type="macro" name="G_TYPE_FROM_INSTANCE()" link="gobject-Type-Information.html#G-TYPE-FROM-INSTANCE:CAPS"/> - <keyword type="macro" name="G_TYPE_FROM_CLASS()" link="gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS"/> - <keyword type="macro" name="G_TYPE_FROM_INTERFACE()" link="gobject-Type-Information.html#G-TYPE-FROM-INTERFACE:CAPS"/> - <keyword type="macro" name="G_TYPE_INSTANCE_GET_CLASS()" link="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-CLASS:CAPS"/> - <keyword type="macro" name="G_TYPE_INSTANCE_GET_INTERFACE()" link="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-INTERFACE:CAPS"/> - <keyword type="macro" name="G_TYPE_INSTANCE_GET_PRIVATE()" link="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-PRIVATE:CAPS" since="2.4"/> - <keyword type="macro" name="G_TYPE_CLASS_GET_PRIVATE()" link="gobject-Type-Information.html#G-TYPE-CLASS-GET-PRIVATE:CAPS" since="2.24"/> - <keyword type="macro" name="G_TYPE_CHECK_INSTANCE()" link="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE:CAPS"/> - <keyword type="macro" name="G_TYPE_CHECK_INSTANCE_CAST()" link="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-CAST:CAPS"/> - <keyword type="macro" name="G_TYPE_CHECK_INSTANCE_TYPE()" link="gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-TYPE:CAPS"/> - <keyword type="macro" name="G_TYPE_CHECK_CLASS_CAST()" link="gobject-Type-Information.html#G-TYPE-CHECK-CLASS-CAST:CAPS"/> - <keyword type="macro" name="G_TYPE_CHECK_CLASS_TYPE()" link="gobject-Type-Information.html#G-TYPE-CHECK-CLASS-TYPE:CAPS"/> - <keyword type="macro" name="G_TYPE_CHECK_VALUE()" link="gobject-Type-Information.html#G-TYPE-CHECK-VALUE:CAPS"/> - <keyword type="macro" name="G_TYPE_CHECK_VALUE_TYPE()" link="gobject-Type-Information.html#G-TYPE-CHECK-VALUE-TYPE:CAPS"/> - <keyword type="macro" name="G_TYPE_FLAG_RESERVED_ID_BIT" link="gobject-Type-Information.html#G-TYPE-FLAG-RESERVED-ID-BIT:CAPS"/> - <keyword type="function" name="g_type_init ()" link="gobject-Type-Information.html#g-type-init"/> - <keyword type="enum" name="enum GTypeDebugFlags" link="gobject-Type-Information.html#GTypeDebugFlags"/> - <keyword type="function" name="g_type_init_with_debug_flags ()" link="gobject-Type-Information.html#g-type-init-with-debug-flags"/> - <keyword type="function" name="g_type_name ()" link="gobject-Type-Information.html#g-type-name"/> - <keyword type="function" name="g_type_qname ()" link="gobject-Type-Information.html#g-type-qname"/> - <keyword type="function" name="g_type_from_name ()" link="gobject-Type-Information.html#g-type-from-name"/> - <keyword type="function" name="g_type_parent ()" link="gobject-Type-Information.html#g-type-parent"/> - <keyword type="function" name="g_type_depth ()" link="gobject-Type-Information.html#g-type-depth"/> - <keyword type="function" name="g_type_next_base ()" link="gobject-Type-Information.html#g-type-next-base"/> - <keyword type="function" name="g_type_is_a ()" link="gobject-Type-Information.html#g-type-is-a"/> - <keyword type="function" name="g_type_class_ref ()" link="gobject-Type-Information.html#g-type-class-ref"/> - <keyword type="function" name="g_type_class_peek ()" link="gobject-Type-Information.html#g-type-class-peek"/> - <keyword type="function" name="g_type_class_peek_static ()" link="gobject-Type-Information.html#g-type-class-peek-static" since="2.4"/> - <keyword type="function" name="g_type_class_unref ()" link="gobject-Type-Information.html#g-type-class-unref"/> - <keyword type="function" name="g_type_class_peek_parent ()" link="gobject-Type-Information.html#g-type-class-peek-parent"/> - <keyword type="function" name="g_type_class_add_private ()" link="gobject-Type-Information.html#g-type-class-add-private" since="2.4"/> - <keyword type="function" name="g_type_add_class_private ()" link="gobject-Type-Information.html#g-type-add-class-private" since="2.24"/> - <keyword type="function" name="g_type_interface_peek ()" link="gobject-Type-Information.html#g-type-interface-peek"/> - <keyword type="function" name="g_type_interface_peek_parent ()" link="gobject-Type-Information.html#g-type-interface-peek-parent"/> - <keyword type="function" name="g_type_default_interface_ref ()" link="gobject-Type-Information.html#g-type-default-interface-ref" since="2.4"/> - <keyword type="function" name="g_type_default_interface_peek ()" link="gobject-Type-Information.html#g-type-default-interface-peek" since="2.4"/> - <keyword type="function" name="g_type_default_interface_unref ()" link="gobject-Type-Information.html#g-type-default-interface-unref" since="2.4"/> - <keyword type="function" name="g_type_children ()" link="gobject-Type-Information.html#g-type-children"/> - <keyword type="function" name="g_type_interfaces ()" link="gobject-Type-Information.html#g-type-interfaces"/> - <keyword type="function" name="g_type_interface_prerequisites ()" link="gobject-Type-Information.html#g-type-interface-prerequisites" since="2.2"/> - <keyword type="function" name="g_type_set_qdata ()" link="gobject-Type-Information.html#g-type-set-qdata"/> - <keyword type="function" name="g_type_get_qdata ()" link="gobject-Type-Information.html#g-type-get-qdata"/> - <keyword type="function" name="g_type_query ()" link="gobject-Type-Information.html#g-type-query"/> - <keyword type="struct" name="struct GTypeQuery" link="gobject-Type-Information.html#GTypeQuery"/> - <keyword type="function" name="GBaseInitFunc ()" link="gobject-Type-Information.html#GBaseInitFunc"/> - <keyword type="function" name="GBaseFinalizeFunc ()" link="gobject-Type-Information.html#GBaseFinalizeFunc"/> - <keyword type="function" name="GClassInitFunc ()" link="gobject-Type-Information.html#GClassInitFunc"/> - <keyword type="function" name="GClassFinalizeFunc ()" link="gobject-Type-Information.html#GClassFinalizeFunc"/> - <keyword type="function" name="GInstanceInitFunc ()" link="gobject-Type-Information.html#GInstanceInitFunc"/> - <keyword type="function" name="GInterfaceInitFunc ()" link="gobject-Type-Information.html#GInterfaceInitFunc"/> - <keyword type="function" name="GInterfaceFinalizeFunc ()" link="gobject-Type-Information.html#GInterfaceFinalizeFunc"/> - <keyword type="function" name="GTypeClassCacheFunc ()" link="gobject-Type-Information.html#GTypeClassCacheFunc"/> - <keyword type="enum" name="enum GTypeFlags" link="gobject-Type-Information.html#GTypeFlags"/> - <keyword type="enum" name="enum GTypeFundamentalFlags" link="gobject-Type-Information.html#GTypeFundamentalFlags"/> - <keyword type="function" name="g_type_register_static ()" link="gobject-Type-Information.html#g-type-register-static"/> - <keyword type="function" name="g_type_register_static_simple ()" link="gobject-Type-Information.html#g-type-register-static-simple" since="2.12"/> - <keyword type="function" name="g_type_register_dynamic ()" link="gobject-Type-Information.html#g-type-register-dynamic"/> - <keyword type="function" name="g_type_register_fundamental ()" link="gobject-Type-Information.html#g-type-register-fundamental"/> - <keyword type="function" name="g_type_add_interface_static ()" link="gobject-Type-Information.html#g-type-add-interface-static"/> - <keyword type="function" name="g_type_add_interface_dynamic ()" link="gobject-Type-Information.html#g-type-add-interface-dynamic"/> - <keyword type="function" name="g_type_interface_add_prerequisite ()" link="gobject-Type-Information.html#g-type-interface-add-prerequisite"/> - <keyword type="function" name="g_type_get_plugin ()" link="gobject-Type-Information.html#g-type-get-plugin"/> - <keyword type="function" name="g_type_interface_get_plugin ()" link="gobject-Type-Information.html#g-type-interface-get-plugin"/> - <keyword type="function" name="g_type_fundamental_next ()" link="gobject-Type-Information.html#g-type-fundamental-next"/> - <keyword type="function" name="g_type_fundamental ()" link="gobject-Type-Information.html#g-type-fundamental"/> - <keyword type="function" name="g_type_create_instance ()" link="gobject-Type-Information.html#g-type-create-instance"/> - <keyword type="function" name="g_type_free_instance ()" link="gobject-Type-Information.html#g-type-free-instance"/> - <keyword type="function" name="g_type_add_class_cache_func ()" link="gobject-Type-Information.html#g-type-add-class-cache-func"/> - <keyword type="function" name="g_type_remove_class_cache_func ()" link="gobject-Type-Information.html#g-type-remove-class-cache-func"/> - <keyword type="function" name="g_type_class_unref_uncached ()" link="gobject-Type-Information.html#g-type-class-unref-uncached"/> - <keyword type="function" name="g_type_add_interface_check ()" link="gobject-Type-Information.html#g-type-add-interface-check" since="2.4"/> - <keyword type="function" name="g_type_remove_interface_check ()" link="gobject-Type-Information.html#g-type-remove-interface-check" since="2.4"/> - <keyword type="function" name="GTypeInterfaceCheckFunc ()" link="gobject-Type-Information.html#GTypeInterfaceCheckFunc" since="2.4"/> - <keyword type="function" name="g_type_value_table_peek ()" link="gobject-Type-Information.html#g-type-value-table-peek"/> - <keyword type="function" name="g_type_ensure ()" link="gobject-Type-Information.html#g-type-ensure" since="2.34"/> - <keyword type="macro" name="G_DEFINE_TYPE()" link="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" since="2.4"/> - <keyword type="macro" name="G_DEFINE_TYPE_WITH_CODE()" link="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" since="2.4"/> - <keyword type="macro" name="G_DEFINE_ABSTRACT_TYPE()" link="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE:CAPS" since="2.4"/> - <keyword type="macro" name="G_DEFINE_ABSTRACT_TYPE_WITH_CODE()" link="gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS" since="2.4"/> - <keyword type="macro" name="G_DEFINE_INTERFACE()" link="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" since="2.24"/> - <keyword type="macro" name="G_DEFINE_INTERFACE_WITH_CODE()" link="gobject-Type-Information.html#G-DEFINE-INTERFACE-WITH-CODE:CAPS" since="2.24"/> - <keyword type="macro" name="G_IMPLEMENT_INTERFACE()" link="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" since="2.4"/> - <keyword type="macro" name="G_DEFINE_TYPE_EXTENDED()" link="gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS" since="2.4"/> - <keyword type="macro" name="G_DEFINE_BOXED_TYPE()" link="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE:CAPS" since="2.26"/> - <keyword type="macro" name="G_DEFINE_BOXED_TYPE_WITH_CODE()" link="gobject-Type-Information.html#G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS" since="2.26"/> - <keyword type="macro" name="G_DEFINE_POINTER_TYPE()" link="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE:CAPS" since="2.26"/> - <keyword type="macro" name="G_DEFINE_POINTER_TYPE_WITH_CODE()" link="gobject-Type-Information.html#G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS" since="2.26"/> - <keyword type="macro" name="G_TYPE_INVALID" link="gobject-Type-Information.html#G-TYPE-INVALID:CAPS"/> - <keyword type="macro" name="G_TYPE_NONE" link="gobject-Type-Information.html#G-TYPE-NONE:CAPS"/> - <keyword type="macro" name="G_TYPE_INTERFACE" link="gobject-Type-Information.html#G-TYPE-INTERFACE:CAPS"/> - <keyword type="macro" name="G_TYPE_CHAR" link="gobject-Type-Information.html#G-TYPE-CHAR:CAPS"/> - <keyword type="macro" name="G_TYPE_UCHAR" link="gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"/> - <keyword type="macro" name="G_TYPE_BOOLEAN" link="gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"/> - <keyword type="macro" name="G_TYPE_INT" link="gobject-Type-Information.html#G-TYPE-INT:CAPS"/> - <keyword type="macro" name="G_TYPE_UINT" link="gobject-Type-Information.html#G-TYPE-UINT:CAPS"/> - <keyword type="macro" name="G_TYPE_LONG" link="gobject-Type-Information.html#G-TYPE-LONG:CAPS"/> - <keyword type="macro" name="G_TYPE_ULONG" link="gobject-Type-Information.html#G-TYPE-ULONG:CAPS"/> - <keyword type="macro" name="G_TYPE_INT64" link="gobject-Type-Information.html#G-TYPE-INT64:CAPS"/> - <keyword type="macro" name="G_TYPE_UINT64" link="gobject-Type-Information.html#G-TYPE-UINT64:CAPS"/> - <keyword type="macro" name="G_TYPE_ENUM" link="gobject-Type-Information.html#G-TYPE-ENUM:CAPS"/> - <keyword type="macro" name="G_TYPE_FLAGS" link="gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"/> - <keyword type="macro" name="G_TYPE_FLOAT" link="gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"/> - <keyword type="macro" name="G_TYPE_DOUBLE" link="gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"/> - <keyword type="macro" name="G_TYPE_STRING" link="gobject-Type-Information.html#G-TYPE-STRING:CAPS"/> - <keyword type="macro" name="G_TYPE_POINTER" link="gobject-Type-Information.html#G-TYPE-POINTER:CAPS"/> - <keyword type="macro" name="G_TYPE_BOXED" link="gobject-Type-Information.html#G-TYPE-BOXED:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM" link="gobject-Type-Information.html#G-TYPE-PARAM:CAPS"/> - <keyword type="macro" name="G_TYPE_OBJECT" link="gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"/> - <keyword type="macro" name="G_TYPE_GTYPE" link="gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"/> - <keyword type="macro" name="G_TYPE_VARIANT" link="gobject-Type-Information.html#G-TYPE-VARIANT:CAPS" since="2.26"/> - <keyword type="macro" name="G_TYPE_RESERVED_GLIB_FIRST" link="gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-FIRST:CAPS"/> - <keyword type="macro" name="G_TYPE_RESERVED_GLIB_LAST" link="gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-LAST:CAPS"/> - <keyword type="macro" name="G_TYPE_RESERVED_BSE_FIRST" link="gobject-Type-Information.html#G-TYPE-RESERVED-BSE-FIRST:CAPS"/> - <keyword type="macro" name="G_TYPE_RESERVED_BSE_LAST" link="gobject-Type-Information.html#G-TYPE-RESERVED-BSE-LAST:CAPS"/> - <keyword type="macro" name="G_TYPE_RESERVED_USER_FIRST" link="gobject-Type-Information.html#G-TYPE-RESERVED-USER-FIRST:CAPS"/> - <keyword type="struct" name="GTypePlugin" link="GTypePlugin.html#GTypePlugin-struct"/> - <keyword type="struct" name="struct GTypePluginClass" link="GTypePlugin.html#GTypePluginClass"/> - <keyword type="function" name="GTypePluginUse ()" link="GTypePlugin.html#GTypePluginUse"/> - <keyword type="function" name="GTypePluginUnuse ()" link="GTypePlugin.html#GTypePluginUnuse"/> - <keyword type="function" name="GTypePluginCompleteTypeInfo ()" link="GTypePlugin.html#GTypePluginCompleteTypeInfo"/> - <keyword type="function" name="GTypePluginCompleteInterfaceInfo ()" link="GTypePlugin.html#GTypePluginCompleteInterfaceInfo"/> - <keyword type="function" name="g_type_plugin_use ()" link="GTypePlugin.html#g-type-plugin-use"/> - <keyword type="function" name="g_type_plugin_unuse ()" link="GTypePlugin.html#g-type-plugin-unuse"/> - <keyword type="function" name="g_type_plugin_complete_type_info ()" link="GTypePlugin.html#g-type-plugin-complete-type-info"/> - <keyword type="function" name="g_type_plugin_complete_interface_info ()" link="GTypePlugin.html#g-type-plugin-complete-interface-info"/> - <keyword type="struct" name="struct GTypeModule" link="GTypeModule.html#GTypeModule-struct"/> - <keyword type="struct" name="struct GTypeModuleClass" link="GTypeModule.html#GTypeModuleClass"/> - <keyword type="function" name="g_type_module_use ()" link="GTypeModule.html#g-type-module-use"/> - <keyword type="function" name="g_type_module_unuse ()" link="GTypeModule.html#g-type-module-unuse"/> - <keyword type="function" name="g_type_module_set_name ()" link="GTypeModule.html#g-type-module-set-name"/> - <keyword type="function" name="g_type_module_register_type ()" link="GTypeModule.html#g-type-module-register-type"/> - <keyword type="function" name="g_type_module_add_interface ()" link="GTypeModule.html#g-type-module-add-interface"/> - <keyword type="function" name="g_type_module_register_enum ()" link="GTypeModule.html#g-type-module-register-enum" since="2.6"/> - <keyword type="function" name="g_type_module_register_flags ()" link="GTypeModule.html#g-type-module-register-flags" since="2.6"/> - <keyword type="macro" name="G_DEFINE_DYNAMIC_TYPE()" link="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE:CAPS" since="2.14"/> - <keyword type="macro" name="G_DEFINE_DYNAMIC_TYPE_EXTENDED()" link="GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" since="2.14"/> - <keyword type="macro" name="G_IMPLEMENT_INTERFACE_DYNAMIC()" link="GTypeModule.html#G-IMPLEMENT-INTERFACE-DYNAMIC:CAPS" since="2.24"/> - <keyword type="struct" name="struct GObject" link="gobject-The-Base-Object-Type.html#GObject-struct"/> - <keyword type="struct" name="struct GObjectClass" link="gobject-The-Base-Object-Type.html#GObjectClass"/> - <keyword type="struct" name="struct GObjectConstructParam" link="gobject-The-Base-Object-Type.html#GObjectConstructParam"/> - <keyword type="function" name="GObjectGetPropertyFunc ()" link="gobject-The-Base-Object-Type.html#GObjectGetPropertyFunc"/> - <keyword type="function" name="GObjectSetPropertyFunc ()" link="gobject-The-Base-Object-Type.html#GObjectSetPropertyFunc"/> - <keyword type="function" name="GObjectFinalizeFunc ()" link="gobject-The-Base-Object-Type.html#GObjectFinalizeFunc"/> - <keyword type="macro" name="G_TYPE_IS_OBJECT()" link="gobject-The-Base-Object-Type.html#G-TYPE-IS-OBJECT:CAPS"/> - <keyword type="macro" name="G_OBJECT()" link="gobject-The-Base-Object-Type.html#G-OBJECT:CAPS"/> - <keyword type="macro" name="G_IS_OBJECT()" link="gobject-The-Base-Object-Type.html#G-IS-OBJECT:CAPS"/> - <keyword type="macro" name="G_OBJECT_CLASS()" link="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS"/> - <keyword type="macro" name="G_IS_OBJECT_CLASS()" link="gobject-The-Base-Object-Type.html#G-IS-OBJECT-CLASS:CAPS"/> - <keyword type="macro" name="G_OBJECT_GET_CLASS()" link="gobject-The-Base-Object-Type.html#G-OBJECT-GET-CLASS:CAPS"/> - <keyword type="macro" name="G_OBJECT_TYPE()" link="gobject-The-Base-Object-Type.html#G-OBJECT-TYPE:CAPS"/> - <keyword type="macro" name="G_OBJECT_TYPE_NAME()" link="gobject-The-Base-Object-Type.html#G-OBJECT-TYPE-NAME:CAPS"/> - <keyword type="macro" name="G_OBJECT_CLASS_TYPE()" link="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-TYPE:CAPS"/> - <keyword type="macro" name="G_OBJECT_CLASS_NAME()" link="gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-NAME:CAPS"/> - <keyword type="function" name="g_object_class_install_property ()" link="gobject-The-Base-Object-Type.html#g-object-class-install-property"/> - <keyword type="function" name="g_object_class_install_properties ()" link="gobject-The-Base-Object-Type.html#g-object-class-install-properties" since="2.26"/> - <keyword type="function" name="g_object_class_find_property ()" link="gobject-The-Base-Object-Type.html#g-object-class-find-property"/> - <keyword type="function" name="g_object_class_list_properties ()" link="gobject-The-Base-Object-Type.html#g-object-class-list-properties"/> - <keyword type="function" name="g_object_class_override_property ()" link="gobject-The-Base-Object-Type.html#g-object-class-override-property" since="2.4"/> - <keyword type="function" name="g_object_interface_install_property ()" link="gobject-The-Base-Object-Type.html#g-object-interface-install-property" since="2.4"/> - <keyword type="function" name="g_object_interface_find_property ()" link="gobject-The-Base-Object-Type.html#g-object-interface-find-property" since="2.4"/> - <keyword type="function" name="g_object_interface_list_properties ()" link="gobject-The-Base-Object-Type.html#g-object-interface-list-properties" since="2.4"/> - <keyword type="function" name="g_object_new ()" link="gobject-The-Base-Object-Type.html#g-object-new"/> - <keyword type="function" name="g_object_newv ()" link="gobject-The-Base-Object-Type.html#g-object-newv"/> - <keyword type="struct" name="struct GParameter" link="gobject-The-Base-Object-Type.html#GParameter"/> - <keyword type="function" name="g_object_ref ()" link="gobject-The-Base-Object-Type.html#g-object-ref"/> - <keyword type="function" name="g_object_unref ()" link="gobject-The-Base-Object-Type.html#g-object-unref"/> - <keyword type="function" name="g_object_ref_sink ()" link="gobject-The-Base-Object-Type.html#g-object-ref-sink" since="2.10"/> - <keyword type="function" name="g_clear_object ()" link="gobject-The-Base-Object-Type.html#g-clear-object" since="2.28"/> - <keyword type="typedef" name="GInitiallyUnowned" link="gobject-The-Base-Object-Type.html#GInitiallyUnowned"/> - <keyword type="typedef" name="GInitiallyUnownedClass" link="gobject-The-Base-Object-Type.html#GInitiallyUnownedClass"/> - <keyword type="macro" name="G_TYPE_INITIALLY_UNOWNED" link="gobject-The-Base-Object-Type.html#G-TYPE-INITIALLY-UNOWNED:CAPS"/> - <keyword type="function" name="g_object_is_floating ()" link="gobject-The-Base-Object-Type.html#g-object-is-floating" since="2.10"/> - <keyword type="function" name="g_object_force_floating ()" link="gobject-The-Base-Object-Type.html#g-object-force-floating" since="2.10"/> - <keyword type="function" name="GWeakNotify ()" link="gobject-The-Base-Object-Type.html#GWeakNotify"/> - <keyword type="function" name="g_object_weak_ref ()" link="gobject-The-Base-Object-Type.html#g-object-weak-ref"/> - <keyword type="function" name="g_object_weak_unref ()" link="gobject-The-Base-Object-Type.html#g-object-weak-unref"/> - <keyword type="function" name="g_object_add_weak_pointer ()" link="gobject-The-Base-Object-Type.html#g-object-add-weak-pointer"/> - <keyword type="function" name="g_object_remove_weak_pointer ()" link="gobject-The-Base-Object-Type.html#g-object-remove-weak-pointer"/> - <keyword type="function" name="GToggleNotify ()" link="gobject-The-Base-Object-Type.html#GToggleNotify"/> - <keyword type="function" name="g_object_add_toggle_ref ()" link="gobject-The-Base-Object-Type.html#g-object-add-toggle-ref" since="2.8"/> - <keyword type="function" name="g_object_remove_toggle_ref ()" link="gobject-The-Base-Object-Type.html#g-object-remove-toggle-ref" since="2.8"/> - <keyword type="function" name="g_object_connect ()" link="gobject-The-Base-Object-Type.html#g-object-connect"/> - <keyword type="function" name="g_object_disconnect ()" link="gobject-The-Base-Object-Type.html#g-object-disconnect"/> - <keyword type="function" name="g_object_set ()" link="gobject-The-Base-Object-Type.html#g-object-set"/> - <keyword type="function" name="g_object_get ()" link="gobject-The-Base-Object-Type.html#g-object-get"/> - <keyword type="function" name="g_object_notify ()" link="gobject-The-Base-Object-Type.html#g-object-notify"/> - <keyword type="function" name="g_object_notify_by_pspec ()" link="gobject-The-Base-Object-Type.html#g-object-notify-by-pspec" since="2.26"/> - <keyword type="function" name="g_object_freeze_notify ()" link="gobject-The-Base-Object-Type.html#g-object-freeze-notify"/> - <keyword type="function" name="g_object_thaw_notify ()" link="gobject-The-Base-Object-Type.html#g-object-thaw-notify"/> - <keyword type="function" name="g_object_get_data ()" link="gobject-The-Base-Object-Type.html#g-object-get-data"/> - <keyword type="function" name="g_object_set_data ()" link="gobject-The-Base-Object-Type.html#g-object-set-data"/> - <keyword type="function" name="g_object_set_data_full ()" link="gobject-The-Base-Object-Type.html#g-object-set-data-full"/> - <keyword type="function" name="g_object_steal_data ()" link="gobject-The-Base-Object-Type.html#g-object-steal-data"/> - <keyword type="function" name="g_object_get_qdata ()" link="gobject-The-Base-Object-Type.html#g-object-get-qdata"/> - <keyword type="function" name="g_object_set_qdata ()" link="gobject-The-Base-Object-Type.html#g-object-set-qdata"/> - <keyword type="function" name="g_object_set_qdata_full ()" link="gobject-The-Base-Object-Type.html#g-object-set-qdata-full"/> - <keyword type="function" name="g_object_steal_qdata ()" link="gobject-The-Base-Object-Type.html#g-object-steal-qdata"/> - <keyword type="function" name="g_object_set_property ()" link="gobject-The-Base-Object-Type.html#g-object-set-property"/> - <keyword type="function" name="g_object_get_property ()" link="gobject-The-Base-Object-Type.html#g-object-get-property"/> - <keyword type="function" name="g_object_new_valist ()" link="gobject-The-Base-Object-Type.html#g-object-new-valist"/> - <keyword type="function" name="g_object_set_valist ()" link="gobject-The-Base-Object-Type.html#g-object-set-valist"/> - <keyword type="function" name="g_object_get_valist ()" link="gobject-The-Base-Object-Type.html#g-object-get-valist"/> - <keyword type="function" name="g_object_watch_closure ()" link="gobject-The-Base-Object-Type.html#g-object-watch-closure"/> - <keyword type="function" name="g_object_run_dispose ()" link="gobject-The-Base-Object-Type.html#g-object-run-dispose"/> - <keyword type="macro" name="G_OBJECT_WARN_INVALID_PROPERTY_ID()" link="gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS"/> - <keyword type="struct" name="GWeakRef" link="gobject-The-Base-Object-Type.html#GWeakRef"/> - <keyword type="function" name="g_weak_ref_init ()" link="gobject-The-Base-Object-Type.html#g-weak-ref-init" since="2.32"/> - <keyword type="function" name="g_weak_ref_clear ()" link="gobject-The-Base-Object-Type.html#g-weak-ref-clear" since="2.32"/> - <keyword type="function" name="g_weak_ref_get ()" link="gobject-The-Base-Object-Type.html#g-weak-ref-get" since="2.32"/> - <keyword type="function" name="g_weak_ref_set ()" link="gobject-The-Base-Object-Type.html#g-weak-ref-set" since="2.32"/> - <keyword type="signal" name="The "notify" signal" link="gobject-The-Base-Object-Type.html#GObject-notify"/> - <keyword type="struct" name="struct GEnumClass" link="gobject-Enumeration-and-Flag-Types.html#GEnumClass"/> - <keyword type="struct" name="struct GFlagsClass" link="gobject-Enumeration-and-Flag-Types.html#GFlagsClass"/> - <keyword type="macro" name="G_ENUM_CLASS_TYPE()" link="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE:CAPS"/> - <keyword type="macro" name="G_ENUM_CLASS_TYPE_NAME()" link="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE-NAME:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_ENUM()" link="gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-ENUM:CAPS"/> - <keyword type="macro" name="G_ENUM_CLASS()" link="gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS:CAPS"/> - <keyword type="macro" name="G_IS_ENUM_CLASS()" link="gobject-Enumeration-and-Flag-Types.html#G-IS-ENUM-CLASS:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_FLAGS()" link="gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-FLAGS:CAPS"/> - <keyword type="macro" name="G_FLAGS_CLASS()" link="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS:CAPS"/> - <keyword type="macro" name="G_IS_FLAGS_CLASS()" link="gobject-Enumeration-and-Flag-Types.html#G-IS-FLAGS-CLASS:CAPS"/> - <keyword type="macro" name="G_FLAGS_CLASS_TYPE()" link="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE:CAPS"/> - <keyword type="macro" name="G_FLAGS_CLASS_TYPE_NAME()" link="gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE-NAME:CAPS"/> - <keyword type="struct" name="struct GEnumValue" link="gobject-Enumeration-and-Flag-Types.html#GEnumValue"/> - <keyword type="struct" name="struct GFlagsValue" link="gobject-Enumeration-and-Flag-Types.html#GFlagsValue"/> - <keyword type="function" name="g_enum_get_value ()" link="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value"/> - <keyword type="function" name="g_enum_get_value_by_name ()" link="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-name"/> - <keyword type="function" name="g_enum_get_value_by_nick ()" link="gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-nick"/> - <keyword type="function" name="g_flags_get_first_value ()" link="gobject-Enumeration-and-Flag-Types.html#g-flags-get-first-value"/> - <keyword type="function" name="g_flags_get_value_by_name ()" link="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-name"/> - <keyword type="function" name="g_flags_get_value_by_nick ()" link="gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-nick"/> - <keyword type="function" name="g_enum_register_static ()" link="gobject-Enumeration-and-Flag-Types.html#g-enum-register-static"/> - <keyword type="function" name="g_flags_register_static ()" link="gobject-Enumeration-and-Flag-Types.html#g-flags-register-static"/> - <keyword type="function" name="g_enum_complete_type_info ()" link="gobject-Enumeration-and-Flag-Types.html#g-enum-complete-type-info"/> - <keyword type="function" name="g_flags_complete_type_info ()" link="gobject-Enumeration-and-Flag-Types.html#g-flags-complete-type-info"/> - <keyword type="function" name="GBoxedCopyFunc ()" link="gobject-Boxed-Types.html#GBoxedCopyFunc"/> - <keyword type="function" name="GBoxedFreeFunc ()" link="gobject-Boxed-Types.html#GBoxedFreeFunc"/> - <keyword type="function" name="g_boxed_copy ()" link="gobject-Boxed-Types.html#g-boxed-copy"/> - <keyword type="function" name="g_boxed_free ()" link="gobject-Boxed-Types.html#g-boxed-free"/> - <keyword type="function" name="g_boxed_type_register_static ()" link="gobject-Boxed-Types.html#g-boxed-type-register-static"/> - <keyword type="function" name="g_pointer_type_register_static ()" link="gobject-Boxed-Types.html#g-pointer-type-register-static"/> - <keyword type="macro" name="G_TYPE_HASH_TABLE" link="gobject-Boxed-Types.html#G-TYPE-HASH-TABLE:CAPS" since="2.10"/> - <keyword type="macro" name="G_TYPE_DATE" link="gobject-Boxed-Types.html#G-TYPE-DATE:CAPS"/> - <keyword type="macro" name="G_TYPE_GSTRING" link="gobject-Boxed-Types.html#G-TYPE-GSTRING:CAPS"/> - <keyword type="macro" name="G_TYPE_STRV" link="gobject-Boxed-Types.html#G-TYPE-STRV:CAPS" since="2.4"/> - <keyword type="macro" name="G_TYPE_REGEX" link="gobject-Boxed-Types.html#G-TYPE-REGEX:CAPS" since="2.14"/> - <keyword type="macro" name="G_TYPE_MATCH_INFO" link="gobject-Boxed-Types.html#G-TYPE-MATCH-INFO:CAPS" since="2.30"/> - <keyword type="macro" name="G_TYPE_ARRAY" link="gobject-Boxed-Types.html#G-TYPE-ARRAY:CAPS" since="2.22"/> - <keyword type="macro" name="G_TYPE_BYTE_ARRAY" link="gobject-Boxed-Types.html#G-TYPE-BYTE-ARRAY:CAPS" since="2.22"/> - <keyword type="macro" name="G_TYPE_PTR_ARRAY" link="gobject-Boxed-Types.html#G-TYPE-PTR-ARRAY:CAPS" since="2.22"/> - <keyword type="macro" name="G_TYPE_BYTES" link="gobject-Boxed-Types.html#G-TYPE-BYTES:CAPS" since="2.32"/> - <keyword type="macro" name="G_TYPE_VARIANT_TYPE" link="gobject-Boxed-Types.html#G-TYPE-VARIANT-TYPE:CAPS" since="2.24"/> - <keyword type="macro" name="G_TYPE_ERROR" link="gobject-Boxed-Types.html#G-TYPE-ERROR:CAPS" since="2.26"/> - <keyword type="macro" name="G_TYPE_DATE_TIME" link="gobject-Boxed-Types.html#G-TYPE-DATE-TIME:CAPS" since="2.26"/> - <keyword type="macro" name="G_TYPE_IO_CHANNEL" link="gobject-Boxed-Types.html#G-TYPE-IO-CHANNEL:CAPS"/> - <keyword type="macro" name="G_TYPE_IO_CONDITION" link="gobject-Boxed-Types.html#G-TYPE-IO-CONDITION:CAPS"/> - <keyword type="macro" name="G_TYPE_VARIANT_BUILDER" link="gobject-Boxed-Types.html#G-TYPE-VARIANT-BUILDER:CAPS" since="2.30"/> - <keyword type="macro" name="G_TYPE_KEY_FILE" link="gobject-Boxed-Types.html#G-TYPE-KEY-FILE:CAPS" since="2.32"/> - <keyword type="macro" name="G_TYPE_MAIN_CONTEXT" link="gobject-Boxed-Types.html#G-TYPE-MAIN-CONTEXT:CAPS" since="2.30"/> - <keyword type="macro" name="G_TYPE_MAIN_LOOP" link="gobject-Boxed-Types.html#G-TYPE-MAIN-LOOP:CAPS" since="2.30"/> - <keyword type="macro" name="G_TYPE_SOURCE" link="gobject-Boxed-Types.html#G-TYPE-SOURCE:CAPS" since="2.30"/> - <keyword type="typedef" name="GStrv" link="gobject-Boxed-Types.html#GStrv"/> - <keyword type="macro" name="G_VALUE_INIT" link="gobject-Generic-values.html#G-VALUE-INIT:CAPS" since="2.30"/> - <keyword type="macro" name="G_VALUE_HOLDS()" link="gobject-Generic-values.html#G-VALUE-HOLDS:CAPS"/> - <keyword type="macro" name="G_VALUE_TYPE()" link="gobject-Generic-values.html#G-VALUE-TYPE:CAPS"/> - <keyword type="macro" name="G_VALUE_TYPE_NAME()" link="gobject-Generic-values.html#G-VALUE-TYPE-NAME:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_VALUE()" link="gobject-Generic-values.html#G-TYPE-IS-VALUE:CAPS"/> - <keyword type="macro" name="G_TYPE_IS_VALUE_ABSTRACT()" link="gobject-Generic-values.html#G-TYPE-IS-VALUE-ABSTRACT:CAPS"/> - <keyword type="macro" name="G_IS_VALUE()" link="gobject-Generic-values.html#G-IS-VALUE:CAPS"/> - <keyword type="struct" name="GValue" link="gobject-Generic-values.html#GValue"/> - <keyword type="macro" name="G_TYPE_VALUE" link="gobject-Generic-values.html#G-TYPE-VALUE:CAPS"/> - <keyword type="macro" name="G_TYPE_VALUE_ARRAY" link="gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS" deprecated="2.32: Use #GArray instead of #GValueArray"/> - <keyword type="function" name="g_value_init ()" link="gobject-Generic-values.html#g-value-init"/> - <keyword type="function" name="g_value_copy ()" link="gobject-Generic-values.html#g-value-copy"/> - <keyword type="function" name="g_value_reset ()" link="gobject-Generic-values.html#g-value-reset"/> - <keyword type="function" name="g_value_unset ()" link="gobject-Generic-values.html#g-value-unset"/> - <keyword type="function" name="g_value_set_instance ()" link="gobject-Generic-values.html#g-value-set-instance"/> - <keyword type="function" name="g_value_fits_pointer ()" link="gobject-Generic-values.html#g-value-fits-pointer"/> - <keyword type="function" name="g_value_peek_pointer ()" link="gobject-Generic-values.html#g-value-peek-pointer"/> - <keyword type="function" name="g_value_type_compatible ()" link="gobject-Generic-values.html#g-value-type-compatible"/> - <keyword type="function" name="g_value_type_transformable ()" link="gobject-Generic-values.html#g-value-type-transformable"/> - <keyword type="function" name="g_value_transform ()" link="gobject-Generic-values.html#g-value-transform"/> - <keyword type="function" name="GValueTransform ()" link="gobject-Generic-values.html#GValueTransform"/> - <keyword type="function" name="g_value_register_transform_func ()" link="gobject-Generic-values.html#g-value-register-transform-func"/> - <keyword type="function" name="g_strdup_value_contents ()" link="gobject-Generic-values.html#g-strdup-value-contents"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_BOOLEAN()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOOLEAN:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_BOOLEAN()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOOLEAN:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_BOOLEAN()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOOLEAN:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_BOOLEAN" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS"/> - <keyword type="struct" name="struct GParamSpecBoolean" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean"/> - <keyword type="function" name="g_param_spec_boolean ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boolean"/> - <keyword type="function" name="g_value_set_boolean ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boolean"/> - <keyword type="function" name="g_value_get_boolean ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boolean"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_CHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-CHAR:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_CHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-CHAR:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_CHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-CHAR:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_CHAR" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS"/> - <keyword type="struct" name="struct GParamSpecChar" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar"/> - <keyword type="function" name="g_param_spec_char ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-char"/> - <keyword type="function" name="g_value_set_char ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-char" deprecated="2.32: This function's input type is broken, see g_value_set_schar()"/> - <keyword type="function" name="g_value_get_char ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-char" deprecated="2.32: This function's return type is broken, see g_value_get_schar()"/> - <keyword type="function" name="g_value_get_schar ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar" since="2.32"/> - <keyword type="function" name="g_value_set_schar ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar" since="2.32"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_UCHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UCHAR:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_UCHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UCHAR:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_UCHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UCHAR:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_UCHAR" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS"/> - <keyword type="struct" name="struct GParamSpecUChar" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar"/> - <keyword type="function" name="g_param_spec_uchar ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uchar"/> - <keyword type="function" name="g_value_set_uchar ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uchar"/> - <keyword type="function" name="g_value_get_uchar ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uchar"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_INT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_INT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_INT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_INT" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS"/> - <keyword type="struct" name="struct GParamSpecInt" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt"/> - <keyword type="function" name="g_param_spec_int ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int"/> - <keyword type="function" name="g_value_set_int ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int"/> - <keyword type="function" name="g_value_get_int ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_UINT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_UINT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_UINT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_UINT" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS"/> - <keyword type="struct" name="struct GParamSpecUInt" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt"/> - <keyword type="function" name="g_param_spec_uint ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint"/> - <keyword type="function" name="g_value_set_uint ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint"/> - <keyword type="function" name="g_value_get_uint ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_LONG()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-LONG:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_LONG()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-LONG:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_LONG()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-LONG:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_LONG" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS"/> - <keyword type="struct" name="struct GParamSpecLong" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong"/> - <keyword type="function" name="g_param_spec_long ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-long"/> - <keyword type="function" name="g_value_set_long ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-long"/> - <keyword type="function" name="g_value_get_long ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-long"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_ULONG()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ULONG:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_ULONG()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ULONG:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_ULONG()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ULONG:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_ULONG" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS"/> - <keyword type="struct" name="struct GParamSpecULong" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong"/> - <keyword type="function" name="g_param_spec_ulong ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-ulong"/> - <keyword type="function" name="g_value_set_ulong ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-ulong"/> - <keyword type="function" name="g_value_get_ulong ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-ulong"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_INT64()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT64:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_INT64()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT64:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_INT64()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT64:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_INT64" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS"/> - <keyword type="struct" name="struct GParamSpecInt64" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64"/> - <keyword type="function" name="g_param_spec_int64 ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int64"/> - <keyword type="function" name="g_value_set_int64 ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int64"/> - <keyword type="function" name="g_value_get_int64 ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int64"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_UINT64()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT64:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_UINT64()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT64:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_UINT64()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT64:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_UINT64" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS"/> - <keyword type="struct" name="struct GParamSpecUInt64" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64"/> - <keyword type="function" name="g_param_spec_uint64 ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint64"/> - <keyword type="function" name="g_value_set_uint64 ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint64"/> - <keyword type="function" name="g_value_get_uint64 ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint64"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_FLOAT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLOAT:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_FLOAT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLOAT:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_FLOAT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLOAT:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_FLOAT" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS"/> - <keyword type="struct" name="struct GParamSpecFloat" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat"/> - <keyword type="function" name="g_param_spec_float ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-float"/> - <keyword type="function" name="g_value_set_float ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-float"/> - <keyword type="function" name="g_value_get_float ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-float"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_DOUBLE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-DOUBLE:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_DOUBLE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-DOUBLE:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_DOUBLE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-DOUBLE:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_DOUBLE" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS"/> - <keyword type="struct" name="struct GParamSpecDouble" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble"/> - <keyword type="function" name="g_param_spec_double ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-double"/> - <keyword type="function" name="g_value_set_double ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-double"/> - <keyword type="function" name="g_value_get_double ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-double"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_ENUM()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ENUM:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_ENUM()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ENUM:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_ENUM()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ENUM:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_ENUM" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS"/> - <keyword type="struct" name="struct GParamSpecEnum" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum"/> - <keyword type="function" name="g_param_spec_enum ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum"/> - <keyword type="function" name="g_value_set_enum ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-enum"/> - <keyword type="function" name="g_value_get_enum ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-enum"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_FLAGS()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLAGS:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_FLAGS()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLAGS:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_FLAGS()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLAGS:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_FLAGS" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS"/> - <keyword type="struct" name="struct GParamSpecFlags" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags"/> - <keyword type="function" name="g_param_spec_flags ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags"/> - <keyword type="function" name="g_value_set_flags ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-flags"/> - <keyword type="function" name="g_value_get_flags ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-flags"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_STRING()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-STRING:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_STRING()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-STRING:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_STRING()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-STRING:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_STRING" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS"/> - <keyword type="struct" name="struct GParamSpecString" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString"/> - <keyword type="typedef" name="gchararray" link="gobject-Standard-Parameter-and-Value-Types.html#gchararray"/> - <keyword type="function" name="g_param_spec_string ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string"/> - <keyword type="function" name="g_value_set_string ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string"/> - <keyword type="function" name="g_value_set_static_string ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string"/> - <keyword type="function" name="g_value_take_string ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string" since="2.4"/> - <keyword type="function" name="g_value_set_string_take_ownership ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string-take-ownership" deprecated="2.4: Use g_value_take_string() instead."/> - <keyword type="function" name="g_value_get_string ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-string"/> - <keyword type="function" name="g_value_dup_string ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-string"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_PARAM()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-PARAM:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_PARAM()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-PARAM:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_PARAM()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-PARAM:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_PARAM" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS"/> - <keyword type="struct" name="struct GParamSpecParam" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam"/> - <keyword type="function" name="g_param_spec_param ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-param"/> - <keyword type="function" name="g_value_set_param ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param"/> - <keyword type="function" name="g_value_take_param ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param" since="2.4"/> - <keyword type="function" name="g_value_set_param_take_ownership ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param-take-ownership" deprecated="2.4: Use g_value_take_param() instead."/> - <keyword type="function" name="g_value_get_param ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-param"/> - <keyword type="function" name="g_value_dup_param ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-param"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_BOXED()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOXED:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_BOXED()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOXED:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_BOXED()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOXED:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_BOXED" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS"/> - <keyword type="struct" name="struct GParamSpecBoxed" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed"/> - <keyword type="function" name="g_param_spec_boxed ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed"/> - <keyword type="function" name="g_value_set_boxed ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed"/> - <keyword type="function" name="g_value_set_static_boxed ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-boxed"/> - <keyword type="function" name="g_value_take_boxed ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed" since="2.4"/> - <keyword type="function" name="g_value_set_boxed_take_ownership ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership" deprecated="2.4: Use g_value_take_boxed() instead."/> - <keyword type="function" name="g_value_get_boxed ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed"/> - <keyword type="function" name="g_value_dup_boxed ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-boxed"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_POINTER()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-POINTER:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_POINTER()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-POINTER:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_POINTER()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-POINTER:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_POINTER" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS"/> - <keyword type="struct" name="struct GParamSpecPointer" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer"/> - <keyword type="function" name="g_param_spec_pointer ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-pointer"/> - <keyword type="function" name="g_value_set_pointer ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-pointer"/> - <keyword type="function" name="g_value_get_pointer ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-pointer"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_OBJECT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OBJECT:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_OBJECT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OBJECT:CAPS"/> - <keyword type="macro" name="G_VALUE_HOLDS_OBJECT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-OBJECT:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_OBJECT" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS"/> - <keyword type="struct" name="struct GParamSpecObject" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject"/> - <keyword type="function" name="g_param_spec_object ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object"/> - <keyword type="function" name="g_value_set_object ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object"/> - <keyword type="function" name="g_value_take_object ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object" since="2.4"/> - <keyword type="function" name="g_value_set_object_take_ownership ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object-take-ownership" deprecated="2.4: Use g_value_take_object() instead."/> - <keyword type="function" name="g_value_get_object ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-object"/> - <keyword type="function" name="g_value_dup_object ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-object"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_UNICHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UNICHAR:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_UNICHAR()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UNICHAR:CAPS"/> - <keyword type="macro" name="G_TYPE_PARAM_UNICHAR" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS"/> - <keyword type="struct" name="struct GParamSpecUnichar" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar"/> - <keyword type="function" name="g_param_spec_unichar ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-unichar"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_VALUE_ARRAY()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS" deprecated="2.32: Use #GArray instead of #GValueArray"/> - <keyword type="macro" name="G_PARAM_SPEC_VALUE_ARRAY()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VALUE-ARRAY:CAPS" deprecated="2.32: Use #GArray instead of #GValueArray"/> - <keyword type="macro" name="G_TYPE_PARAM_VALUE_ARRAY" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS" deprecated="2.32: Use #GArray instead of #GValueArray"/> - <keyword type="struct" name="struct GParamSpecValueArray" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray"/> - <keyword type="function" name="g_param_spec_value_array ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-value-array"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_OVERRIDE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OVERRIDE:CAPS" since="2.4"/> - <keyword type="macro" name="G_PARAM_SPEC_OVERRIDE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OVERRIDE:CAPS" since="2.4"/> - <keyword type="macro" name="G_TYPE_PARAM_OVERRIDE" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS" since="2.4"/> - <keyword type="struct" name="struct GParamSpecOverride" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride" since="2.4"/> - <keyword type="function" name="g_param_spec_override ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-override" since="2.4"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_GTYPE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-GTYPE:CAPS" since="2.10"/> - <keyword type="macro" name="G_PARAM_SPEC_GTYPE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-GTYPE:CAPS" since="2.10"/> - <keyword type="macro" name="G_VALUE_HOLDS_GTYPE()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-GTYPE:CAPS" since="2.12"/> - <keyword type="macro" name="G_TYPE_PARAM_GTYPE" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS" since="2.10"/> - <keyword type="struct" name="struct GParamSpecGType" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType" since="2.10"/> - <keyword type="function" name="g_param_spec_gtype ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-gtype" since="2.10"/> - <keyword type="function" name="g_value_get_gtype ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-gtype" since="2.12"/> - <keyword type="function" name="g_value_set_gtype ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-gtype" since="2.12"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_VARIANT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VARIANT:CAPS" since="2.26"/> - <keyword type="macro" name="G_PARAM_SPEC_VARIANT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VARIANT:CAPS" since="2.26"/> - <keyword type="macro" name="G_VALUE_HOLDS_VARIANT()" link="gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-VARIANT:CAPS" since="2.26"/> - <keyword type="macro" name="G_TYPE_PARAM_VARIANT" link="gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS" since="2.26"/> - <keyword type="struct" name="struct GParamSpecVariant" link="gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant" since="2.26"/> - <keyword type="function" name="g_param_spec_variant ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-variant" since="2.26"/> - <keyword type="function" name="g_value_get_variant ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-get-variant" since="2.26"/> - <keyword type="function" name="g_value_dup_variant ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-variant" since="2.26"/> - <keyword type="function" name="g_value_set_variant ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant" since="2.26"/> - <keyword type="function" name="g_value_take_variant ()" link="gobject-Standard-Parameter-and-Value-Types.html#g-value-take-variant" since="2.26"/> - <keyword type="macro" name="G_TYPE_IS_PARAM()" link="gobject-GParamSpec.html#G-TYPE-IS-PARAM:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC()" link="gobject-GParamSpec.html#G-PARAM-SPEC:CAPS"/> - <keyword type="macro" name="G_IS_PARAM_SPEC()" link="gobject-GParamSpec.html#G-IS-PARAM-SPEC:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_CLASS()" link="gobject-GParamSpec.html#G-PARAM-SPEC-CLASS:CAPS"/> - <keyword type="macro" name="G_IS_PARAM_SPEC_CLASS()" link="gobject-GParamSpec.html#G-IS-PARAM-SPEC-CLASS:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_GET_CLASS()" link="gobject-GParamSpec.html#G-PARAM-SPEC-GET-CLASS:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_TYPE()" link="gobject-GParamSpec.html#G-PARAM-SPEC-TYPE:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_TYPE_NAME()" link="gobject-GParamSpec.html#G-PARAM-SPEC-TYPE-NAME:CAPS"/> - <keyword type="macro" name="G_PARAM_SPEC_VALUE_TYPE()" link="gobject-GParamSpec.html#G-PARAM-SPEC-VALUE-TYPE:CAPS"/> - <keyword type="struct" name="struct GParamSpec" link="gobject-GParamSpec.html#GParamSpec"/> - <keyword type="struct" name="struct GParamSpecClass" link="gobject-GParamSpec.html#GParamSpecClass"/> - <keyword type="enum" name="enum GParamFlags" link="gobject-GParamSpec.html#GParamFlags"/> - <keyword type="macro" name="G_PARAM_READWRITE" link="gobject-GParamSpec.html#G-PARAM-READWRITE:CAPS"/> - <keyword type="macro" name="G_PARAM_STATIC_STRINGS" link="gobject-GParamSpec.html#G-PARAM-STATIC-STRINGS:CAPS"/> - <keyword type="macro" name="G_PARAM_MASK" link="gobject-GParamSpec.html#G-PARAM-MASK:CAPS"/> - <keyword type="macro" name="G_PARAM_USER_SHIFT" link="gobject-GParamSpec.html#G-PARAM-USER-SHIFT:CAPS"/> - <keyword type="function" name="g_param_spec_ref ()" link="gobject-GParamSpec.html#g-param-spec-ref"/> - <keyword type="function" name="g_param_spec_unref ()" link="gobject-GParamSpec.html#g-param-spec-unref"/> - <keyword type="function" name="g_param_spec_sink ()" link="gobject-GParamSpec.html#g-param-spec-sink"/> - <keyword type="function" name="g_param_spec_ref_sink ()" link="gobject-GParamSpec.html#g-param-spec-ref-sink" since="2.10"/> - <keyword type="function" name="g_param_value_set_default ()" link="gobject-GParamSpec.html#g-param-value-set-default"/> - <keyword type="function" name="g_param_value_defaults ()" link="gobject-GParamSpec.html#g-param-value-defaults"/> - <keyword type="function" name="g_param_value_validate ()" link="gobject-GParamSpec.html#g-param-value-validate"/> - <keyword type="function" name="g_param_value_convert ()" link="gobject-GParamSpec.html#g-param-value-convert"/> - <keyword type="function" name="g_param_values_cmp ()" link="gobject-GParamSpec.html#g-param-values-cmp"/> - <keyword type="function" name="g_param_spec_get_name ()" link="gobject-GParamSpec.html#g-param-spec-get-name"/> - <keyword type="function" name="g_param_spec_get_nick ()" link="gobject-GParamSpec.html#g-param-spec-get-nick"/> - <keyword type="function" name="g_param_spec_get_blurb ()" link="gobject-GParamSpec.html#g-param-spec-get-blurb"/> - <keyword type="function" name="g_param_spec_get_qdata ()" link="gobject-GParamSpec.html#g-param-spec-get-qdata"/> - <keyword type="function" name="g_param_spec_set_qdata ()" link="gobject-GParamSpec.html#g-param-spec-set-qdata"/> - <keyword type="function" name="g_param_spec_set_qdata_full ()" link="gobject-GParamSpec.html#g-param-spec-set-qdata-full"/> - <keyword type="function" name="g_param_spec_steal_qdata ()" link="gobject-GParamSpec.html#g-param-spec-steal-qdata"/> - <keyword type="function" name="g_param_spec_get_redirect_target ()" link="gobject-GParamSpec.html#g-param-spec-get-redirect-target" since="2.4"/> - <keyword type="function" name="g_param_spec_internal ()" link="gobject-GParamSpec.html#g-param-spec-internal"/> - <keyword type="struct" name="struct GParamSpecTypeInfo" link="gobject-GParamSpec.html#GParamSpecTypeInfo"/> - <keyword type="function" name="g_param_type_register_static ()" link="gobject-GParamSpec.html#g-param-type-register-static"/> - <keyword type="struct" name="GParamSpecPool" link="gobject-GParamSpec.html#GParamSpecPool"/> - <keyword type="function" name="g_param_spec_pool_new ()" link="gobject-GParamSpec.html#g-param-spec-pool-new"/> - <keyword type="function" name="g_param_spec_pool_insert ()" link="gobject-GParamSpec.html#g-param-spec-pool-insert"/> - <keyword type="function" name="g_param_spec_pool_remove ()" link="gobject-GParamSpec.html#g-param-spec-pool-remove"/> - <keyword type="function" name="g_param_spec_pool_lookup ()" link="gobject-GParamSpec.html#g-param-spec-pool-lookup"/> - <keyword type="function" name="g_param_spec_pool_list ()" link="gobject-GParamSpec.html#g-param-spec-pool-list"/> - <keyword type="function" name="g_param_spec_pool_list_owned ()" link="gobject-GParamSpec.html#g-param-spec-pool-list-owned"/> - <keyword type="union" name="union GTypeCValue" link="gobject-Varargs-Value-Collection.html#GTypeCValue"/> - <keyword type="macro" name="G_VALUE_COLLECT_INIT()" link="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-INIT:CAPS" since="2.24"/> - <keyword type="macro" name="G_VALUE_COLLECT()" link="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT:CAPS"/> - <keyword type="macro" name="G_VALUE_COLLECT_SKIP()" link="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-SKIP:CAPS"/> - <keyword type="macro" name="G_VALUE_LCOPY()" link="gobject-Varargs-Value-Collection.html#G-VALUE-LCOPY:CAPS"/> - <keyword type="macro" name="G_VALUE_COLLECT_FORMAT_MAX_LENGTH" link="gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-FORMAT-MAX-LENGTH:CAPS"/> - <keyword type="struct" name="struct GSignalInvocationHint" link="gobject-Signals.html#GSignalInvocationHint"/> - <keyword type="function" name="GSignalAccumulator ()" link="gobject-Signals.html#GSignalAccumulator"/> - <keyword type="typedef" name="GSignalCMarshaller" link="gobject-Signals.html#GSignalCMarshaller"/> - <keyword type="typedef" name="GSignalCVaMarshaller" link="gobject-Signals.html#GSignalCVaMarshaller"/> - <keyword type="function" name="GSignalEmissionHook ()" link="gobject-Signals.html#GSignalEmissionHook"/> - <keyword type="enum" name="enum GSignalFlags" link="gobject-Signals.html#GSignalFlags"/> - <keyword type="enum" name="enum GSignalMatchType" link="gobject-Signals.html#GSignalMatchType"/> - <keyword type="struct" name="struct GSignalQuery" link="gobject-Signals.html#GSignalQuery"/> - <keyword type="macro" name="G_SIGNAL_TYPE_STATIC_SCOPE" link="gobject-Signals.html#G-SIGNAL-TYPE-STATIC-SCOPE:CAPS"/> - <keyword type="macro" name="G_SIGNAL_MATCH_MASK" link="gobject-Signals.html#G-SIGNAL-MATCH-MASK:CAPS"/> - <keyword type="macro" name="G_SIGNAL_FLAGS_MASK" link="gobject-Signals.html#G-SIGNAL-FLAGS-MASK:CAPS"/> - <keyword type="function" name="g_signal_new ()" link="gobject-Signals.html#g-signal-new"/> - <keyword type="function" name="g_signal_newv ()" link="gobject-Signals.html#g-signal-newv"/> - <keyword type="function" name="g_signal_new_valist ()" link="gobject-Signals.html#g-signal-new-valist"/> - <keyword type="function" name="g_signal_set_va_marshaller ()" link="gobject-Signals.html#g-signal-set-va-marshaller"/> - <keyword type="function" name="g_signal_query ()" link="gobject-Signals.html#g-signal-query"/> - <keyword type="function" name="g_signal_lookup ()" link="gobject-Signals.html#g-signal-lookup"/> - <keyword type="function" name="g_signal_name ()" link="gobject-Signals.html#g-signal-name"/> - <keyword type="function" name="g_signal_list_ids ()" link="gobject-Signals.html#g-signal-list-ids"/> - <keyword type="function" name="g_signal_emit ()" link="gobject-Signals.html#g-signal-emit"/> - <keyword type="function" name="g_signal_emit_by_name ()" link="gobject-Signals.html#g-signal-emit-by-name"/> - <keyword type="function" name="g_signal_emitv ()" link="gobject-Signals.html#g-signal-emitv"/> - <keyword type="function" name="g_signal_emit_valist ()" link="gobject-Signals.html#g-signal-emit-valist"/> - <keyword type="macro" name="g_signal_connect()" link="gobject-Signals.html#g-signal-connect"/> - <keyword type="macro" name="g_signal_connect_after()" link="gobject-Signals.html#g-signal-connect-after"/> - <keyword type="macro" name="g_signal_connect_swapped()" link="gobject-Signals.html#g-signal-connect-swapped"/> - <keyword type="function" name="g_signal_connect_object ()" link="gobject-Signals.html#g-signal-connect-object"/> - <keyword type="enum" name="enum GConnectFlags" link="gobject-Signals.html#GConnectFlags"/> - <keyword type="function" name="g_signal_connect_data ()" link="gobject-Signals.html#g-signal-connect-data"/> - <keyword type="function" name="g_signal_connect_closure ()" link="gobject-Signals.html#g-signal-connect-closure"/> - <keyword type="function" name="g_signal_connect_closure_by_id ()" link="gobject-Signals.html#g-signal-connect-closure-by-id"/> - <keyword type="function" name="g_signal_handler_block ()" link="gobject-Signals.html#g-signal-handler-block"/> - <keyword type="function" name="g_signal_handler_unblock ()" link="gobject-Signals.html#g-signal-handler-unblock"/> - <keyword type="function" name="g_signal_handler_disconnect ()" link="gobject-Signals.html#g-signal-handler-disconnect"/> - <keyword type="function" name="g_signal_handler_find ()" link="gobject-Signals.html#g-signal-handler-find"/> - <keyword type="function" name="g_signal_handlers_block_matched ()" link="gobject-Signals.html#g-signal-handlers-block-matched"/> - <keyword type="function" name="g_signal_handlers_unblock_matched ()" link="gobject-Signals.html#g-signal-handlers-unblock-matched"/> - <keyword type="function" name="g_signal_handlers_disconnect_matched ()" link="gobject-Signals.html#g-signal-handlers-disconnect-matched"/> - <keyword type="function" name="g_signal_handler_is_connected ()" link="gobject-Signals.html#g-signal-handler-is-connected"/> - <keyword type="macro" name="g_signal_handlers_block_by_func()" link="gobject-Signals.html#g-signal-handlers-block-by-func"/> - <keyword type="macro" name="g_signal_handlers_unblock_by_func()" link="gobject-Signals.html#g-signal-handlers-unblock-by-func"/> - <keyword type="macro" name="g_signal_handlers_disconnect_by_func()" link="gobject-Signals.html#g-signal-handlers-disconnect-by-func"/> - <keyword type="macro" name="g_signal_handlers_disconnect_by_data()" link="gobject-Signals.html#g-signal-handlers-disconnect-by-data" since="2.32"/> - <keyword type="function" name="g_signal_has_handler_pending ()" link="gobject-Signals.html#g-signal-has-handler-pending"/> - <keyword type="function" name="g_signal_stop_emission ()" link="gobject-Signals.html#g-signal-stop-emission"/> - <keyword type="function" name="g_signal_stop_emission_by_name ()" link="gobject-Signals.html#g-signal-stop-emission-by-name"/> - <keyword type="function" name="g_signal_override_class_closure ()" link="gobject-Signals.html#g-signal-override-class-closure"/> - <keyword type="function" name="g_signal_chain_from_overridden ()" link="gobject-Signals.html#g-signal-chain-from-overridden"/> - <keyword type="function" name="g_signal_new_class_handler ()" link="gobject-Signals.html#g-signal-new-class-handler" since="2.18"/> - <keyword type="function" name="g_signal_override_class_handler ()" link="gobject-Signals.html#g-signal-override-class-handler" since="2.18"/> - <keyword type="function" name="g_signal_chain_from_overridden_handler ()" link="gobject-Signals.html#g-signal-chain-from-overridden-handler" since="2.18"/> - <keyword type="function" name="g_signal_add_emission_hook ()" link="gobject-Signals.html#g-signal-add-emission-hook"/> - <keyword type="function" name="g_signal_remove_emission_hook ()" link="gobject-Signals.html#g-signal-remove-emission-hook"/> - <keyword type="function" name="g_signal_parse_name ()" link="gobject-Signals.html#g-signal-parse-name"/> - <keyword type="function" name="g_signal_get_invocation_hint ()" link="gobject-Signals.html#g-signal-get-invocation-hint"/> - <keyword type="function" name="g_signal_type_cclosure_new ()" link="gobject-Signals.html#g-signal-type-cclosure-new"/> - <keyword type="function" name="g_signal_accumulator_first_wins ()" link="gobject-Signals.html#g-signal-accumulator-first-wins" since="2.28"/> - <keyword type="function" name="g_signal_accumulator_true_handled ()" link="gobject-Signals.html#g-signal-accumulator-true-handled" since="2.4"/> - <keyword type="macro" name="G_CLOSURE_NEEDS_MARSHAL()" link="gobject-Closures.html#G-CLOSURE-NEEDS-MARSHAL:CAPS"/> - <keyword type="macro" name="G_CLOSURE_N_NOTIFIERS()" link="gobject-Closures.html#G-CLOSURE-N-NOTIFIERS:CAPS"/> - <keyword type="macro" name="G_CCLOSURE_SWAP_DATA()" link="gobject-Closures.html#G-CCLOSURE-SWAP-DATA:CAPS"/> - <keyword type="macro" name="G_CALLBACK()" link="gobject-Closures.html#G-CALLBACK:CAPS"/> - <keyword type="function" name="GCallback ()" link="gobject-Closures.html#GCallback"/> - <keyword type="struct" name="struct GClosure" link="gobject-Closures.html#GClosure"/> - <keyword type="macro" name="G_TYPE_CLOSURE" link="gobject-Closures.html#G-TYPE-CLOSURE:CAPS"/> - <keyword type="struct" name="struct GCClosure" link="gobject-Closures.html#GCClosure"/> - <keyword type="function" name="GClosureMarshal ()" link="gobject-Closures.html#GClosureMarshal"/> - <keyword type="function" name="GVaClosureMarshal ()" link="gobject-Closures.html#GVaClosureMarshal"/> - <keyword type="function" name="GClosureNotify ()" link="gobject-Closures.html#GClosureNotify"/> - <keyword type="function" name="g_cclosure_new ()" link="gobject-Closures.html#g-cclosure-new"/> - <keyword type="function" name="g_cclosure_new_swap ()" link="gobject-Closures.html#g-cclosure-new-swap"/> - <keyword type="function" name="g_cclosure_new_object ()" link="gobject-Closures.html#g-cclosure-new-object"/> - <keyword type="function" name="g_cclosure_new_object_swap ()" link="gobject-Closures.html#g-cclosure-new-object-swap"/> - <keyword type="function" name="g_cclosure_marshal_generic ()" link="gobject-Closures.html#g-cclosure-marshal-generic" since="2.30"/> - <keyword type="function" name="g_closure_new_object ()" link="gobject-Closures.html#g-closure-new-object"/> - <keyword type="function" name="g_closure_ref ()" link="gobject-Closures.html#g-closure-ref"/> - <keyword type="function" name="g_closure_sink ()" link="gobject-Closures.html#g-closure-sink"/> - <keyword type="function" name="g_closure_unref ()" link="gobject-Closures.html#g-closure-unref"/> - <keyword type="function" name="g_closure_invoke ()" link="gobject-Closures.html#g-closure-invoke"/> - <keyword type="function" name="g_closure_invalidate ()" link="gobject-Closures.html#g-closure-invalidate"/> - <keyword type="function" name="g_closure_add_finalize_notifier ()" link="gobject-Closures.html#g-closure-add-finalize-notifier"/> - <keyword type="function" name="g_closure_add_invalidate_notifier ()" link="gobject-Closures.html#g-closure-add-invalidate-notifier"/> - <keyword type="function" name="g_closure_remove_finalize_notifier ()" link="gobject-Closures.html#g-closure-remove-finalize-notifier"/> - <keyword type="function" name="g_closure_remove_invalidate_notifier ()" link="gobject-Closures.html#g-closure-remove-invalidate-notifier"/> - <keyword type="function" name="g_closure_new_simple ()" link="gobject-Closures.html#g-closure-new-simple"/> - <keyword type="function" name="g_closure_set_marshal ()" link="gobject-Closures.html#g-closure-set-marshal"/> - <keyword type="function" name="g_closure_add_marshal_guards ()" link="gobject-Closures.html#g-closure-add-marshal-guards"/> - <keyword type="function" name="g_closure_set_meta_marshal ()" link="gobject-Closures.html#g-closure-set-meta-marshal"/> - <keyword type="function" name="g_source_set_closure ()" link="gobject-Closures.html#g-source-set-closure"/> - <keyword type="function" name="g_source_set_dummy_callback ()" link="gobject-Closures.html#g-source-set-dummy-callback"/> - <keyword type="function" name="g_cclosure_marshal_VOID__VOID ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--VOID"/> - <keyword type="function" name="g_cclosure_marshal_VOID__BOOLEAN ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEAN"/> - <keyword type="function" name="g_cclosure_marshal_VOID__CHAR ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--CHAR"/> - <keyword type="function" name="g_cclosure_marshal_VOID__UCHAR ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--UCHAR"/> - <keyword type="function" name="g_cclosure_marshal_VOID__INT ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--INT"/> - <keyword type="function" name="g_cclosure_marshal_VOID__UINT ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--UINT"/> - <keyword type="function" name="g_cclosure_marshal_VOID__LONG ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--LONG"/> - <keyword type="function" name="g_cclosure_marshal_VOID__ULONG ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--ULONG"/> - <keyword type="function" name="g_cclosure_marshal_VOID__ENUM ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--ENUM"/> - <keyword type="function" name="g_cclosure_marshal_VOID__FLAGS ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGS"/> - <keyword type="function" name="g_cclosure_marshal_VOID__FLOAT ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--FLOAT"/> - <keyword type="function" name="g_cclosure_marshal_VOID__DOUBLE ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLE"/> - <keyword type="function" name="g_cclosure_marshal_VOID__STRING ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--STRING"/> - <keyword type="function" name="g_cclosure_marshal_VOID__PARAM ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--PARAM"/> - <keyword type="function" name="g_cclosure_marshal_VOID__BOXED ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--BOXED"/> - <keyword type="function" name="g_cclosure_marshal_VOID__POINTER ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--POINTER"/> - <keyword type="function" name="g_cclosure_marshal_VOID__OBJECT ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECT"/> - <keyword type="function" name="g_cclosure_marshal_VOID__VARIANT ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANT" since="2.26"/> - <keyword type="function" name="g_cclosure_marshal_STRING__OBJECT_POINTER ()" link="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTER"/> - <keyword type="function" name="g_cclosure_marshal_VOID__UINT_POINTER ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTER"/> - <keyword type="function" name="g_cclosure_marshal_BOOLEAN__FLAGS ()" link="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS"/> - <keyword type="macro" name="g_cclosure_marshal_BOOL__FLAGS" link="gobject-Closures.html#g-cclosure-marshal-BOOL--FLAGS"/> - <keyword type="function" name="g_cclosure_marshal_BOOLEAN__BOXED_BOXED ()" link="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXED"/> - <keyword type="macro" name="g_cclosure_marshal_BOOL__BOXED_BOXED" link="gobject-Closures.html#g-cclosure-marshal-BOOL--BOXED-BOXED"/> - <keyword type="function" name="g_cclosure_marshal_generic_va ()" link="gobject-Closures.html#g-cclosure-marshal-generic-va"/> - <keyword type="function" name="g_cclosure_marshal_VOID__VOIDv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--VOIDv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__BOOLEANv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEANv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__CHARv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--CHARv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__UCHARv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--UCHARv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__INTv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--INTv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__UINTv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--UINTv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__LONGv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--LONGv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__ULONGv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--ULONGv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__ENUMv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--ENUMv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__FLAGSv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--FLAGSv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__FLOATv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--FLOATv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__DOUBLEv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLEv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__STRINGv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--STRINGv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__PARAMv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--PARAMv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__BOXEDv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--BOXEDv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__POINTERv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--POINTERv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__OBJECTv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--OBJECTv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__VARIANTv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--VARIANTv"/> - <keyword type="function" name="g_cclosure_marshal_STRING__OBJECT_POINTERv ()" link="gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTERv"/> - <keyword type="function" name="g_cclosure_marshal_VOID__UINT_POINTERv ()" link="gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTERv"/> - <keyword type="function" name="g_cclosure_marshal_BOOLEAN__FLAGSv ()" link="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGSv"/> - <keyword type="function" name="g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv ()" link="gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXEDv"/> - <keyword type="struct" name="struct GValueArray" link="gobject-Value-arrays.html#GValueArray"/> - <keyword type="function" name="g_value_array_get_nth ()" link="gobject-Value-arrays.html#g-value-array-get-nth" deprecated="2.32: Use g_array_index() instead."/> - <keyword type="function" name="g_value_array_new ()" link="gobject-Value-arrays.html#g-value-array-new" deprecated="2.32: Use #GArray and g_array_sized_new() instead."/> - <keyword type="function" name="g_value_array_copy ()" link="gobject-Value-arrays.html#g-value-array-copy" deprecated="2.32: Use #GArray and g_array_ref() instead."/> - <keyword type="function" name="g_value_array_free ()" link="gobject-Value-arrays.html#g-value-array-free" deprecated="2.32: Use #GArray and g_array_unref() instead."/> - <keyword type="function" name="g_value_array_append ()" link="gobject-Value-arrays.html#g-value-array-append" deprecated="2.32: Use #GArray and g_array_append_val() instead."/> - <keyword type="function" name="g_value_array_prepend ()" link="gobject-Value-arrays.html#g-value-array-prepend" deprecated="2.32: Use #GArray and g_array_prepend_val() instead."/> - <keyword type="function" name="g_value_array_insert ()" link="gobject-Value-arrays.html#g-value-array-insert" deprecated="2.32: Use #GArray and g_array_insert_val() instead."/> - <keyword type="function" name="g_value_array_remove ()" link="gobject-Value-arrays.html#g-value-array-remove" deprecated="2.32: Use #GArray and g_array_remove_index() instead."/> - <keyword type="function" name="g_value_array_sort ()" link="gobject-Value-arrays.html#g-value-array-sort" deprecated="2.32: Use #GArray and g_array_sort()."/> - <keyword type="function" name="g_value_array_sort_with_data ()" link="gobject-Value-arrays.html#g-value-array-sort-with-data" deprecated="2.32: Use #GArray and g_array_sort_with_data()."/> - <keyword type="struct" name="GBinding" link="GBinding.html#GBinding-struct"/> - <keyword type="enum" name="enum GBindingFlags" link="GBinding.html#GBindingFlags" since="2.26"/> - <keyword type="function" name="g_binding_get_source ()" link="GBinding.html#g-binding-get-source" since="2.26"/> - <keyword type="function" name="g_binding_get_source_property ()" link="GBinding.html#g-binding-get-source-property" since="2.26"/> - <keyword type="function" name="g_binding_get_target ()" link="GBinding.html#g-binding-get-target" since="2.26"/> - <keyword type="function" name="g_binding_get_target_property ()" link="GBinding.html#g-binding-get-target-property" since="2.26"/> - <keyword type="function" name="g_binding_get_flags ()" link="GBinding.html#g-binding-get-flags" since="2.26"/> - <keyword type="function" name="g_object_bind_property ()" link="GBinding.html#g-object-bind-property" since="2.26"/> - <keyword type="function" name="GBindingTransformFunc ()" link="GBinding.html#GBindingTransformFunc" since="2.26"/> - <keyword type="function" name="g_object_bind_property_full ()" link="GBinding.html#g-object-bind-property-full" since="2.26"/> - <keyword type="function" name="g_object_bind_property_with_closures ()" link="GBinding.html#g-object-bind-property-with-closures" since="2.26"/> - <keyword type="property" name="The "flags" property" link="GBinding.html#GBinding--flags"/> - <keyword type="property" name="The "source" property" link="GBinding.html#GBinding--source"/> - <keyword type="property" name="The "source-property" property" link="GBinding.html#GBinding--source-property"/> - <keyword type="property" name="The "target" property" link="GBinding.html#GBinding--target"/> - <keyword type="property" name="The "target-property" property" link="GBinding.html#GBinding--target-property"/> - <keyword type="" name="Production text substitutions" link="glib-mkenums.html#idm21776"/> - <keyword type="" name="Trigraph extensions" link="glib-mkenums.html#idp5871120"/> - <keyword type="" name="Marshaller list format" link="glib-genmarshal.html#idp11173984"/> - <keyword type="" name="Parameter types" link="glib-genmarshal.html#idp10129840"/> - <keyword type="constant" name="G_TYPE_DEBUG_NONE" link="gobject-Type-Information.html#G-TYPE-DEBUG-NONE:CAPS"/> - <keyword type="constant" name="G_TYPE_DEBUG_OBJECTS" link="gobject-Type-Information.html#G-TYPE-DEBUG-OBJECTS:CAPS"/> - <keyword type="constant" name="G_TYPE_DEBUG_SIGNALS" link="gobject-Type-Information.html#G-TYPE-DEBUG-SIGNALS:CAPS"/> - <keyword type="constant" name="G_TYPE_DEBUG_MASK" link="gobject-Type-Information.html#G-TYPE-DEBUG-MASK:CAPS"/> - <keyword type="constant" name="G_TYPE_FLAG_ABSTRACT" link="gobject-Type-Information.html#G-TYPE-FLAG-ABSTRACT:CAPS"/> - <keyword type="constant" name="G_TYPE_FLAG_VALUE_ABSTRACT" link="gobject-Type-Information.html#G-TYPE-FLAG-VALUE-ABSTRACT:CAPS"/> - <keyword type="constant" name="G_TYPE_FLAG_CLASSED" link="gobject-Type-Information.html#G-TYPE-FLAG-CLASSED:CAPS"/> - <keyword type="constant" name="G_TYPE_FLAG_INSTANTIATABLE" link="gobject-Type-Information.html#G-TYPE-FLAG-INSTANTIATABLE:CAPS"/> - <keyword type="constant" name="G_TYPE_FLAG_DERIVABLE" link="gobject-Type-Information.html#G-TYPE-FLAG-DERIVABLE:CAPS"/> - <keyword type="constant" name="G_TYPE_FLAG_DEEP_DERIVABLE" link="gobject-Type-Information.html#G-TYPE-FLAG-DEEP-DERIVABLE:CAPS"/> - <keyword type="constant" name="G_PARAM_READABLE" link="gobject-GParamSpec.html#G-PARAM-READABLE:CAPS"/> - <keyword type="constant" name="G_PARAM_WRITABLE" link="gobject-GParamSpec.html#G-PARAM-WRITABLE:CAPS"/> - <keyword type="constant" name="G_PARAM_CONSTRUCT" link="gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"/> - <keyword type="constant" name="G_PARAM_CONSTRUCT_ONLY" link="gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"/> - <keyword type="constant" name="G_PARAM_LAX_VALIDATION" link="gobject-GParamSpec.html#G-PARAM-LAX-VALIDATION:CAPS"/> - <keyword type="constant" name="G_PARAM_STATIC_NAME" link="gobject-GParamSpec.html#G-PARAM-STATIC-NAME:CAPS"/> - <keyword type="constant" name="G_PARAM_PRIVATE" link="gobject-GParamSpec.html#G-PARAM-PRIVATE:CAPS"/> - <keyword type="constant" name="G_PARAM_STATIC_NICK" link="gobject-GParamSpec.html#G-PARAM-STATIC-NICK:CAPS"/> - <keyword type="constant" name="G_PARAM_STATIC_BLURB" link="gobject-GParamSpec.html#G-PARAM-STATIC-BLURB:CAPS"/> - <keyword type="constant" name="G_PARAM_DEPRECATED" link="gobject-GParamSpec.html#G-PARAM-DEPRECATED:CAPS"/> - <keyword type="constant" name="G_SIGNAL_RUN_FIRST" link="gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"/> - <keyword type="constant" name="G_SIGNAL_RUN_LAST" link="gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"/> - <keyword type="constant" name="G_SIGNAL_RUN_CLEANUP" link="gobject-Signals.html#G-SIGNAL-RUN-CLEANUP:CAPS"/> - <keyword type="constant" name="G_SIGNAL_NO_RECURSE" link="gobject-Signals.html#G-SIGNAL-NO-RECURSE:CAPS"/> - <keyword type="constant" name="G_SIGNAL_DETAILED" link="gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"/> - <keyword type="constant" name="G_SIGNAL_ACTION" link="gobject-Signals.html#G-SIGNAL-ACTION:CAPS"/> - <keyword type="constant" name="G_SIGNAL_NO_HOOKS" link="gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"/> - <keyword type="constant" name="G_SIGNAL_MUST_COLLECT" link="gobject-Signals.html#G-SIGNAL-MUST-COLLECT:CAPS"/> - <keyword type="constant" name="G_SIGNAL_DEPRECATED" link="gobject-Signals.html#G-SIGNAL-DEPRECATED:CAPS"/> - <keyword type="constant" name="G_SIGNAL_MATCH_ID" link="gobject-Signals.html#G-SIGNAL-MATCH-ID:CAPS"/> - <keyword type="constant" name="G_SIGNAL_MATCH_DETAIL" link="gobject-Signals.html#G-SIGNAL-MATCH-DETAIL:CAPS"/> - <keyword type="constant" name="G_SIGNAL_MATCH_CLOSURE" link="gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"/> - <keyword type="constant" name="G_SIGNAL_MATCH_FUNC" link="gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"/> - <keyword type="constant" name="G_SIGNAL_MATCH_DATA" link="gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"/> - <keyword type="constant" name="G_SIGNAL_MATCH_UNBLOCKED" link="gobject-Signals.html#G-SIGNAL-MATCH-UNBLOCKED:CAPS"/> - <keyword type="constant" name="G_CONNECT_AFTER" link="gobject-Signals.html#G-CONNECT-AFTER:CAPS"/> - <keyword type="constant" name="G_CONNECT_SWAPPED" link="gobject-Signals.html#G-CONNECT-SWAPPED:CAPS"/> - <keyword type="constant" name="G_BINDING_DEFAULT" link="GBinding.html#G-BINDING-DEFAULT:CAPS"/> - <keyword type="constant" name="G_BINDING_BIDIRECTIONAL" link="GBinding.html#G-BINDING-BIDIRECTIONAL:CAPS"/> - <keyword type="constant" name="G_BINDING_SYNC_CREATE" link="GBinding.html#G-BINDING-SYNC-CREATE:CAPS"/> - <keyword type="constant" name="G_BINDING_INVERT_BOOLEAN" link="GBinding.html#G-BINDING-INVERT-BOOLEAN:CAPS"/> - </functions> -</book> diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-conventions.html b/gtk+-mingw/share/gtk-doc/html/gobject/gtype-conventions.html deleted file mode 100644 index 4dab3c2..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-conventions.html +++ /dev/null @@ -1,144 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Conventions</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-gtype.html" title="The GLib Dynamic Type System"> -<link rel="prev" href="chapter-gtype.html" title="The GLib Dynamic Type System"> -<link rel="next" href="gtype-non-instantiable.html" title="Non-instantiable non-classed fundamental types"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="chapter-gtype.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-gtype.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gtype-non-instantiable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gtype-conventions"></a>Conventions</h2></div></div></div> -<p> - There are a number of conventions users are expected to follow when creating new types - which are to be exported in a header file: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - Use the <code class="function">object_method</code> pattern for function names: to invoke - the method named foo on an instance of object type bar, call - <code class="function">bar_foo</code>. - </p></li> -<li class="listitem"><p>Use prefixing to avoid namespace conflicts with other projects. - If your library (or application) is named <span class="emphasis"><em>Maman</em></span>, - <sup>[<a name="idp9985664" href="#ftn.idp9985664" class="footnote">3</a>]</sup> - - prefix all your function names with <span class="emphasis"><em>maman_</em></span>. - For example: <code class="function">maman_object_method</code>. - </p></li> -<li class="listitem"><p>Create a macro named <code class="function">PREFIX_TYPE_OBJECT</code> which always - returns the GType for the associated object type. For an object of type - <span class="emphasis"><em>Bar</em></span> in a library prefixed by <span class="emphasis"><em>maman</em></span>, - use: <code class="function">MAMAN_TYPE_BAR</code>. - It is common although not a convention to implement this macro using either a global - static variable or a function named <code class="function">prefix_object_get_type</code>. - We will follow the function pattern wherever possible in this document. - </p></li> -<li class="listitem"><p>Create a macro named <code class="function">PREFIX_OBJECT (obj)</code> which - returns a pointer of type <span class="type">PrefixObject</span>. This macro is used to enforce - static type safety by doing explicit casts wherever needed. It also enforces - dynamic type safety by doing runtime checks. It is possible to disable the dynamic - type checks in production builds (see <a href="./../glib/glib/glib-building.html">building glib</a>). - For example, we would create - <code class="function">MAMAN_BAR (obj)</code> to keep the previous example. - </p></li> -<li class="listitem"><p>If the type is classed, create a macro named - <code class="function">PREFIX_OBJECT_CLASS (klass)</code>. This macro - is strictly equivalent to the previous casting macro: it does static casting with - dynamic type checking of class structures. It is expected to return a pointer - to a class structure of type <span class="type">PrefixObjectClass</span>. Again, an example is: - <code class="function">MAMAN_BAR_CLASS</code>. - </p></li> -<li class="listitem"><p>Create a macro named <code class="function">PREFIX_IS_BAR (obj)</code>: this macro is expected - to return a <span class="type">gboolean</span> which indicates whether or not the input - object instance pointer of type BAR. - </p></li> -<li class="listitem"><p>If the type is classed, create a macro named - <code class="function">PREFIX_IS_OBJECT_CLASS (klass)</code> which, as above, returns a boolean - if the input class pointer is a pointer to a class of type OBJECT. - </p></li> -<li class="listitem"><p>If the type is classed, create a macro named - <code class="function">PREFIX_OBJECT_GET_CLASS (obj)</code> - which returns the class pointer associated to an instance of a given type. This macro - is used for static and dynamic type safety purposes (just like the previous casting - macros). - </p></li> -</ul></div> -<p> - The implementation of these macros is pretty straightforward: a number of simple-to-use - macros are provided in <code class="filename">gtype.h</code>. For the example we used above, we would - write the following trivial code to declare the macros: -</p> -<pre class="programlisting"> -#define MAMAN_TYPE_BAR (maman_bar_get_type ()) -#define MAMAN_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BAR, MamanBar)) -#define MAMAN_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BAR, MamanBarClass)) -#define MAMAN_IS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BAR)) -#define MAMAN_IS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BAR)) -#define MAMAN_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BAR, MamanBarClass)) -</pre> -<p> - </p> -<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Note</h3> -<p>Stick to the naming <code class="varname">klass</code> as <code class="varname">class</code> is a registered c++ keyword.</p> -</div> -<p> - </p> -<p> - The following code shows how to implement the <code class="function">maman_bar_get_type</code> - function: -</p> -<pre class="programlisting"> -GType maman_bar_get_type (void) -{ - static GType type = 0; - if (type == 0) { - const GTypeInfo info = { - /* You fill this structure. */ - }; - type = g_type_register_static (G_TYPE_OBJECT, - "MamanBarType", - &info, 0); - } - return type; -} -</pre> -<p> - </p> -<p> - If you have no special requirements you can use the - <code class="function"><a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()">G_DEFINE_TYPE</a></code> - macro to define a class: -</p> -<pre class="programlisting"> -G_DEFINE_TYPE (MamanBar, maman_bar, G_TYPE_OBJECT) -</pre> -<p> - </p> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp9985664" href="#idp9985664" class="para">3</a>] </sup> - <span class="emphasis"><em>Maman</em></span> is the French word for <span class="emphasis"><em>mum</em></span> - or <span class="emphasis"><em>mother</em></span> - nothing more and nothing less. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-instantiable-classed.html b/gtk+-mingw/share/gtk-doc/html/gobject/gtype-instantiable-classed.html deleted file mode 100644 index 7440e5a..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +++ /dev/null @@ -1,288 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Instantiable classed types: objects</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-gtype.html" title="The GLib Dynamic Type System"> -<link rel="prev" href="gtype-non-instantiable.html" title="Non-instantiable non-classed fundamental types"> -<link rel="next" href="gtype-non-instantiable-classed.html" title="Non-instantiable classed types: interfaces"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="gtype-non-instantiable.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-gtype.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gtype-non-instantiable-classed.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gtype-instantiable-classed"></a>Instantiable classed types: objects</h2></div></div></div> -<p> - Types which are registered with a class and are declared instantiable are - what most closely resembles an <span class="emphasis"><em>object</em></span>. - Although <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>s (detailed in <a class="xref" href="chapter-gobject.html" title="The GObject base class"><i>The GObject base class</i></a>) - are the most well known type of instantiable - classed types, other kinds of similar objects used as the base of an inheritance - hierarchy have been externally developed and they are all built on the fundamental - features described below. - </p> -<p> - For example, the code below shows how you could register - such a fundamental object type in the type system: -</p> -<pre class="programlisting"> -typedef struct { - GObject parent; - /* instance members */ - int field_a; -} MamanBar; - -typedef struct { - GObjectClass parent; - /* class members */ - void (*do_action_public_virtual) (MamanBar *self, guint8 i); - - void (*do_action_public_pure_virtual) (MamanBar *self, guint8 i); -} MamanBarClass; - -#define MAMAN_TYPE_BAR (maman_bar_get_type ()) - -GType -maman_bar_get_type (void) -{ - static GType type = 0; - if (type == 0) { - const GTypeInfo info = { - sizeof (MamanBarClass), - NULL, /* base_init */ - NULL, /* base_finalize */ - (GClassInitFunc) foo_class_init, - NULL, /* class_finalize */ - NULL, /* class_data */ - sizeof (MamanBar), - 0, /* n_preallocs */ - (GInstanceInitFunc) NULL /* instance_init */ - }; - type = g_type_register_static (G_TYPE_OBJECT, - "BarType", - &info, 0); - } - return type; -} -</pre> -<p> - Upon the first call to <code class="function">maman_bar_get_type</code>, the type named - <span class="emphasis"><em>BarType</em></span> will be registered in the type system as inheriting - from the type <span class="emphasis"><em>G_TYPE_OBJECT</em></span>. - </p> -<p> - Every object must define two structures: its class structure and its - instance structure. All class structures must contain as first member - a <a class="link" href="gobject-Type-Information.html#GTypeClass" title="struct GTypeClass"><span class="type">GTypeClass</span></a> structure. All instance structures must contain as first - member a <a class="link" href="gobject-Type-Information.html#GTypeInstance" title="struct GTypeInstance"><span class="type">GTypeInstance</span></a> structure. The declaration of these C types, - coming from <code class="filename">gtype.h</code> is shown below: -</p> -<pre class="programlisting"> -struct _GTypeClass -{ - GType g_type; -}; -struct _GTypeInstance -{ - GTypeClass *g_class; -}; -</pre> -<p> - These constraints allow the type system to make sure that every object instance - (identified by a pointer to the object's instance structure) contains in its - first bytes a pointer to the object's class structure. - </p> -<p> - This relationship is best explained by an example: let's take object B which - inherits from object A: -</p> -<pre class="programlisting"> -/* A definitions */ -typedef struct { - GTypeInstance parent; - int field_a; - int field_b; -} A; -typedef struct { - GTypeClass parent_class; - void (*method_a) (void); - void (*method_b) (void); -} AClass; - -/* B definitions. */ -typedef struct { - A parent; - int field_c; - int field_d; -} B; -typedef struct { - AClass parent_class; - void (*method_c) (void); - void (*method_d) (void); -} BClass; -</pre> -<p> - The C standard mandates that the first field of a C structure is stored starting - in the first byte of the buffer used to hold the structure's fields in memory. - This means that the first field of an instance of an object B is A's first field - which in turn is GTypeInstance's first field which in turn is g_class, a pointer - to B's class structure. - </p> -<p> - Thanks to these simple conditions, it is possible to detect the type of every - object instance by doing: -</p> -<pre class="programlisting"> -B *b; -b->parent.parent.g_class->g_type -</pre> -<p> - or, more quickly: -</p> -<pre class="programlisting"> -B *b; -((GTypeInstance*)b)->g_class->g_type -</pre> -<p> - </p> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="gtype-instantiable-classed-init-done"></a>Initialization and Destruction</h3></div></div></div> -<p> - instantiation of these types can be done with - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code>: -</p> -<pre class="programlisting"> -GTypeInstance* g_type_create_instance (GType type); -void g_type_free_instance (GTypeInstance *instance); -</pre> -<p> - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> will look up the type information - structure associated to the type requested. Then, the instance size and instantiation - policy (if the n_preallocs field is set to a non-zero value, the type system allocates - the object's instance structures in chunks rather than mallocing for every instance) - declared by the user are used to get a buffer to hold the object's instance - structure. - </p> -<p> - If this is the first instance of the object ever created, the type system must create a class structure. - It allocates a buffer to hold the object's class structure and initializes it. The first part of the - class structure (ie: the embedded parent class structure) is initialized by copying the contents from - the class structure of the parent class. The rest of class structure is initialized to zero. If there - is no parent, the entire class structure is initialized to zero. The type system then invokes the - base_class_initialization functions (<a class="link" href="gobject-Type-Information.html#GBaseInitFunc" title="GBaseInitFunc ()"><span class="type">GBaseInitFunc</span></a>) from topmost - fundamental object to bottom-most most derived object. The object's class_init - (<a class="link" href="gobject-Type-Information.html#GClassInitFunc" title="GClassInitFunc ()"><span class="type">GClassInitFunc</span></a>) function is invoked afterwards to complete - initialization of the class structure. - Finally, the object's interfaces are initialized (we will discuss interface initialization - in more detail later). - </p> -<p> - Once the type system has a pointer to an initialized class structure, it sets the object's - instance class pointer to the object's class structure and invokes the object's - instance_init (<a class="link" href="gobject-Type-Information.html#GInstanceInitFunc" title="GInstanceInitFunc ()"><span class="type">GInstanceInitFunc</span></a>)functions, from top-most fundamental - type to bottom-most most derived type. - </p> -<p> - Object instance destruction through <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-free-instance" title="g_type_free_instance ()">g_type_free_instance</a></code> is very simple: - the instance structure is returned to the instance pool if there is one and if this was the - last living instance of the object, the class is destroyed. - </p> -<p> - Class destruction (the concept of destruction is sometimes partly - referred to as finalization in GType) is the symmetric process of - the initialization: interfaces are destroyed first. - Then, the most derived - class_finalize (<a class="link" href="gobject-Type-Information.html#GClassFinalizeFunc" title="GClassFinalizeFunc ()"><span class="type">GClassFinalizeFunc</span></a>) function is invoked. The - base_class_finalize (<a class="link" href="gobject-Type-Information.html#GBaseFinalizeFunc" title="GBaseFinalizeFunc ()"><span class="type">GBaseFinalizeFunc</span></a>) functions are - Finally invoked from bottom-most most-derived type to top-most fundamental type and - the class structure is freed. - </p> -<p> - As many readers have now understood it, the base initialization/finalization process is - very similar to the C++ constructor/destructor paradigm. The practical details are different - though and it is important not to get confused by superficial similarities. - GTypes have no instance destruction mechanism. It is - the user's responsibility to implement correct destruction semantics on top - of the existing GType code. (this is what GObject does. See - <a class="xref" href="chapter-gobject.html" title="The GObject base class"><i>The GObject base class</i></a>) - Furthermore, C++ code equivalent to the base_init - and class_init callbacks of GType is usually not needed because C++ cannot really create object - types at runtime. - </p> -<p> - The instantiation/finalization process can be summarized as follows: - </p> -<div class="table"> -<a name="gtype-init-fini-table"></a><p class="title"><b>Table 1. GType Instantiation/Finalization</b></p> -<div class="table-contents"><table summary="GType Instantiation/Finalization" border="1"> -<colgroup> -<col align="left"> -<col align="left"> -<col align="left"> -</colgroup> -<thead><tr> -<th align="left">Invocation time</th> -<th align="left">Function Invoked</th> -<th align="left">Function's parameters</th> -</tr></thead> -<tbody> -<tr> -<td rowspan="3" align="left">First call to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> for target type</td> -<td align="left">type's base_init function</td> -<td align="left">On the inheritance tree of classes from fundamental type to target type. - base_init is invoked once for each class structure.</td> -</tr> -<tr> -<td align="left">target type's class_init function</td> -<td align="left">On target type's class structure</td> -</tr> -<tr> -<td align="left">interface initialization, see - <a class="xref" href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-init" title="Interface Initialization">the section called “Interface Initialization”</a> -</td> -<td align="left"> </td> -</tr> -<tr> -<td align="left">Each call to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> for target type</td> -<td align="left">target type's instance_init function</td> -<td align="left">On object's instance</td> -</tr> -<tr> -<td rowspan="3" align="left">Last call to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-free-instance" title="g_type_free_instance ()">g_type_free_instance</a></code> for target type</td> -<td align="left">interface destruction, see - <a class="xref" href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-dest" title="Interface Destruction">the section called “Interface Destruction”</a> -</td> -<td align="left"> </td> -</tr> -<tr> -<td align="left">target type's class_finalize function</td> -<td align="left">On target type's class structure</td> -</tr> -<tr> -<td align="left">type's base_finalize function</td> -<td align="left">On the inheritance tree of classes from fundamental type to target type. - base_finalize is invoked once for each class structure.</td> -</tr> -</tbody> -</table></div> -</div> -<p><br class="table-break"> - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html b/gtk+-mingw/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html deleted file mode 100644 index ed05573..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +++ /dev/null @@ -1,378 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Non-instantiable classed types: interfaces</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-gtype.html" title="The GLib Dynamic Type System"> -<link rel="prev" href="gtype-instantiable-classed.html" title="Instantiable classed types: objects"> -<link rel="next" href="chapter-gobject.html" title="The GObject base class"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="gtype-instantiable-classed.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-gtype.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">GObject Reference Manual</th> -<td><a accesskey="n" href="chapter-gobject.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gtype-non-instantiable-classed"></a>Non-instantiable classed types: interfaces</h2></div></div></div> -<p> - GType's interfaces are very similar to Java's interfaces. They allow - to describe a common API that several classes will adhere to. - Imagine the play, pause and stop buttons on hi-fi equipment - those can - be seen as a playback interface. Once you know what they do, you can - control your CD player, MP3 player or anything that uses these symbols. - To declare an interface you have to register a non-instantiable - classed type which derives from - <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a>. The following piece of code declares such an interface. -</p> -<pre class="programlisting"> -#define MAMAN_TYPE_IBAZ (maman_ibaz_get_type ()) -#define MAMAN_IBAZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_IBAZ, MamanIbaz)) -#define MAMAN_IS_IBAZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_IBAZ)) -#define MAMAN_IBAZ_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), MAMAN_TYPE_IBAZ, MamanIbazInterface)) - -typedef struct _MamanIbaz MamanIbaz; /* dummy object */ -typedef struct _MamanIbazInterface MamanIbazInterface; - -struct _MamanIbazInterface { - GTypeInterface parent; - - void (*do_action) (MamanIbaz *self); -}; - -GType maman_ibaz_get_type (void); - -void maman_ibaz_do_action (MamanIbaz *self); -</pre> -<p> - The interface function, <code class="function">maman_ibaz_do_action</code> is implemented - in a pretty simple way: -</p> -<pre class="programlisting"> -void maman_ibaz_do_action (MamanIbaz *self) -{ - MAMAN_IBAZ_GET_INTERFACE (self)->do_action (self); -} -</pre> -<p> - <code class="function">maman_ibaz_get_type</code> registers a type named <span class="emphasis"><em>MamanIbaz</em></span> - which inherits from G_TYPE_INTERFACE. All interfaces must be children of G_TYPE_INTERFACE in the - inheritance tree. - </p> -<p> - An interface is defined by only one structure which must contain as first member - a <a class="link" href="gobject-Type-Information.html#GTypeInterface" title="struct GTypeInterface"><span class="type">GTypeInterface</span></a> structure. The interface structure is expected to - contain the function pointers of the interface methods. It is good style to - define helper functions for each of the interface methods which simply call - the interface' method directly: <code class="function">maman_ibaz_do_action</code> - is one of these. - </p> -<p> - Once an interface type is registered, you must register implementations for these - interfaces. The function named <code class="function">maman_baz_get_type</code> registers - a new GType named MamanBaz which inherits from <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> and which - implements the interface <span class="type">MamanIbaz</span>. -</p> -<pre class="programlisting"> -static void maman_baz_do_action (MamanIbaz *self) -{ - g_print ("Baz implementation of Ibaz interface Action.\n"); -} - -static void -baz_interface_init (gpointer g_iface, - gpointer iface_data) -{ - MamanIbazInterface *iface = (MamanIbazInterface *)g_iface; - iface->do_action = maman_baz_do_action; -} - -GType -maman_baz_get_type (void) -{ - static GType type = 0; - if (type == 0) { - const GTypeInfo info = { - sizeof (MamanBazClass), - NULL, /* base_init */ - NULL, /* base_finalize */ - NULL, /* class_init */ - NULL, /* class_finalize */ - NULL, /* class_data */ - sizeof (MamanBaz), - 0, /* n_preallocs */ - NULL /* instance_init */ - }; - const GInterfaceInfo ibaz_info = { - (GInterfaceInitFunc) baz_interface_init, /* interface_init */ - NULL, /* interface_finalize */ - NULL /* interface_data */ - }; - type = g_type_register_static (G_TYPE_OBJECT, - "MamanBazType", - &info, 0); - g_type_add_interface_static (type, - MAMAN_TYPE_IBAZ, - &ibaz_info); - } - return type; -} -</pre> -<p> - </p> -<p> - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-add-interface-static" title="g_type_add_interface_static ()">g_type_add_interface_static</a></code> records in the type system that - a given type implements also <span class="type">FooInterface</span> - (<code class="function">foo_interface_get_type</code> returns the type of - <span class="type">FooInterface</span>). - The <a class="link" href="gobject-Type-Information.html#GInterfaceInfo" title="struct GInterfaceInfo"><span class="type">GInterfaceInfo</span></a> structure holds - information about the implementation of the interface: -</p> -<pre class="programlisting"> -struct _GInterfaceInfo -{ - GInterfaceInitFunc interface_init; - GInterfaceFinalizeFunc interface_finalize; - gpointer interface_data; -}; -</pre> -<p> - </p> -<p> - If you have no special requirements you can use the - <a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()">G_IMPLEMENT_INTERFACE</a> macro - to implement an interface: -</p> -<pre class="programlisting"> -static void -maman_baz_do_action (MamanIbaz *self) -{ - g_print ("Baz implementation of Ibaz interface Action.\n"); -} - -static void -maman_ibaz_interface_init (MamanIbazInterface *iface) -{ - iface->do_action = maman_baz_do_action; -} - -G_DEFINE_TYPE_WITH_CODE (MamanBaz, maman_baz, G_TYPE_OBJECT, - G_IMPLEMENT_INTERFACE (MAMAN_TYPE_IBAZ, - maman_ibaz_interface_init)); -</pre> -<p> - </p> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="gtype-non-instantiable-classed-init"></a>Interface Initialization</h3></div></div></div> -<p> - When an instantiable classed type which implements an interface - (either directly or by inheriting an implementation from a superclass) - is created for the first time, its class structure is initialized - following the process described in <a class="xref" href="gtype-instantiable-classed.html" title="Instantiable classed types: objects">the section called “Instantiable classed types: objects”</a>. - After that, the interface implementations associated with - the type are initialized. - </p> -<p> - First a memory buffer is allocated to hold the interface structure. The parent's - interface structure is then copied over to the new interface structure (the parent - interface is already initialized at that point). If there is no parent interface, - the interface structure is initialized with zeros. The g_type and the g_instance_type - fields are then initialized: g_type is set to the type of the most-derived interface - and g_instance_type is set to the type of the most derived type which implements - this interface. - </p> -<p> - The interface's <code class="function">base_init</code> function is called, - and then the interface's <code class="function">default_init</code> is invoked. - Finally if the type has registered an implementation of the interface, - the implementation's <code class="function">interface_init</code> - function is invoked. If there are multiple implementations of an - interface the <code class="function">base_init</code> and - <code class="function">interface_init</code> functions will be invoked once - for each implementation initialized. - </p> -<p> - It is thus recommended to use a <code class="function">default_init</code> function to - initialize an interface. This function is called only once for the interface no - matter how many implementations there are. The - <code class="function">default_init</code> function is declared by - <a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()">G_DEFINE_INTERFACE</a> - which can be used to define the interface: -</p> -<pre class="programlisting"> -G_DEFINE_INTERFACE (MamanIbaz, maman_ibaz, G_TYPE_OBJECT); - -static void -maman_ibaz_default_init (MamanIbazInterface *iface) -{ - /* add properties and signals here, will only called once */ -} -</pre> -<p> - </p> -<p> - Or you can do that yourself in a GType function for your interface: -</p> -<pre class="programlisting"> -GType -maman_ibaz_get_type (void) -{ - static volatile gsize type_id = 0; - if (g_once_init_enter (&type_id)) { - const GTypeInfo info = { - sizeof (MamanIbazInterface), - NULL, /* base_init */ - NULL, /* base_finalize */ - maman_ibaz_default_init, /* class_init */ - NULL, /* class_finalize */ - NULL, /* class_data */ - 0, /* instance_size */ - 0, /* n_preallocs */ - NULL /* instance_init */ - }; - GType type = g_type_register_static (G_TYPE_INTERFACE, - "MamanIbaz", - &info, 0); - g_once_init_leave (&type_id, type); - } - return type_id; -} - -static void -maman_ibaz_default_init (MamanIbazInterface *iface) -{ - /* add properties and signals here, will only called once */ -} -</pre> -<p> - </p> -<p> - If you have found the stuff about interface hairy, you are right: it is hairy but - there is not much I can do about it. What I can do is summarize what you need to know - about interfaces: - </p> -<p> - </p> -<div class="table"> -<a name="ginterface-init-table"></a><p class="title"><b>Table 2. Interface Initialization</b></p> -<div class="table-contents"><table summary="Interface Initialization" border="1"> -<colgroup> -<col align="left"> -<col align="left"> -<col align="left"> -</colgroup> -<thead><tr> -<th align="left">Invocation time</th> -<th align="left">Function Invoked</th> -<th align="left">Function's parameters</th> -<th>Remark</th> -</tr></thead> -<tbody> -<tr> -<td align="left">First call to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> - for <span class="emphasis"><em>any</em></span> type implementing interface - </td> -<td align="left">interface's <code class="function">base_init</code> function</td> -<td align="left">On interface's vtable</td> -<td>Rarely necessary to use this. Called once per instantiated classed type implementing the interface.</td> -</tr> -<tr> -<td align="left">First call to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> - for <span class="emphasis"><em>each</em></span> type implementing interface - </td> -<td align="left">interface's <code class="function">default_init</code> function</td> -<td align="left">On interface's vtable</td> -<td>Register interface's signals, properties, etc. here. Will be called once.</td> -</tr> -<tr> -<td align="left">First call to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-create-instance" title="g_type_create_instance ()">g_type_create_instance</a></code> - for <span class="emphasis"><em>any</em></span> type implementing interface - </td> -<td align="left">implementation's <code class="function">interface_init</code> function</td> -<td align="left">On interface's vtable</td> -<td> - Initialize interface implementation. Called for each class that that - implements the interface. Initialize the interface method pointers - in the interface structure to the implementing class's implementation. - </td> -</tr> -</tbody> -</table></div> -</div> -<p><br class="table-break"> - It is highly unlikely (i.e. I do not know of <span class="emphasis"><em>anyone</em></span> who actually - used it) you will ever need other more fancy things such as the ones described in the - following section (<a class="xref" href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-dest" title="Interface Destruction">the section called “Interface Destruction”</a>). - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="gtype-non-instantiable-classed-dest"></a>Interface Destruction</h3></div></div></div> -<p> - When the last instance of an instantiable type which registered - an interface implementation is destroyed, the interface's - implementations associated to the type are destroyed. - </p> -<p> - To destroy an interface implementation, GType first calls the - implementation's <code class="function">interface_finalize</code> function - and then the interface's most-derived - <code class="function">base_finalize</code> function. - </p> -<p> - Again, it is important to understand, as in - <a class="xref" href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-init" title="Interface Initialization">the section called “Interface Initialization”</a>, - that both <code class="function">interface_finalize</code> and <code class="function">base_finalize</code> - are invoked exactly once for the destruction of each implementation of an interface. Thus, - if you were to use one of these functions, you would need to use a static integer variable - which would hold the number of instances of implementations of an interface such that - the interface's class is destroyed only once (when the integer variable reaches zero). - </p> -<p> - The above process can be summarized as follows: - </p> -<div class="table"> -<a name="ginterface-fini-table"></a><p class="title"><b>Table 3. Interface Finalization</b></p> -<div class="table-contents"><table summary="Interface Finalization" border="1"> -<colgroup> -<col align="left"> -<col align="left"> -<col align="left"> -</colgroup> -<thead><tr> -<th align="left">Invocation time</th> -<th align="left">Function Invoked</th> -<th align="left">Function's parameters</th> -</tr></thead> -<tbody> -<tr> -<td rowspan="2" align="left">Last call to <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-free-instance" title="g_type_free_instance ()">g_type_free_instance</a></code> for type - implementing interface - </td> -<td align="left">interface' interface_finalize function</td> -<td align="left">On interface' vtable</td> -</tr> -<tr> -<td align="left">interface' base_finalize function</td> -<td align="left">On interface' vtable</td> -</tr> -</tbody> -</table></div> -</div> -<p><br class="table-break"> - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-non-instantiable.html b/gtk+-mingw/share/gtk-doc/html/gobject/gtype-non-instantiable.html deleted file mode 100644 index e790e80..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/gtype-non-instantiable.html +++ /dev/null @@ -1,76 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Non-instantiable non-classed fundamental types</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-gtype.html" title="The GLib Dynamic Type System"> -<link rel="prev" href="gtype-conventions.html" title="Conventions"> -<link rel="next" href="gtype-instantiable-classed.html" title="Instantiable classed types: objects"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="gtype-conventions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-gtype.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">GObject Reference Manual</th> -<td><a accesskey="n" href="gtype-instantiable-classed.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="gtype-non-instantiable"></a>Non-instantiable non-classed fundamental types</h2></div></div></div> -<p> - A lot of types are not instantiable by the type system and do not have - a class. Most of these types are fundamental trivial types such as <span class="emphasis"><em>gchar</em></span>, - registered in <code class="function">_g_value_types_init</code> (in <code class="filename">gvaluetypes.c</code>). - </p> -<p> - To register such a type in the type system, you just need to fill the - <a class="link" href="gobject-Type-Information.html#GTypeInfo" title="struct GTypeInfo"><span class="type">GTypeInfo</span></a> structure with zeros since these types are also most of the time - fundamental: - </p> -<pre class="programlisting"> - GTypeInfo info = { - 0, /* class_size */ - NULL, /* base_init */ - NULL, /* base_destroy */ - NULL, /* class_init */ - NULL, /* class_destroy */ - NULL, /* class_data */ - 0, /* instance_size */ - 0, /* n_preallocs */ - NULL, /* instance_init */ - NULL, /* value_table */ - }; - static const GTypeValueTable value_table = { - value_init_long0, /* value_init */ - NULL, /* value_free */ - value_copy_long0, /* value_copy */ - NULL, /* value_peek_pointer */ - "i", /* collect_format */ - value_collect_int, /* collect_value */ - "p", /* lcopy_format */ - value_lcopy_char, /* lcopy_value */ - }; - info.value_table = &value_table; - type = g_type_register_fundamental (G_TYPE_CHAR, "gchar", &info, &finfo, 0); - </pre> -<p> - </p> -<p> - Having non-instantiable types might seem a bit useless: what good is a type - if you cannot instantiate an instance of that type ? Most of these types - are used in conjunction with <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s: a GValue is initialized - with an integer or a string and it is passed around by using the registered - type's value_table. <a class="link" href="gobject-Generic-values.html#GValue" title="GValue"><span class="type">GValue</span></a>s (and by extension these trivial fundamental - types) are most useful when used in conjunction with object properties and signals. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/home.png b/gtk+-mingw/share/gtk-doc/html/gobject/home.png Binary files differdeleted file mode 100644 index fb60b55..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/home.png +++ /dev/null diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-chainup.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-chainup.html deleted file mode 100644 index 8118c27..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-chainup.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Chaining up</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-gobject.html" title="How to define and implement a new GObject"> -<link rel="prev" href="howto-gobject-methods.html" title="Object methods"> -<link rel="next" href="howto-interface.html" title="How to define and implement interfaces"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-gobject-methods.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-gobject.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-interface.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-gobject-chainup"></a>Chaining up</h2></div></div></div> -<p>Chaining up is often loosely defined by the following set of - conditions: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>Parent class A defines a public virtual method named <code class="function">foo</code> and - provides a default implementation.</p></li> -<li class="listitem"><p>Child class B re-implements method <code class="function">foo</code>.</p></li> -<li class="listitem"><p>In the method B::foo, the child class B calls its parent class method A::foo.</p></li> -</ul></div> -<p> - There are many uses to this idiom: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>You need to change the behaviour of a class without modifying its code. You create - a subclass to inherit its implementation, re-implement a public virtual method to modify the behaviour - slightly and chain up to ensure that the previous behaviour is not really modified, just extended. - </p></li> -<li class="listitem"><p>You are lazy, you have access to the source code of the parent class but you don't want - to modify it to add method calls to new specialized method calls: it is faster to hack the child class - to chain up than to modify the parent to call down.</p></li> -<li class="listitem"><p>You need to implement the Chain Of Responsibility pattern: each object of the inheritance - tree chains up to its parent (typically, at the beginning or the end of the method) to ensure that - they each handler is run in turn.</p></li> -</ul></div> -<p> - I am personally not really convinced any of the last two uses are really a good idea but since this - programming idiom is often used, this section attempts to explain how to implement it. - </p> -<p> - To explicitly chain up to the implementation of the virtual method in the parent class, - you first need a handle to the original parent class structure. This pointer can then be used to - access the original class function pointer and invoke it directly. - <sup>[<a name="idp21694112" href="#ftn.idp21694112" class="footnote">11</a>]</sup> - </p> -<p>The function <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-class-peek-parent" title="g_type_class_peek_parent ()">g_type_class_peek_parent</a></code> is used to access the original parent - class structure. Its input is a pointer to the class of the derived object and it returns a pointer - to the original parent class structure. The code below shows how you could use it: -</p> -<pre class="programlisting"> -static void -b_method_to_call (B *obj, int a) -{ - BClass *klass; - AClass *parent_class; - - klass = B_GET_CLASS (obj); - parent_class = g_type_class_peek_parent (klass); - - /* do stuff before chain up */ - - parent_class->method_to_call (obj, a); - - /* do stuff after chain up */ -} -</pre> -<p> - </p> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp21694112" href="#idp21694112" class="para">11</a>] </sup> - The <span class="emphasis"><em>original</em></span> adjective used in this sentence is not innocuous. To fully - understand its meaning, you need to recall how class structures are initialized: for each object type, - the class structure associated to this object is created by first copying the class structure of its - parent type (a simple <code class="function">memcpy</code>) and then by invoking the class_init callback on - the resulting class structure. Since the class_init callback is responsible for overwriting the class structure - with the user re-implementations of the class methods, we cannot merely use the modified copy of the parent class - structure stored in our derived instance. We want to get a copy of the class structure of an instance of the parent - class. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-code.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-code.html deleted file mode 100644 index 31a4ec3..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-code.html +++ /dev/null @@ -1,86 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Boilerplate code</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-gobject.html" title="How to define and implement a new GObject"> -<link rel="prev" href="howto-gobject.html" title="How to define and implement a new GObject"> -<link rel="next" href="howto-gobject-construction.html" title="Object Construction"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-gobject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-gobject.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-gobject-construction.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-gobject-code"></a>Boilerplate code</h2></div></div></div> -<p> - In your code, the first step is to #include the needed headers: depending - on your header include strategy, this can be as simple as - <code class="literal">#include "maman-bar.h"</code> or as complicated as tens - of #include lines ending with <code class="literal">#include "maman-bar.h"</code>: -</p> -<pre class="programlisting"> -/* - * Copyright information - */ - -#include "maman-bar.h" - -/* If you use Pimpls, include the private structure - * definition here. Some people create a maman-bar-private.h header - * which is included by the maman-bar.c file and which contains the - * definition for this private structure. - */ -struct _MamanBarPrivate { - int member_1; - /* stuff */ -}; - -/* - * forward definitions - */ -</pre> -<p> - </p> -<p> - Call the <code class="function">G_DEFINE_TYPE</code> macro using the name - of the type, the prefix of the functions and the parent GType to - reduce the amount of boilerplate needed. This macro will: - - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem">implement the <code class="function">maman_bar_get_type</code> - function</li> -<li class="listitem">define a parent class pointer accessible from - the whole .c file</li> -</ul></div> -<p> - -</p> -<pre class="programlisting"> -G_DEFINE_TYPE (MamanBar, maman_bar, G_TYPE_OBJECT); -</pre> -<p> - </p> -<p> - It is also possible to use the - <code class="function">G_DEFINE_TYPE_WITH_CODE</code> macro to control the - get_type function implementation - for instance, to add a call to - <code class="function">G_IMPLEMENT_INTERFACE</code> macro which will - call the <code class="function">g_type_implement_interface</code> function. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-construction.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-construction.html deleted file mode 100644 index 7960154..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-construction.html +++ /dev/null @@ -1,124 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Object Construction</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-gobject.html" title="How to define and implement a new GObject"> -<link rel="prev" href="howto-gobject-code.html" title="Boilerplate code"> -<link rel="next" href="howto-gobject-destruction.html" title="Object Destruction"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-gobject-code.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-gobject.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-gobject-destruction.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-gobject-construction"></a>Object Construction</h2></div></div></div> -<p> - People often get confused when trying to construct their GObjects because of the - sheer number of different ways to hook into the objects's construction process: it is - difficult to figure which is the <span class="emphasis"><em>correct</em></span>, recommended way. - </p> -<p> - <a class="xref" href="chapter-gobject.html#gobject-construction-table" title="Table 4. g_object_new">Table 4, “g_object_new”</a> shows what user-provided functions - are invoked during object instantiation and in which order they are invoked. - A user looking for the equivalent of the simple C++ constructor function should use - the instance_init method. It will be invoked after all the parent's instance_init - functions have been invoked. It cannot take arbitrary construction parameters - (as in C++) but if your object needs arbitrary parameters to complete initialization, - you can use construction properties. - </p> -<p> - Construction properties will be set only after all instance_init functions have run. - No object reference will be returned to the client of <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> - until all the construction properties have been set. - </p> -<p> - As such, I would recommend writing the following code first: -</p> -<pre class="programlisting"> -static void -maman_bar_init (MamanBar *self) -{ - self->priv = MAMAN_BAR_GET_PRIVATE (self); - - /* initialize all public and private members to reasonable default values. */ - - /* If you need specific construction properties to complete initialization, - * delay initialization completion until the property is set. - */ -} -</pre> -<p> - </p> -<p> - Now, if you need special construction properties, install the properties in the class_init function, - override the set and get methods and implement the get and set methods as described in - <a class="xref" href="gobject-properties.html" title="Object properties">the section called “Object properties”</a>. Make sure that these properties use a construct only - <a class="link" href="gobject-GParamSpec.html#GParamSpec" title="struct GParamSpec"><span class="type">GParamSpec</span></a> by setting the param spec's flag field to G_PARAM_CONSTRUCT_ONLY: this helps - GType ensure that these properties are not set again later by malicious user code. -</p> -<div class="informalexample"><pre class="programlisting"> -enum { - PROP_0, - - PROP_MAMAN, - - N_PROPERTIES -}; - -static GParamSpec *obj_properties[N_PROPERTIES] = { NULL, }; - -static void -bar_class_init (MamanBarClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - - gobject_class->set_property = bar_set_property; - gobject_class->get_property = bar_get_property; - - obj_properties[PROP_MAMAN] = - g_param_spec_string ("maman", - "Maman construct prop", - "Set maman's name", - "no-name-set" /* default value */, - G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE); - - g_object_class_install_properties (gobject_class, - N_PROPERTIES, - obj_properties); -} -</pre></div> -<p> - If you need this, make sure you can build and run code similar to the code shown above. Make sure - your construct properties can set correctly during construction, make sure you cannot set them - afterwards and make sure that if your users do not call <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-new" title="g_object_new ()">g_object_new</a></code> - with the required construction properties, these will be initialized with the default values. - </p> -<p> - I consider good taste to halt program execution if a construction property is set its - default value. This allows you to catch client code which does not give a reasonable - value to the construction properties. Of course, you are free to disagree but you - should have a good reason to do so. - </p> -<p> - Some people sometimes need to construct their object but only after - the construction properties have been set. This is possible through - the use of the constructor class method as described in - <a class="xref" href="chapter-gobject.html#gobject-instantiation" title="Object instantiation">the section called “Object instantiation”</a> or, more simply, using - the constructed class method available since GLib 2.12. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-destruction.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-destruction.html deleted file mode 100644 index 3a8b030..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-destruction.html +++ /dev/null @@ -1,122 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Object Destruction</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-gobject.html" title="How to define and implement a new GObject"> -<link rel="prev" href="howto-gobject-construction.html" title="Object Construction"> -<link rel="next" href="howto-gobject-methods.html" title="Object methods"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-gobject-construction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-gobject.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-gobject-methods.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-gobject-destruction"></a>Object Destruction</h2></div></div></div> -<p> - Again, it is often difficult to figure out which mechanism to use to - hook into the object's destruction process: when the last - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a></code> - function call is made, a lot of things happen as described in - <a class="xref" href="gobject-memory.html#gobject-destruction-table" title="Table 5. g_object_unref">Table 5, “g_object_unref”</a>. - </p> -<p> - The destruction process of your object might be split in two different - phases: dispose and the finalize. -</p> -<pre class="programlisting"> -#define MAMAN_BAR_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), MAMAN_TYPE_BAR, MamanBarPrivate)) - -struct _MamanBarPrivate -{ - GObject *an_object; - - gchar *a_string; -}; - -G_DEFINE_TYPE (MamanBar, maman_bar, G_TYPE_OBJECT); - -static void -maman_bar_dispose (GObject *gobject) -{ - MamanBar *self = MAMAN_BAR (gobject); - - /* - * In dispose, you are supposed to free all types referenced from this - * object which might themselves hold a reference to self. Generally, - * the most simple solution is to unref all members on which you own a - * reference. - */ - - /* dispose might be called multiple times, so we must guard against - * calling g_object_unref() on an invalid GObject. - */ - if (self->priv->an_object) - { - g_object_unref (self->priv->an_object); - - self->priv->an_object = NULL; - } - - /* Chain up to the parent class */ - G_OBJECT_CLASS (maman_bar_parent_class)->dispose (gobject); -} - -static void -maman_bar_finalize (GObject *gobject) -{ - MamanBar *self = MAMAN_BAR (gobject); - - g_free (self->priv->a_string); - - /* Chain up to the parent class */ - G_OBJECT_CLASS (maman_bar_parent_class)->finalize (gobject); -} - -static void -maman_bar_class_init (MamanBarClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - - gobject_class->dispose = maman_bar_dispose; - gobject_class->finalize = maman_bar_finalize; - - g_type_class_add_private (klass, sizeof (MamanBarPrivate)); -} - -static void -maman_bar_init (MamanBar *self); -{ - self->priv = MAMAN_BAR_GET_PRIVATE (self); - - self->priv->an_object = g_object_new (MAMAN_TYPE_BAZ, NULL); - self->priv->a_string = g_strdup ("Maman"); -} -</pre> -<p> - </p> -<p> - Add similar code to your GObject, make sure the code still builds - and runs: dispose and finalize must be called during the last unref. - </p> -<p> - It is possible that object methods might be invoked after dispose is - run and before finalize runs. GObject does not consider this to be a - program error: you must gracefully detect this and neither crash nor - warn the user. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-methods.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-methods.html deleted file mode 100644 index 299fc63..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject-methods.html +++ /dev/null @@ -1,257 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Object methods</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-gobject.html" title="How to define and implement a new GObject"> -<link rel="prev" href="howto-gobject-destruction.html" title="Object Destruction"> -<link rel="next" href="howto-gobject-chainup.html" title="Chaining up"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-gobject-destruction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-gobject.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-gobject-chainup.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-gobject-methods"></a>Object methods</h2></div></div></div> -<p> - Just as with C++, there are many different ways to define object - methods and extend them: the following list and sections draw on - C++ vocabulary. (Readers are expected to know basic C++ buzzwords. - Those who have not had to write C++ code recently can refer to e.g. - <a class="ulink" href="http://www.cplusplus.com/doc/tutorial/" target="_top">http://www.cplusplus.com/doc/tutorial/</a> to refresh - their memories.) - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - non-virtual public methods, - </p></li> -<li class="listitem"><p> - virtual public methods and - </p></li> -<li class="listitem"><p> - virtual private methods - </p></li> -</ul></div> -<p> - </p> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="idp21629936"></a>Non-virtual public methods</h3></div></div></div> -<p> - These are the simplest: you want to provide a simple method which - can act on your object. All you need to do is to provide a function - prototype in the header and an implementation of that prototype - in the source file. -</p> -<pre class="programlisting"> -/* declaration in the header. */ -void maman_bar_do_action (MamanBar *self, /* parameters */); - -/* implementation in the source file */ -void -maman_bar_do_action (MamanBar *self, /* parameters */) -{ - g_return_if_fail (MAMAN_IS_BAR (self)); - - /* do stuff here. */ -} -</pre> -<p> - </p> -<p>There is really nothing scary about this.</p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="idp21632928"></a>Virtual public methods</h3></div></div></div> -<p> - This is the preferred way to create polymorphic GObjects. All you - need to do is to define the common method and its class function in - the public header, implement the common method in the source file - and re-implement the class function in each object which inherits - from you. -</p> -<pre class="programlisting"> -/* declaration in maman-bar.h. */ -struct _MamanBarClass -{ - GObjectClass parent_class; - - /* stuff */ - void (*do_action) (MamanBar *self, /* parameters */); -}; - -void maman_bar_do_action (MamanBar *self, /* parameters */); - -/* implementation in maman-bar.c */ -void -maman_bar_do_action (MamanBar *self, /* parameters */) -{ - g_return_if_fail (MAMAN_IS_BAR (self)); - - MAMAN_BAR_GET_CLASS (self)->do_action (self, /* parameters */); -} -</pre> -<p> - The code above simply redirects the do_action call to the relevant - class function. Some users, concerned about performance, do not - provide the <code class="function">maman_bar_do_action</code> wrapper function - and require users to dereference the class pointer themselves. This - is not such a great idea in terms of encapsulation and makes it - difficult to change the object's implementation afterwards, should - this be needed. - </p> -<p> - Other users, also concerned by performance issues, declare - the <code class="function">maman_bar_do_action</code> function inline in the - header file. This, however, makes it difficult to change the - object's implementation later (although easier than requiring users - to directly dereference the class function) and is often difficult - to write in a portable way (the <span class="emphasis"><em>inline</em></span> keyword - is part of the C99 standard but not every compiler supports it). - </p> -<p> - In doubt, unless a user shows you hard numbers about the performance - cost of the function call, just implement <code class="function">maman_bar_do_action</code> - in the source file. - </p> -<p> - Please, note that it is possible for you to provide a default - implementation for this class method in the object's - <code class="function">class_init</code> function: initialize the - klass->do_action field to a pointer to the actual implementation. - You can also make this class method pure virtual by initializing - the klass->do_action field to NULL: -</p> -<pre class="programlisting"> -static void -maman_bar_real_do_action_two (MamanBar *self, /* parameters */) -{ - /* Default implementation for the virtual method. */ -} - -static void -maman_bar_class_init (BarClass *klass) -{ - /* pure virtual method: mandates implementation in children. */ - klass->do_action_one = NULL; - - /* merely virtual method. */ - klass->do_action_two = maman_bar_real_do_action_two; -} - -void -maman_bar_do_action_one (MamanBar *self, /* parameters */) -{ - g_return_if_fail (MAMAN_IS_BAR (self)); - - MAMAN_BAR_GET_CLASS (self)->do_action_one (self, /* parameters */); -} - -void -maman_bar_do_action_two (MamanBar *self, /* parameters */) -{ - g_return_if_fail (MAMAN_IS_BAR (self)); - - MAMAN_BAR_GET_CLASS (self)->do_action_two (self, /* parameters */); -} -</pre> -<p> - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="idp21643024"></a>Virtual private Methods</h3></div></div></div> -<p> - These are very similar to Virtual Public methods. They just don't - have a public function to call the function directly. The header - file contains only a declaration of the class function: -</p> -<pre class="programlisting"> -/* declaration in maman-bar.h. */ -struct _MamanBarClass -{ - GObjectClass parent; - - /* stuff */ - void (* helper_do_specific_action) (MamanBar *self, /* parameters */); -}; - -void maman_bar_do_any_action (MamanBar *self, /* parameters */); -</pre> -<p> - These class functions are often used to delegate part of the job - to child classes: -</p> -<pre class="programlisting"> -/* this accessor function is static: it is not exported outside of this file. */ -static void -maman_bar_do_specific_action (MamanBar *self, /* parameters */) -{ - MAMAN_BAR_GET_CLASS (self)->do_specific_action (self, /* parameters */); -} - -void -maman_bar_do_any_action (MamanBar *self, /* parameters */) -{ - /* random code here */ - - /* - * Try to execute the requested action. Maybe the requested action - * cannot be implemented here. So, we delegate its implementation - * to the child class: - */ - maman_bar_do_specific_action (self, /* parameters */); - - /* other random code here */ -} -</pre> -<p> - </p> -<p> - Again, it is possible to provide a default implementation for this - private virtual class function: -</p> -<pre class="programlisting"> -static void -maman_bar_class_init (MamanBarClass *klass) -{ - /* pure virtual method: mandates implementation in children. */ - klass->do_specific_action_one = NULL; - - /* merely virtual method. */ - klass->do_specific_action_two = maman_bar_real_do_specific_action_two; -} -</pre> -<p> - </p> -<p> - Children can then implement the subclass with code such as: -</p> -<pre class="programlisting"> -static void -maman_bar_subtype_class_init (MamanBarSubTypeClass *klass) -{ - MamanBarClass *bar_class = MAMAN_BAR_CLASS (klass); - - /* implement pure virtual class function. */ - bar_class->do_specific_action_one = maman_bar_subtype_do_specific_action_one; -} -</pre> -<p> - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject.html deleted file mode 100644 index 2cd65c4..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-gobject.html +++ /dev/null @@ -1,283 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>How to define and implement a new GObject</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt02.html" title="Part IV. Tutorial"> -<link rel="prev" href="pt02.html" title="Part IV. Tutorial"> -<link rel="next" href="howto-gobject-code.html" title="Boilerplate code"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="pt02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt02.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-gobject-code.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="howto-gobject"></a>How to define and implement a new GObject</h2></div></div></div> -<div class="toc"><dl> -<dt><span class="sect1"><a href="howto-gobject.html#howto-gobject-header">Boilerplate header code</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-code.html">Boilerplate code</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-construction.html">Object Construction</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-destruction.html">Object Destruction</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-methods.html">Object methods</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21629936">Non-virtual public methods</a></span></dt> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21632928">Virtual public methods</a></span></dt> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21643024">Virtual private Methods</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="howto-gobject-chainup.html">Chaining up</a></span></dt> -</dl></div> -<p> - Clearly, this is one of the most common questions people ask: they just - want to crank code and implement a subclass of a GObject. Sometimes because - they want to create their own class hierarchy, sometimes because they want - to subclass one of GTK+'s widget. This chapter will focus on the - implementation of a subtype of GObject. - </p> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-gobject-header"></a>Boilerplate header code</h2></div></div></div> -<p> - The first step before writing the code for your GObject is to write the - type's header which contains the needed type, function and macro - definitions. Each of these elements is nothing but a convention which - is followed not only by GTK+'s code but also by most users of GObject. - If you feel the need not to obey the rules stated below, think about it - twice: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>If your users are a bit accustomed to GTK+ code or any - GLib code, they will be a bit surprised and getting used to the - conventions you decided upon will take time (money) and will make them - grumpy (not a good thing)</p></li> -<li class="listitem"><p>You must assess the fact that these conventions might - have been designed by both smart and experienced people: maybe they - were at least partly right. Try to put your ego aside.</p></li> -</ul></div> -<p> - </p> -<p> - Pick a name convention for your headers and source code and stick to it: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p>use a dash to separate the prefix from the typename: - <code class="filename">maman-bar.h</code> and <code class="filename">maman-bar.c</code> - (this is the convention used by Nautilus and most GNOME libraries).</p></li> -<li class="listitem"><p>use an underscore to separate the prefix from the - typename: <code class="filename">maman_bar.h</code> and - <code class="filename">maman_bar.c</code>.</p></li> -<li class="listitem"><p>Do not separate the prefix from the typename: - <code class="filename">mamanbar.h</code> and <code class="filename">mamanbar.c</code>. - (this is the convention used by GTK+)</p></li> -</ul></div> -<p> - Some people like the first two solutions better: it makes reading file - names easier for those with poor eyesight. - </p> -<p> - When you need some private (internal) declarations in several - (sub)classes, you can define them in a private header file which - is often named by appending the <span class="emphasis"><em>private</em></span> keyword - to the public header name. For example, one could use - <code class="filename">maman-bar-private.h</code>, - <code class="filename">maman_bar_private.h</code> or - <code class="filename">mamanbarprivate.h</code>. Typically, such private header - files are not installed. - </p> -<p> - The basic conventions for any header which exposes a GType are described - in <a class="xref" href="gtype-conventions.html" title="Conventions">the section called “Conventions”</a>. Most GObject-based code also - obeys one of of the following conventions: pick one and stick to it. - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"> -<p> - If you want to declare a type named bar with prefix maman, name the type instance - <code class="function">MamanBar</code> and its class <code class="function">MamanBarClass</code> - (name is case-sensitive). It is customary to declare them with code similar to the - following: -</p> -<pre class="programlisting"> -/* - * Copyright/Licensing information. - */ - -/* inclusion guard */ -#ifndef __MAMAN_BAR_H__ -#define __MAMAN_BAR_H__ - -#include <glib-object.h> -/* - * Potentially, include other headers on which this header depends. - */ - -/* - * Type macros. - */ -#define MAMAN_TYPE_BAR (maman_bar_get_type ()) -#define MAMAN_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BAR, MamanBar)) -#define MAMAN_IS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BAR)) -#define MAMAN_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BAR, MamanBarClass)) -#define MAMAN_IS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BAR)) -#define MAMAN_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BAR, MamanBarClass)) - -typedef struct _MamanBar MamanBar; -typedef struct _MamanBarClass MamanBarClass; - -struct _MamanBar -{ - GObject parent_instance; - - /* instance members */ -}; - -struct _MamanBarClass -{ - GObjectClass parent_class; - - /* class members */ -}; - -/* used by MAMAN_TYPE_BAR */ -GType maman_bar_get_type (void); - -/* - * Method definitions. - */ - -#endif /* __MAMAN_BAR_H__ */ -</pre> -<p> - </p> -</li> -<li class="listitem"> -<p> - Most GTK+ types declare their private fields in the public header - with a /* private */ comment, relying on their user's intelligence - not to try to play with these fields. Fields not marked private - are considered public by default. The /* protected */ comment - (same semantics as those of C++) is also used, mainly in the GType - library, in code written by Tim Janik. -</p> -<pre class="programlisting"> -struct _MamanBar -{ - GObject parent_instance; - - /*< private >*/ - int hsize; -}; -</pre> -<p> - </p> -</li> -<li class="listitem"> -<p> - All of Nautilus code and a lot of GNOME libraries use private - indirection members, as described by Herb Sutter in his Pimpl - articles(see <a class="ulink" href="http://www.gotw.ca/gotw/024.htm" target="_top">Compilation Firewalls</a> - and <a class="ulink" href="http://www.gotw.ca/gotw/028.htm" target="_top">The Fast Pimpl Idiom</a>: - he summarizes the different issues better than I will). -</p> -<pre class="programlisting"> -typedef struct _MamanBarPrivate MamanBarPrivate; - -struct _MamanBar -{ - GObject parent_instance; - - /*< private >*/ - MamanBarPrivate *priv; -}; -</pre> -<p> - </p> -<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Note</h3> -<p>Do not call this <code class="varname">private</code>, as - that is a registered c++ keyword.</p> -</div> -<p> - - The private structure is then defined in the .c file, using the - g_type_class_add_private() function to notify the presence of - a private memory area for each instance and it can either - be retrieved using <code class="function">G_TYPE_INSTANCE_GET_PRIVATE()</code> - each time is needed, or assigned to the <code class="literal">priv</code> - member of the instance structure inside the object's - <code class="function">init</code> function. -</p> -<pre class="programlisting"> -#define MAMAN_BAR_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), MAMAN_TYPE_BAR, MamanBarPrivate)) - -struct _MamanBarPrivate -{ - int hsize; -}; - -static void -maman_bar_class_init (MamanBarClass *klass) -{ - g_type_class_add_private (klass, sizeof (MamanBarPrivate)); -} - -static void -maman_bar_init (MamanBar *self) -{ - MamanBarPrivate *priv; - - self->priv = priv = MAMAN_BAR_GET_PRIVATE (self); - - priv->hsize = 42; -} -</pre> -<p> - </p> -</li> -<li class="listitem"><p> - You don't need to free or allocate the private structure, only the - objects or pointers that it may contain. Another advantage of this - to the previous version is that is lessens memory fragmentation, - as the public and private parts of the instance memory are - allocated at once. - </p></li> -</ul></div> -<p> - </p> -<p> - Finally, there are different header include conventions. Again, pick one - and stick to it. I personally use indifferently any of the two, depending - on the codebase I work on: the rule, as always, is consistency. - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - Some people add at the top of their headers a number of #include - directives to pull in all the headers needed to compile client - code. This allows client code to simply #include "maman-bar.h". - </p></li> -<li class="listitem"><p> - Other do not #include anything and expect the client to #include - themselves the headers they need before including your header. This - speeds up compilation because it minimizes the amount of - pre-processor work. This can be used in conjunction with the - re-declaration of certain unused types in the client code to - minimize compile-time dependencies and thus speed up compilation. - </p></li> -</ul></div> -<p> - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-implement.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-implement.html deleted file mode 100644 index f3c2792..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-implement.html +++ /dev/null @@ -1,140 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>How to implement an interface</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-interface.html" title="How to define and implement interfaces"> -<link rel="prev" href="howto-interface.html" title="How to define and implement interfaces"> -<link rel="next" href="howto-interface-prerequisite.html" title="Interface definition prerequisites"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-interface.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-interface.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-interface-prerequisite.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-interface-implement"></a>How to implement an interface</h2></div></div></div> -<p> - Once the interface is defined, implementing it is rather trivial. - </p> -<p> - The first step is to define a normal GObject class, like: -</p> -<pre class="programlisting"> -#ifndef __MAMAN_BAZ_H__ -#define __MAMAN_BAZ_H__ - -#include <glib-object.h> - -#define MAMAN_TYPE_BAZ (maman_baz_get_type ()) -#define MAMAN_BAZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_BAZ, Mamanbaz)) -#define MAMAN_IS_BAZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_BAZ)) -#define MAMAN_BAZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MAMAN_TYPE_BAZ, MamanbazClass)) -#define MAMAN_IS_BAZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MAMAN_TYPE_BAZ)) -#define MAMAN_BAZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MAMAN_TYPE_BAZ, MamanbazClass)) - - -typedef struct _MamanBaz MamanBaz; -typedef struct _MamanBazClass MamanBazClass; - -struct _MamanBaz -{ - GObject parent_instance; - - int instance_member; -}; - -struct _MamanBazClass -{ - GObjectClass parent_class; -}; - -GType maman_baz_get_type (void); - -#endif /* __MAMAN_BAZ_H__ */ -</pre> -<p> - - There is clearly nothing specifically weird or scary about this header: - it does not define any weird API or derive from a weird type. - </p> -<p> - The second step is to implement <span class="type">MamanBaz</span> by defining - its GType. Instead of using - <code class="function"><a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE:CAPS" title="G_DEFINE_TYPE()">G_DEFINE_TYPE</a></code> - we use - <code class="function"><a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()">G_DEFINE_TYPE_WITH_CODE</a></code> - and the - <code class="function"><a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()">G_IMPLEMENT_INTERFACE</a></code> - macros. -</p> -<pre class="programlisting"> -static void maman_ibaz_interface_init (MamanIbazInterface *iface); - -G_DEFINE_TYPE_WITH_CODE (MamanBar, maman_bar, G_TYPE_OBJECT, - G_IMPLEMENT_INTERFACE (MAMAN_TYPE_IBAZ, - maman_ibaz_interface_init)); -</pre> -<p> - This definition is very much like all the similar functions we looked - at previously. The only interface-specific code present here is the call to - <code class="function"><a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()">G_IMPLEMENT_INTERFACE</a></code>. - </p> -<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> -<h3 class="title">Note</h3> -<p>Classes can implement multiple interfaces by using multiple calls to - <code class="function"><a class="link" href="gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS" title="G_IMPLEMENT_INTERFACE()">G_IMPLEMENT_INTERFACE</a></code> - inside the call to - <code class="function"><a class="link" href="gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS" title="G_DEFINE_TYPE_WITH_CODE()">G_DEFINE_TYPE_WITH_CODE</a></code> - </p> -</div> -<p> - <code class="function">maman_baz_interface_init</code>, the interface - initialization function: inside it every virtual method of the interface - must be assigned to its implementation: -</p> -<pre class="programlisting"> -static void -maman_baz_do_action (MamanBaz *self) -{ - g_print ("Baz implementation of Ibaz interface Action: 0x%x.\n", - self->instance_member); -} - -static void -maman_baz_do_something (MamanBaz *self) -{ - g_print ("Baz implementation of Ibaz interface Something: 0x%x.\n", - self->instance_member); -} - -static void -maman_ibaz_interface_init (MamanIbazInterface *iface) -{ - iface->do_action = maman_baz_do_action; - iface->do_something = maman_baz_do_something; -} - -static void -maman_baz_init (MamanBaz *self) -{ - MamanBaz *self = MAMAN_BAZ (instance); - self->instance_member = 0xdeadbeaf; -} -</pre> -<p> - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-override.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-override.html deleted file mode 100644 index 879cb71..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-override.html +++ /dev/null @@ -1,135 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Overriding interface methods</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-interface.html" title="How to define and implement interfaces"> -<link rel="prev" href="howto-interface-properties.html" title="Interface properties"> -<link rel="next" href="howto-signals.html" title="How to create and use signals"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-interface-properties.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-interface.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-signals.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-interface-override"></a>Overriding interface methods</h2></div></div></div> -<p> - If a base class already implements an interface, and in a derived - class you wish to implement the same interface overriding only certain - methods of that interface, you just reimplement the interface and - set only the interface methods you wish to override. - </p> -<p> - In this example MamanDerivedBaz is derived from MamanBaz. Both - implement the MamanIbaz interface. MamanDerivedBaz only implements one - method of the MamanIbaz interface and uses the base class implementation - of the other. -</p> -<pre class="programlisting"> -static void -maman_derived_ibaz_do_action (MamanIbaz *ibaz) -{ - MamanDerivedBaz *self = MAMAN_DERIVED_BAZ (ibaz); - g_print ("DerivedBaz implementation of Ibaz interface Action\n"); -} - -static void -maman_derived_ibaz_interface_init (MamanIbazInterface *iface) -{ - /* Override the implementation of do_action */ - iface->do_action = maman_derived_ibaz_do_action; - - /* - * We simply leave iface->do_something alone, it is already set to the - * base class implementation. - */ -} - -G_DEFINE_TYPE_WITH_CODE (MamanDerivedBaz, maman_derived_baz, MAMAN_TYPE_BAZ, - G_IMPLEMENT_INTERFACE (MAMAN_TYPE_IBAZ, - maman_derived_ibaz_interface_init) - -static void -maman_derived_baz_class_init (MamanDerivedBazClass *klass) -{ - -} - -static void -maman_derived_baz_init (MamanDerivedBaz *self) -{ - -} -</pre> -<p> - </p> -<p> - To access the base class interface implementation use - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-interface-peek-parent" title="g_type_interface_peek_parent ()">g_type_interface_peek_parent</a></code> - from within an interface's <code class="function">default_init</code> function. - </p> -<p> - If you wish to call the base class implementation of an interface - method from an derived class where than interface method has been - overridden then you can stash away the pointer returned from - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-interface-peek-parent" title="g_type_interface_peek_parent ()">g_type_interface_peek_parent</a></code> - in a global variable. - </p> -<p> - In this example MamanDerivedBaz overides the - <code class="function">do_action</code> interface method. In it's overridden method - it calls the base class implementation of the same interface method. -</p> -<pre class="programlisting"> -static MamanIbazInterface *maman_ibaz_parent_interface = NULL; - -static void -maman_derived_ibaz_do_action (MamanIbaz *ibaz) -{ - MamanDerivedBaz *self = MAMAN_DERIVED_BAZ (ibaz); - g_print ("DerivedBaz implementation of Ibaz interface Action\n"); - - /* Now we call the base implementation */ - maman_ibaz_parent_interface->do_action (ibaz); -} - -static void -maman_derived_ibaz_interface_init (MamanIbazInterface *iface) -{ - maman_ibaz_parent_interface = g_type_interface_peek_parent (iface); - iface->do_action = maman_derived_ibaz_do_action; -} - -G_DEFINE_TYPE_WITH_CODE (MamanDerivedBaz, maman_derived_baz, MAMAN_TYPE_BAZ, - G_IMPLEMENT_INTERFACE (MAMAN_TYPE_IBAZ, - maman_derived_ibaz_interface_init) - -static void -maman_derived_baz_class_init (MamanDerivedBazClass *klass) -{ - -} - -static void -maman_derived_baz_init (MamanDerivedBaz *self) -{ - -} -</pre> -<p> - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-prerequisite.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-prerequisite.html deleted file mode 100644 index a9d0cde..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +++ /dev/null @@ -1,123 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Interface definition prerequisites</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-interface.html" title="How to define and implement interfaces"> -<link rel="prev" href="howto-interface-implement.html" title="How to implement an interface"> -<link rel="next" href="howto-interface-properties.html" title="Interface properties"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-interface-implement.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-interface.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-interface-properties.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-interface-prerequisite"></a>Interface definition prerequisites</h2></div></div></div> -<p> - To specify that an interface requires the presence of other interfaces - when implemented, GObject introduces the concept of - <span class="emphasis"><em>prerequisites</em></span>: it is possible to associate - a list of prerequisite types to an interface. For example, if - object A wishes to implement interface I1, and if interface I1 has a - prerequisite on interface I2, A has to implement both I1 and I2. - </p> -<p> - The mechanism described above is, in practice, very similar to - Java's interface I1 extends interface I2. The example below shows - the GObject equivalent: -</p> -<pre class="programlisting"> -/* Make the MamanIbar interface require MamanIbaz interface. */ -G_DEFINE_INTERFACE (MamanIbar, maman_ibar, MAMAN_TYPE_IBAZ); -</pre> -<p> - In the <code class="function"><a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()">G_DEFINE_INTERFACE</a></code> - call above, the third parameter defines the prerequisite type. This - is the GType of either an interface or a class. In this case - the MamanIbaz interface is a prerequisite of the MamanIbar. The code - below shows how an implementation can implement both interfaces and - register their implementations: -</p> -<pre class="programlisting"> -static void -maman_ibar_do_another_action (MamanIbar *ibar) -{ - MamanBar *self = MAMAN_BAR (ibar); - - g_print ("Bar implementation of IBar interface Another Action: 0x%x.\n", - self->instance_member); -} - -static void -maman_ibar_interface_init (MamanIbarInterface *iface) -{ - iface->do_another_action = maman_ibar_do_another_action; -} - -static void -maman_ibaz_do_action (MamanIbaz *ibaz) -{ - MamanBar *self = MAMAN_BAR (ibaz); - - g_print ("Bar implementation of Ibaz interface Action: 0x%x.\n", - self->instance_member); -} - -static void -maman_ibaz_do_something (MamanIbaz *ibaz) -{ - MamanBar *self = MAMAN_BAR (ibaz); - - g_print ("Bar implementation of Ibaz interface Something: 0x%x.\n", - self->instance_member); -} - -static void -maman_ibaz_interface_init (MamanIbazInterface *iface) -{ - iface->do_action = maman_ibaz_do_action; - iface->do_something = maman_ibaz_do_something; -} - -static void -maman_bar_class_init (MamanBarClass *klass) -{ - -} - -static void -maman_bar_init (MamanBar *self) -{ - self->instance_member = 0x666; -} - -G_DEFINE_TYPE_WITH_CODE (MamanBar, maman_bar, G_TYPE_OBJECT, - G_IMPLEMENT_INTERFACE (MAMAN_TYPE_IBAZ, - maman_ibaz_interface_init) - G_IMPLEMENT_INTERFACE (MAMAN_TYPE_IBAR, - maman_ibar_interface_init)); -</pre> -<p> - It is very important to notice that the order in which interface - implementations are added to the main object is not random: - <code class="function"><a class="link" href="gobject-Type-Information.html#g-type-add-interface-static" title="g_type_add_interface_static ()">g_type_add_interface_static</a></code>, - which is called by - <code class="function"><a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()">G_IMPLEMENT_INTERFACE</a></code>, - must be invoked first on the interfaces which have no prerequisites and then on - the others. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-properties.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-properties.html deleted file mode 100644 index bcdb92d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface-properties.html +++ /dev/null @@ -1,155 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Interface properties</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="howto-interface.html" title="How to define and implement interfaces"> -<link rel="prev" href="howto-interface-prerequisite.html" title="Interface definition prerequisites"> -<link rel="next" href="howto-interface-override.html" title="Overriding interface methods"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-interface-prerequisite.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="howto-interface.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-interface-override.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-interface-properties"></a>Interface properties</h2></div></div></div> -<p> - GObject interfaces can also have - properties. Declaration of the interface properties is similar to - declaring the properties of ordinary GObject types as explained in - <a class="xref" href="gobject-properties.html" title="Object properties">the section called “Object properties”</a>, except that - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-interface-install-property" title="g_object_interface_install_property ()">g_object_interface_install_property</a></code> - is used to declare the properties instead of - <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a></code>. - </p> -<p> - To include a property named 'name' of type <span class="type">string</span> in the - <span class="type">maman_ibaz</span> interface example code above, we only need to - add one - <sup>[<a name="idp21756752" href="#ftn.idp21756752" class="footnote">12</a>]</sup> - line in the <code class="function">maman_ibaz_default_init</code> as shown below: -</p> -<pre class="programlisting"> -static void -maman_ibaz_default_init (gpointer g_iface) -{ - g_object_interface_install_property (g_iface, - g_param_spec_string ("name", - "Name", - "Name of the MamanIbaz", - "maman", - G_PARAM_READWRITE)); -} -</pre> -<p> - </p> -<p> - One point worth noting is that the declared property wasn't assigned an - integer ID. The reason being that integer IDs of properties are used - only inside the get and set methods and since interfaces do not - implement properties, there is no need to assign integer IDs to - interface properties. - </p> -<p> - An implementation declares and defines it's properties in the usual - way as explained in <a class="xref" href="gobject-properties.html" title="Object properties">the section called “Object properties”</a>, except for one - small change: it can declare the properties of the interface it - implements using <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-override-property" title="g_object_class_override_property ()">g_object_class_override_property</a></code> - instead of <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a></code>. - The following code snippet shows the modifications needed in the - <span class="type">MamanBaz</span> declaration and implementation above: -</p> -<pre class="programlisting"> - -struct _MamanBaz -{ - GObject parent_instance; - - gint instance_member; - gchar *name; -}; - -enum -{ - PROP_0, - - PROP_NAME -}; - -static void -maman_baz_set_property (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec) -{ - MamanBaz *baz = MAMAN_BAZ (object); - GObject *obj; - - switch (prop_id) - { - case ARG_NAME: - g_free (baz->name); - baz->name = g_value_dup_string (value); - break; - - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -maman_baz_get_property (GObject *object, - guint prop_id, - GValue *value, - GParamSpec *pspec) -{ - MamanBaz *baz = MAMAN_BAZ (object); - - switch (prop_id) - { - case ARG_NAME: - g_value_set_string (value, baz->name); - break; - - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); - break; - } -} - -static void -maman_baz_class_init (MamanBazClass *klass) -{ - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); - - gobject_class->set_property = maman_baz_set_property; - gobject_class->get_property = maman_baz_get_property; - - g_object_class_override_property (gobject_class, PROP_NAME, "name"); -} - -</pre> -<p> - </p> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp21756752" href="#idp21756752" class="para">12</a>] </sup> - That really is one line extended to six for the sake of clarity - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface.html deleted file mode 100644 index c50d6c0..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-interface.html +++ /dev/null @@ -1,149 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>How to define and implement interfaces</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt02.html" title="Part IV. Tutorial"> -<link rel="prev" href="howto-gobject-chainup.html" title="Chaining up"> -<link rel="next" href="howto-interface-implement.html" title="How to implement an interface"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-gobject-chainup.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt02.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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-interface-implement.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="howto-interface"></a>How to define and implement interfaces</h2></div></div></div> -<div class="toc"><dl> -<dt><span class="sect1"><a href="howto-interface.html#howto-interface-define">How to define an interface</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-implement.html">How to implement an interface</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-prerequisite.html">Interface definition prerequisites</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-properties.html">Interface properties</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-override.html">Overriding interface methods</a></span></dt> -</dl></div> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-interface-define"></a>How to define an interface</h2></div></div></div> -<p> - The bulk of interface definition has already been shown in <a class="xref" href="gtype-non-instantiable-classed.html" title="Non-instantiable classed types: interfaces">the section called “Non-instantiable classed types: interfaces”</a> - but I feel it is needed to show exactly how to create an interface. - </p> -<p> - As above, the first step is to get the header right. This interface - defines two methods: -</p> -<pre class="programlisting"> -#ifndef __MAMAN_IBAZ_H__ -#define __MAMAN_IBAZ_H__ - -#include <glib-object.h> - -#define MAMAN_TYPE_IBAZ (maman_ibaz_get_type ()) -#define MAMAN_IBAZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAMAN_TYPE_IBAZ, MamanIbaz)) -#define MAMAN_IS_IBAZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAMAN_TYPE_IBAZ)) -#define MAMAN_IBAZ_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), MAMAN_TYPE_IBAZ, MamanIbazInterface)) - - -typedef struct _MamanIbaz MamanIbaz; /* dummy object */ -typedef struct _MamanIbazInterface MamanIbazInterface; - -struct _MamanIbazInterface -{ - GTypeInterface parent_iface; - - void (*do_action) (MamanIbaz *self); - void (*do_something) (MamanIbaz *self); -}; - -GType maman_ibaz_get_type (void); - -void maman_ibaz_do_action (MamanIbaz *self); -void maman_ibaz_do_something (MamanIbaz *self); - -#endif /* __MAMAN_IBAZ_H__ */ -</pre> -<p> - This code is the same as the code for a normal <a class="link" href="gobject-Type-Information.html#GType" title="GType"><span class="type">GType</span></a> - which derives from a <a class="link" href="gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> except for a few details: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - The <code class="function">_GET_CLASS</code> macro is called <code class="function">_GET_INTERFACE</code> - and not implemented with <code class="function"><a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-CLASS:CAPS" title="G_TYPE_INSTANCE_GET_CLASS()">G_TYPE_INSTANCE_GET_CLASS</a></code> - but with <code class="function"><a class="link" href="gobject-Type-Information.html#G-TYPE-INSTANCE-GET-INTERFACE:CAPS" title="G_TYPE_INSTANCE_GET_INTERFACE()">G_TYPE_INSTANCE_GET_INTERFACE</a></code>. - </p></li> -<li class="listitem"><p> - The instance type, <span class="type">MamanIbaz</span> is not fully defined: it is - used merely as an abstract type which represents an instance of - whatever object which implements the interface. - </p></li> -<li class="listitem"><p> - The parent of the <span class="type">MamanIbazInterface</span> is not - <span class="type">GObjectClass</span> but <span class="type">GTypeInterface</span>. - </p></li> -</ul></div> -<p> - </p> -<p> - The implementation of the <span class="type">MamanIbaz</span> type itself is trivial: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p><code class="function"><a class="link" href="gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS" title="G_DEFINE_INTERFACE()">G_DEFINE_INTERFACE</a></code> - creates a <code class="function">maman_ibaz_get_type</code> function which registers the - type in the type system. The third argument is used to define a - <a class="link" href="howto-interface-prerequisite.html" title="Interface definition prerequisites">prerequisite interface</a> - (which we'll talk about more later). Just pass <code class="code">0</code> for this - argument when an interface has no prerequisite. - </p></li> -<li class="listitem"><p><code class="function">maman_ibaz_default_init</code> is expected - to register the interface's signals if there are any (we will see a bit - later how to use them).</p></li> -<li class="listitem"><p>The interface methods <code class="function">maman_ibaz_do_action</code> - and <code class="function">maman_ibaz_do_something</code> dereference the interface - structure to access its associated interface function and call it. - </p></li> -</ul></div> -<p> -</p> -<pre class="programlisting"> -G_DEFINE_INTERFACE (MamanIbaz, maman_ibaz, 0); - -static void -maman_ibaz_default_init (gpointer g_class) -{ - /* add properties and signals to the interface here */ -} - -void -maman_ibaz_do_action (MamanIbaz *self) -{ - g_return_if_fail (MAMAN_IS_IBAZ (self)); - - MAMAN_IBAZ_GET_INTERFACE (self)->do_action (self); -} - -void -maman_ibaz_do_something (MamanIbaz *self) -{ - g_return_if_fail (MAMAN_IS_IBAZ (self)); - - MAMAN_IBAZ_GET_INTERFACE (self)->do_something (self); -} -</pre> -<p> - </p> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/howto-signals.html b/gtk+-mingw/share/gtk-doc/html/gobject/howto-signals.html deleted file mode 100644 index 27ab1f7..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/howto-signals.html +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>How to create and use signals</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt02.html" title="Part IV. Tutorial"> -<link rel="prev" href="howto-interface-override.html" title="Overriding interface methods"> -<link rel="next" href="pt03.html" title="Part V. Related Tools"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-interface-override.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt02.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">GObject Reference Manual</th> -<td><a accesskey="n" href="pt03.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="howto-signals"></a>How to create and use signals</h2></div></div></div> -<div class="toc"><dl><dt><span class="sect1"><a href="howto-signals.html#howto-simple-signals">Simple use of signals</a></span></dt></dl></div> -<p> - The signal system which was built in GType is pretty complex and - flexible: it is possible for its users to connect at runtime any - number of callbacks (implemented in any language for which a binding - exists) - <sup>[<a name="idp21779776" href="#ftn.idp21779776" class="footnote">13</a>]</sup> - to any signal and to stop the emission of any signal at any - state of the signal emission process. This flexibility makes it - possible to use GSignal for much more than just emit signals which - can be received by numerous clients. - </p> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="howto-simple-signals"></a>Simple use of signals</h2></div></div></div> -<p> - The most basic use of signals is to implement simple event - notification: for example, if we have a MamanFile object, and - if this object has a write method, we might wish to be notified - whenever someone has changed something via our MamanFile instance. - The code below shows how the user can connect a callback to the - "changed" signal. -</p> -<pre class="programlisting"> -file = g_object_new (MAMAN_FILE_TYPE, NULL); - -g_signal_connect (file, "changed", G_CALLBACK (changed_event), NULL); - -maman_file_write (file, buffer, strlen (buffer)); -</pre> -<p> - </p> -<p> - The <span class="type">MamanFile</span> signal is registered in the class_init - function: -</p> -<pre class="programlisting"> -file_signals[CHANGED] = - g_signal_newv ("changed", - G_TYPE_FROM_CLASS (gobject_class), - G_SIGNAL_RUN_LAST | G_SIGNAL_NO_RECURSE | G_SIGNAL_NO_HOOKS, - NULL /* closure */, - NULL /* accumulator */, - NULL /* accumulator data */, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE /* return_type */, - 0 /* n_params */, - NULL /* param_types */); -</pre> -<p> - and the signal is emitted in <code class="function">maman_file_write</code>: -</p> -<pre class="programlisting"> -void -maman_file_write (MamanFile *self, - const guchar *buffer, - gssize size) -{ - /* First write data. */ - - /* Then, notify user of data written. */ - g_signal_emit (self, file_signals[CHANGED], 0 /* details */); -} -</pre> -<p> - As shown above, you can safely set the details parameter to zero if - you do not know what it can be used for. For a discussion of what you - could used it for, see <a class="xref" href="signal.html#signal-detail" title="The detail argument">the section called “The <span class="emphasis"><em>detail</em></span> argument”</a> - </p> -<p> - The signature of the signal handler in the above example is defined as - <code class="function">g_cclosure_marshal_VOID__VOID</code>. Its name follows - a simple convention which encodes the function parameter and return value - types in the function name. Specifically, the value in front of the - double underscore is the type of the return value, while the value(s) - after the double underscore denote the parameter types. - </p> -<p> - The header <code class="filename">gobject/gmarshal.h</code> defines a set of - commonly needed closures that one can use. If you want to have complex - marshallers for your signals you should probably use glib-genmarshal - to autogenerate them from a file containing their return and - parameter types. - </p> -</div> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp21779776" href="#idp21779776" class="para">13</a>] </sup>A Python callback can be connected to any signal on any - C-based GObject. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/index.html b/gtk+-mingw/share/gtk-doc/html/gobject/index.html deleted file mode 100644 index 6c49605..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/index.html +++ /dev/null @@ -1,197 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GObject Reference Manual</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="next" href="pr01.html" title="Introduction"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<div class="book"> -<div class="titlepage"> -<div> -<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GObject Reference Manual</p></th></tr></table></div> -<div><p class="releaseinfo"> - for GObject 2.33.8 - - The latest version of this documentation can be found on-line at - <a class="ulink" href="http://library.gnome.org/devel/gobject/unstable/" target="_top">http://library.gnome.org/devel/gobject/unstable/</a>. - </p></div> -</div> -<hr> -</div> -<div class="toc"><dl> -<dt><span class="preface"><a href="pr01.html">Introduction</a></span></dt> -<dt><span class="part"><a href="pt01.html">I. Concepts</a></span></dt> -<dd><dl> -<dt><span class="chapter"><a href="chapter-intro.html">Background</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-intro.html#idp6598384">Data types and programming</a></span></dt> -<dt><span class="sect1"><a href="ch01s02.html">Exporting a C API</a></span></dt> -</dl></dd> -<dt><span class="chapter"><a href="chapter-gtype.html">The GLib Dynamic Type System</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-gtype.html#gtype-copy">Copy functions</a></span></dt> -<dt><span class="sect1"><a href="gtype-conventions.html">Conventions</a></span></dt> -<dt><span class="sect1"><a href="gtype-non-instantiable.html">Non-instantiable non-classed fundamental types</a></span></dt> -<dt><span class="sect1"><a href="gtype-instantiable-classed.html">Instantiable classed types: objects</a></span></dt> -<dd><dl><dt><span class="sect2"><a href="gtype-instantiable-classed.html#gtype-instantiable-classed-init-done">Initialization and Destruction</a></span></dt></dl></dd> -<dt><span class="sect1"><a href="gtype-non-instantiable-classed.html">Non-instantiable classed types: interfaces</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-init">Interface Initialization</a></span></dt> -<dt><span class="sect2"><a href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-dest">Interface Destruction</a></span></dt> -</dl></dd> -</dl></dd> -<dt><span class="chapter"><a href="chapter-gobject.html">The GObject base class</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-gobject.html#gobject-instantiation">Object instantiation</a></span></dt> -<dt><span class="sect1"><a href="gobject-memory.html">Object memory management</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-refcount">Reference count</a></span></dt> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-weakref">Weak References</a></span></dt> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-cycles">Reference counts and cycles</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="gobject-properties.html">Object properties</a></span></dt> -<dd><dl><dt><span class="sect2"><a href="gobject-properties.html#gobject-multi-properties">Accessing multiple properties at once</a></span></dt></dl></dd> -</dl></dd> -<dt><span class="chapter"><a href="chapter-signal.html">The GObject messaging system</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-signal.html#closure">Closures</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="chapter-signal.html#idp9473520">C Closures</a></span></dt> -<dt><span class="sect2"><a href="chapter-signal.html#idp6382272">Non-C closures (for the fearless)</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="signal.html">Signals</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="signal.html#signal-registration">Signal registration</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-connection">Signal connection</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-emission">Signal emission</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-detail">The <span class="emphasis"><em>detail</em></span> argument</a></span></dt> -</dl></dd> -</dl></dd> -</dl></dd> -<dt><span class="reference"><a href="rn01.html">II. API Reference</a></span></dt> -<dd><dl> -<dt> -<span class="refentrytitle"><a href="gobject-Type-Information.html">Type Information</a></span><span class="refpurpose"> — The GLib Runtime type identification and - management system</span> -</dt> -<dt> -<span class="refentrytitle"><a href="GTypePlugin.html">GTypePlugin</a></span><span class="refpurpose"> — An interface for dynamically loadable types</span> -</dt> -<dt> -<span class="refentrytitle"><a href="GTypeModule.html">GTypeModule</a></span><span class="refpurpose"> — Type loading modules</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-The-Base-Object-Type.html">GObject</a></span><span class="refpurpose"> — The base object type</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Enumeration-and-Flag-Types.html">Enumeration and Flag Types</a></span><span class="refpurpose"> — Enumeration and flags types</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Boxed-Types.html">Boxed Types</a></span><span class="refpurpose"> — A mechanism to wrap opaque C structures registered - by the type system</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Generic-values.html">Generic values</a></span><span class="refpurpose"> — A polymorphic type that can hold values of any - other type</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Standard-Parameter-and-Value-Types.html">Parameters and Values</a></span><span class="refpurpose"> — Standard Parameter and Value Types</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-GParamSpec.html">GParamSpec</a></span><span class="refpurpose"> — Metadata for parameter specifications</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Varargs-Value-Collection.html">Varargs Value Collection</a></span><span class="refpurpose"> — Converting varargs to generic values</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Signals.html">Signals</a></span><span class="refpurpose"> — A means for customization of object behaviour - and a general purpose notification mechanism</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Closures.html">Closures</a></span><span class="refpurpose"> — Functions as first-class objects</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Value-arrays.html">Value arrays</a></span><span class="refpurpose"> — A container structure to maintain an array of - generic values</span> -</dt> -<dt> -<span class="refentrytitle"><a href="GBinding.html">GBinding</a></span><span class="refpurpose"> — Bind two object properties</span> -</dt> -</dl></dd> -<dt><span class="reference"><a href="rn02.html">III. Tools Reference</a></span></dt> -<dd><dl> -<dt> -<span class="refentrytitle"><a href="glib-mkenums.html">glib-mkenums</a></span><span class="refpurpose"> — C language enum description generation utility</span> -</dt> -<dt> -<span class="refentrytitle"><a href="glib-genmarshal.html">glib-genmarshal</a></span><span class="refpurpose"> — C code marshaller generation utility for GLib closures</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-query.html">gobject-query</a></span><span class="refpurpose"> — display a tree of types</span> -</dt> -</dl></dd> -<dt><span class="part"><a href="pt02.html">IV. Tutorial</a></span></dt> -<dd><dl> -<dt><span class="chapter"><a href="howto-gobject.html">How to define and implement a new GObject</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="howto-gobject.html#howto-gobject-header">Boilerplate header code</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-code.html">Boilerplate code</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-construction.html">Object Construction</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-destruction.html">Object Destruction</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-methods.html">Object methods</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21629936">Non-virtual public methods</a></span></dt> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21632928">Virtual public methods</a></span></dt> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21643024">Virtual private Methods</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="howto-gobject-chainup.html">Chaining up</a></span></dt> -</dl></dd> -<dt><span class="chapter"><a href="howto-interface.html">How to define and implement interfaces</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="howto-interface.html#howto-interface-define">How to define an interface</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-implement.html">How to implement an interface</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-prerequisite.html">Interface definition prerequisites</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-properties.html">Interface properties</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-override.html">Overriding interface methods</a></span></dt> -</dl></dd> -<dt><span class="chapter"><a href="howto-signals.html">How to create and use signals</a></span></dt> -<dd><dl><dt><span class="sect1"><a href="howto-signals.html#howto-simple-signals">Simple use of signals</a></span></dt></dl></dd> -</dl></dd> -<dt><span class="part"><a href="pt03.html">V. Related Tools</a></span></dt> -<dd><dl> -<dt><span class="chapter"><a href="tools-vala.html">Vala</a></span></dt> -<dt><span class="chapter"><a href="tools-gob.html">GObject builder</a></span></dt> -<dt><span class="chapter"><a href="tools-ginspector.html">Graphical inspection of GObjects</a></span></dt> -<dt><span class="chapter"><a href="tools-refdb.html">Debugging reference count problems</a></span></dt> -<dt><span class="chapter"><a href="tools-gtkdoc.html">Writing API docs</a></span></dt> -</dl></dd> -<dt><span class="index"><a href="api-index-full.html">Index</a></span></dt> -<dt><span class="index"><a href="api-index-deprecated.html">Index of deprecated symbols</a></span></dt> -<dt><span class="index"><a href="api-index-2-2.html">Index of new symbols in 2.2</a></span></dt> -<dt><span class="index"><a href="api-index-2-4.html">Index of new symbols in 2.4</a></span></dt> -<dt><span class="index"><a href="api-index-2-6.html">Index of new symbols in 2.6</a></span></dt> -<dt><span class="index"><a href="api-index-2-8.html">Index of new symbols in 2.8</a></span></dt> -<dt><span class="index"><a href="api-index-2-10.html">Index of new symbols in 2.10</a></span></dt> -<dt><span class="index"><a href="api-index-2-12.html">Index of new symbols in 2.12</a></span></dt> -<dt><span class="index"><a href="api-index-2-14.html">Index of new symbols in 2.14</a></span></dt> -<dt><span class="index"><a href="api-index-2-18.html">Index of new symbols in 2.18</a></span></dt> -<dt><span class="index"><a href="api-index-2-22.html">Index of new symbols in 2.22</a></span></dt> -<dt><span class="index"><a href="api-index-2-24.html">Index of new symbols in 2.24</a></span></dt> -<dt><span class="index"><a href="api-index-2-26.html">Index of new symbols in 2.26</a></span></dt> -<dt><span class="index"><a href="api-index-2-28.html">Index of new symbols in 2.28</a></span></dt> -<dt><span class="index"><a href="api-index-2-30.html">Index of new symbols in 2.30</a></span></dt> -<dt><span class="index"><a href="api-index-2-32.html">Index of new symbols in 2.32</a></span></dt> -<dt><span class="index"><a href="api-index-2-34.html">Index of new symbols in 2.34</a></span></dt> -<dt><span class="glossary"><a href="annotation-glossary.html">Annotation Glossary</a></span></dt> -</dl></div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/index.sgml b/gtk+-mingw/share/gtk-doc/html/gobject/index.sgml deleted file mode 100644 index da80f53..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/index.sgml +++ /dev/null @@ -1,846 +0,0 @@ -<ONLINE href="http://library.gnome.org/devel/gobject/unstable/"> -<ANCHOR id="gobject-Type-Information" href="gobject/gobject-Type-Information.html"> -<ANCHOR id="gobject-Type-Information.synopsis" href="gobject/gobject-Type-Information.html#gobject-Type-Information.synopsis"> -<ANCHOR id="gobject-Type-Information.description" href="gobject/gobject-Type-Information.html#gobject-Type-Information.description"> -<ANCHOR id="gobject-Type-Information.details" href="gobject/gobject-Type-Information.html#gobject-Type-Information.details"> -<ANCHOR id="GType" href="gobject/gobject-Type-Information.html#GType"> -<ANCHOR id="G-TYPE-FUNDAMENTAL:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FUNDAMENTAL:CAPS"> -<ANCHOR id="G-TYPE-FUNDAMENTAL-MAX:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FUNDAMENTAL-MAX:CAPS"> -<ANCHOR id="G-TYPE-MAKE-FUNDAMENTAL:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-MAKE-FUNDAMENTAL:CAPS"> -<ANCHOR id="G-TYPE-IS-ABSTRACT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-ABSTRACT:CAPS"> -<ANCHOR id="G-TYPE-IS-DERIVED:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-DERIVED:CAPS"> -<ANCHOR id="G-TYPE-IS-FUNDAMENTAL:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-FUNDAMENTAL:CAPS"> -<ANCHOR id="G-TYPE-IS-VALUE-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-VALUE-TYPE:CAPS"> -<ANCHOR id="G-TYPE-HAS-VALUE-TABLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-HAS-VALUE-TABLE:CAPS"> -<ANCHOR id="G-TYPE-IS-CLASSED:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-CLASSED:CAPS"> -<ANCHOR id="G-TYPE-IS-INSTANTIATABLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-INSTANTIATABLE:CAPS"> -<ANCHOR id="G-TYPE-IS-DERIVABLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-DERIVABLE:CAPS"> -<ANCHOR id="G-TYPE-IS-DEEP-DERIVABLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-DEEP-DERIVABLE:CAPS"> -<ANCHOR id="G-TYPE-IS-INTERFACE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-IS-INTERFACE:CAPS"> -<ANCHOR id="GTypeInterface" href="gobject/gobject-Type-Information.html#GTypeInterface"> -<ANCHOR id="GTypeInstance" href="gobject/gobject-Type-Information.html#GTypeInstance"> -<ANCHOR id="GTypeClass" href="gobject/gobject-Type-Information.html#GTypeClass"> -<ANCHOR id="GTypeInfo" href="gobject/gobject-Type-Information.html#GTypeInfo"> -<ANCHOR id="GTypeFundamentalInfo" href="gobject/gobject-Type-Information.html#GTypeFundamentalInfo"> -<ANCHOR id="GInterfaceInfo" href="gobject/gobject-Type-Information.html#GInterfaceInfo"> -<ANCHOR id="GTypeValueTable" href="gobject/gobject-Type-Information.html#GTypeValueTable"> -<ANCHOR id="G-TYPE-FROM-INSTANCE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FROM-INSTANCE:CAPS"> -<ANCHOR id="G-TYPE-FROM-CLASS:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FROM-CLASS:CAPS"> -<ANCHOR id="G-TYPE-FROM-INTERFACE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FROM-INTERFACE:CAPS"> -<ANCHOR id="G-TYPE-INSTANCE-GET-CLASS:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-INSTANCE-GET-CLASS:CAPS"> -<ANCHOR id="G-TYPE-INSTANCE-GET-INTERFACE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-INSTANCE-GET-INTERFACE:CAPS"> -<ANCHOR id="G-TYPE-INSTANCE-GET-PRIVATE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-INSTANCE-GET-PRIVATE:CAPS"> -<ANCHOR id="G-TYPE-CLASS-GET-PRIVATE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CLASS-GET-PRIVATE:CAPS"> -<ANCHOR id="G-TYPE-CHECK-INSTANCE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE:CAPS"> -<ANCHOR id="G-TYPE-CHECK-INSTANCE-CAST:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-CAST:CAPS"> -<ANCHOR id="G-TYPE-CHECK-INSTANCE-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-TYPE:CAPS"> -<ANCHOR id="G-TYPE-CHECK-CLASS-CAST:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHECK-CLASS-CAST:CAPS"> -<ANCHOR id="G-TYPE-CHECK-CLASS-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHECK-CLASS-TYPE:CAPS"> -<ANCHOR id="G-TYPE-CHECK-VALUE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHECK-VALUE:CAPS"> -<ANCHOR id="G-TYPE-CHECK-VALUE-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHECK-VALUE-TYPE:CAPS"> -<ANCHOR id="G-TYPE-FLAG-RESERVED-ID-BIT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAG-RESERVED-ID-BIT:CAPS"> -<ANCHOR id="g-type-init" href="gobject/gobject-Type-Information.html#g-type-init"> -<ANCHOR id="GTypeDebugFlags" href="gobject/gobject-Type-Information.html#GTypeDebugFlags"> -<ANCHOR id="G-TYPE-DEBUG-NONE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-DEBUG-NONE:CAPS"> -<ANCHOR id="G-TYPE-DEBUG-OBJECTS:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-DEBUG-OBJECTS:CAPS"> -<ANCHOR id="G-TYPE-DEBUG-SIGNALS:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-DEBUG-SIGNALS:CAPS"> -<ANCHOR id="G-TYPE-DEBUG-MASK:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-DEBUG-MASK:CAPS"> -<ANCHOR id="g-type-init-with-debug-flags" href="gobject/gobject-Type-Information.html#g-type-init-with-debug-flags"> -<ANCHOR id="g-type-name" href="gobject/gobject-Type-Information.html#g-type-name"> -<ANCHOR id="g-type-qname" href="gobject/gobject-Type-Information.html#g-type-qname"> -<ANCHOR id="g-type-from-name" href="gobject/gobject-Type-Information.html#g-type-from-name"> -<ANCHOR id="g-type-parent" href="gobject/gobject-Type-Information.html#g-type-parent"> -<ANCHOR id="g-type-depth" href="gobject/gobject-Type-Information.html#g-type-depth"> -<ANCHOR id="g-type-next-base" href="gobject/gobject-Type-Information.html#g-type-next-base"> -<ANCHOR id="g-type-is-a" href="gobject/gobject-Type-Information.html#g-type-is-a"> -<ANCHOR id="g-type-class-ref" href="gobject/gobject-Type-Information.html#g-type-class-ref"> -<ANCHOR id="g-type-class-peek" href="gobject/gobject-Type-Information.html#g-type-class-peek"> -<ANCHOR id="g-type-class-peek-static" href="gobject/gobject-Type-Information.html#g-type-class-peek-static"> -<ANCHOR id="g-type-class-unref" href="gobject/gobject-Type-Information.html#g-type-class-unref"> -<ANCHOR id="g-type-class-peek-parent" href="gobject/gobject-Type-Information.html#g-type-class-peek-parent"> -<ANCHOR id="g-type-class-add-private" href="gobject/gobject-Type-Information.html#g-type-class-add-private"> -<ANCHOR id="g-type-add-class-private" href="gobject/gobject-Type-Information.html#g-type-add-class-private"> -<ANCHOR id="g-type-interface-peek" href="gobject/gobject-Type-Information.html#g-type-interface-peek"> -<ANCHOR id="g-type-interface-peek-parent" href="gobject/gobject-Type-Information.html#g-type-interface-peek-parent"> -<ANCHOR id="g-type-default-interface-ref" href="gobject/gobject-Type-Information.html#g-type-default-interface-ref"> -<ANCHOR id="g-type-default-interface-peek" href="gobject/gobject-Type-Information.html#g-type-default-interface-peek"> -<ANCHOR id="g-type-default-interface-unref" href="gobject/gobject-Type-Information.html#g-type-default-interface-unref"> -<ANCHOR id="g-type-children" href="gobject/gobject-Type-Information.html#g-type-children"> -<ANCHOR id="g-type-interfaces" href="gobject/gobject-Type-Information.html#g-type-interfaces"> -<ANCHOR id="g-type-interface-prerequisites" href="gobject/gobject-Type-Information.html#g-type-interface-prerequisites"> -<ANCHOR id="g-type-set-qdata" href="gobject/gobject-Type-Information.html#g-type-set-qdata"> -<ANCHOR id="g-type-get-qdata" href="gobject/gobject-Type-Information.html#g-type-get-qdata"> -<ANCHOR id="g-type-query" href="gobject/gobject-Type-Information.html#g-type-query"> -<ANCHOR id="GTypeQuery" href="gobject/gobject-Type-Information.html#GTypeQuery"> -<ANCHOR id="GBaseInitFunc" href="gobject/gobject-Type-Information.html#GBaseInitFunc"> -<ANCHOR id="GBaseFinalizeFunc" href="gobject/gobject-Type-Information.html#GBaseFinalizeFunc"> -<ANCHOR id="GClassInitFunc" href="gobject/gobject-Type-Information.html#GClassInitFunc"> -<ANCHOR id="GClassFinalizeFunc" href="gobject/gobject-Type-Information.html#GClassFinalizeFunc"> -<ANCHOR id="GInstanceInitFunc" href="gobject/gobject-Type-Information.html#GInstanceInitFunc"> -<ANCHOR id="GInterfaceInitFunc" href="gobject/gobject-Type-Information.html#GInterfaceInitFunc"> -<ANCHOR id="GInterfaceFinalizeFunc" href="gobject/gobject-Type-Information.html#GInterfaceFinalizeFunc"> -<ANCHOR id="GTypeClassCacheFunc" href="gobject/gobject-Type-Information.html#GTypeClassCacheFunc"> -<ANCHOR id="GTypeFlags" href="gobject/gobject-Type-Information.html#GTypeFlags"> -<ANCHOR id="G-TYPE-FLAG-ABSTRACT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAG-ABSTRACT:CAPS"> -<ANCHOR id="G-TYPE-FLAG-VALUE-ABSTRACT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAG-VALUE-ABSTRACT:CAPS"> -<ANCHOR id="GTypeFundamentalFlags" href="gobject/gobject-Type-Information.html#GTypeFundamentalFlags"> -<ANCHOR id="G-TYPE-FLAG-CLASSED:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAG-CLASSED:CAPS"> -<ANCHOR id="G-TYPE-FLAG-INSTANTIATABLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAG-INSTANTIATABLE:CAPS"> -<ANCHOR id="G-TYPE-FLAG-DERIVABLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAG-DERIVABLE:CAPS"> -<ANCHOR id="G-TYPE-FLAG-DEEP-DERIVABLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAG-DEEP-DERIVABLE:CAPS"> -<ANCHOR id="g-type-register-static" href="gobject/gobject-Type-Information.html#g-type-register-static"> -<ANCHOR id="g-type-register-static-simple" href="gobject/gobject-Type-Information.html#g-type-register-static-simple"> -<ANCHOR id="g-type-register-dynamic" href="gobject/gobject-Type-Information.html#g-type-register-dynamic"> -<ANCHOR id="g-type-register-fundamental" href="gobject/gobject-Type-Information.html#g-type-register-fundamental"> -<ANCHOR id="g-type-add-interface-static" href="gobject/gobject-Type-Information.html#g-type-add-interface-static"> -<ANCHOR id="g-type-add-interface-dynamic" href="gobject/gobject-Type-Information.html#g-type-add-interface-dynamic"> -<ANCHOR id="g-type-interface-add-prerequisite" href="gobject/gobject-Type-Information.html#g-type-interface-add-prerequisite"> -<ANCHOR id="g-type-get-plugin" href="gobject/gobject-Type-Information.html#g-type-get-plugin"> -<ANCHOR id="g-type-interface-get-plugin" href="gobject/gobject-Type-Information.html#g-type-interface-get-plugin"> -<ANCHOR id="g-type-fundamental-next" href="gobject/gobject-Type-Information.html#g-type-fundamental-next"> -<ANCHOR id="g-type-fundamental" href="gobject/gobject-Type-Information.html#g-type-fundamental"> -<ANCHOR id="g-type-create-instance" href="gobject/gobject-Type-Information.html#g-type-create-instance"> -<ANCHOR id="g-type-free-instance" href="gobject/gobject-Type-Information.html#g-type-free-instance"> -<ANCHOR id="g-type-add-class-cache-func" href="gobject/gobject-Type-Information.html#g-type-add-class-cache-func"> -<ANCHOR id="g-type-remove-class-cache-func" href="gobject/gobject-Type-Information.html#g-type-remove-class-cache-func"> -<ANCHOR id="g-type-class-unref-uncached" href="gobject/gobject-Type-Information.html#g-type-class-unref-uncached"> -<ANCHOR id="g-type-add-interface-check" href="gobject/gobject-Type-Information.html#g-type-add-interface-check"> -<ANCHOR id="g-type-remove-interface-check" href="gobject/gobject-Type-Information.html#g-type-remove-interface-check"> -<ANCHOR id="GTypeInterfaceCheckFunc" href="gobject/gobject-Type-Information.html#GTypeInterfaceCheckFunc"> -<ANCHOR id="g-type-value-table-peek" href="gobject/gobject-Type-Information.html#g-type-value-table-peek"> -<ANCHOR id="g-type-ensure" href="gobject/gobject-Type-Information.html#g-type-ensure"> -<ANCHOR id="G-DEFINE-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-TYPE:CAPS"> -<ANCHOR id="G-DEFINE-TYPE-WITH-CODE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS"> -<ANCHOR id="G-DEFINE-ABSTRACT-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE:CAPS"> -<ANCHOR id="G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS"> -<ANCHOR id="G-DEFINE-INTERFACE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-INTERFACE:CAPS"> -<ANCHOR id="G-DEFINE-INTERFACE-WITH-CODE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-INTERFACE-WITH-CODE:CAPS"> -<ANCHOR id="G-IMPLEMENT-INTERFACE:CAPS" href="gobject/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"> -<ANCHOR id="G-DEFINE-TYPE-EXTENDED:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-TYPE-EXTENDED:CAPS"> -<ANCHOR id="G-DEFINE-BOXED-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-BOXED-TYPE:CAPS"> -<ANCHOR id="G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-BOXED-TYPE-WITH-CODE:CAPS"> -<ANCHOR id="G-DEFINE-POINTER-TYPE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-POINTER-TYPE:CAPS"> -<ANCHOR id="G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS" href="gobject/gobject-Type-Information.html#G-DEFINE-POINTER-TYPE-WITH-CODE:CAPS"> -<ANCHOR id="G-TYPE-INVALID:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-INVALID:CAPS"> -<ANCHOR id="G-TYPE-NONE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS"> -<ANCHOR id="G-TYPE-INTERFACE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-INTERFACE:CAPS"> -<ANCHOR id="G-TYPE-CHAR:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-CHAR:CAPS"> -<ANCHOR id="G-TYPE-UCHAR:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-UCHAR:CAPS"> -<ANCHOR id="G-TYPE-BOOLEAN:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"> -<ANCHOR id="G-TYPE-INT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"> -<ANCHOR id="G-TYPE-UINT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"> -<ANCHOR id="G-TYPE-LONG:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-LONG:CAPS"> -<ANCHOR id="G-TYPE-ULONG:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-ULONG:CAPS"> -<ANCHOR id="G-TYPE-INT64:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-INT64:CAPS"> -<ANCHOR id="G-TYPE-UINT64:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-UINT64:CAPS"> -<ANCHOR id="G-TYPE-ENUM:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-ENUM:CAPS"> -<ANCHOR id="G-TYPE-FLAGS:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLAGS:CAPS"> -<ANCHOR id="G-TYPE-FLOAT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-FLOAT:CAPS"> -<ANCHOR id="G-TYPE-DOUBLE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"> -<ANCHOR id="G-TYPE-STRING:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-STRING:CAPS"> -<ANCHOR id="G-TYPE-POINTER:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-POINTER:CAPS"> -<ANCHOR id="G-TYPE-BOXED:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-BOXED:CAPS"> -<ANCHOR id="G-TYPE-PARAM:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-PARAM:CAPS"> -<ANCHOR id="G-TYPE-OBJECT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-OBJECT:CAPS"> -<ANCHOR id="G-TYPE-GTYPE:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-GTYPE:CAPS"> -<ANCHOR id="G-TYPE-VARIANT:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-VARIANT:CAPS"> -<ANCHOR id="G-TYPE-RESERVED-GLIB-FIRST:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-FIRST:CAPS"> -<ANCHOR id="G-TYPE-RESERVED-GLIB-LAST:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-RESERVED-GLIB-LAST:CAPS"> -<ANCHOR id="G-TYPE-RESERVED-BSE-FIRST:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-RESERVED-BSE-FIRST:CAPS"> -<ANCHOR id="G-TYPE-RESERVED-BSE-LAST:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-RESERVED-BSE-LAST:CAPS"> -<ANCHOR id="G-TYPE-RESERVED-USER-FIRST:CAPS" href="gobject/gobject-Type-Information.html#G-TYPE-RESERVED-USER-FIRST:CAPS"> -<ANCHOR id="GTypePlugin" href="gobject/GTypePlugin.html"> -<ANCHOR id="GTypePlugin.synopsis" href="gobject/GTypePlugin.html#GTypePlugin.synopsis"> -<ANCHOR id="GTypePlugin.object-hierarchy" href="gobject/GTypePlugin.html#GTypePlugin.object-hierarchy"> -<ANCHOR id="GTypePlugin.implementations" href="gobject/GTypePlugin.html#GTypePlugin.implementations"> -<ANCHOR id="GTypePlugin.description" href="gobject/GTypePlugin.html#GTypePlugin.description"> -<ANCHOR id="GTypePlugin.details" href="gobject/GTypePlugin.html#GTypePlugin.details"> -<ANCHOR id="GTypePlugin-struct" href="gobject/GTypePlugin.html#GTypePlugin-struct"> -<ANCHOR id="GTypePluginClass" href="gobject/GTypePlugin.html#GTypePluginClass"> -<ANCHOR id="GTypePluginUse" href="gobject/GTypePlugin.html#GTypePluginUse"> -<ANCHOR id="GTypePluginUnuse" href="gobject/GTypePlugin.html#GTypePluginUnuse"> -<ANCHOR id="GTypePluginCompleteTypeInfo" href="gobject/GTypePlugin.html#GTypePluginCompleteTypeInfo"> -<ANCHOR id="GTypePluginCompleteInterfaceInfo" href="gobject/GTypePlugin.html#GTypePluginCompleteInterfaceInfo"> -<ANCHOR id="g-type-plugin-use" href="gobject/GTypePlugin.html#g-type-plugin-use"> -<ANCHOR id="g-type-plugin-unuse" href="gobject/GTypePlugin.html#g-type-plugin-unuse"> -<ANCHOR id="g-type-plugin-complete-type-info" href="gobject/GTypePlugin.html#g-type-plugin-complete-type-info"> -<ANCHOR id="g-type-plugin-complete-interface-info" href="gobject/GTypePlugin.html#g-type-plugin-complete-interface-info"> -<ANCHOR id="GTypePlugin.see-also" href="gobject/GTypePlugin.html#GTypePlugin.see-also"> -<ANCHOR id="GTypeModule" href="gobject/GTypeModule.html"> -<ANCHOR id="GTypeModule.synopsis" href="gobject/GTypeModule.html#GTypeModule.synopsis"> -<ANCHOR id="GTypeModule.object-hierarchy" href="gobject/GTypeModule.html#GTypeModule.object-hierarchy"> -<ANCHOR id="GTypeModule.implemented-interfaces" href="gobject/GTypeModule.html#GTypeModule.implemented-interfaces"> -<ANCHOR id="GTypeModule.description" href="gobject/GTypeModule.html#GTypeModule.description"> -<ANCHOR id="GTypeModule.details" href="gobject/GTypeModule.html#GTypeModule.details"> -<ANCHOR id="GTypeModule-struct" href="gobject/GTypeModule.html#GTypeModule-struct"> -<ANCHOR id="GTypeModuleClass" href="gobject/GTypeModule.html#GTypeModuleClass"> -<ANCHOR id="g-type-module-use" href="gobject/GTypeModule.html#g-type-module-use"> -<ANCHOR id="g-type-module-unuse" href="gobject/GTypeModule.html#g-type-module-unuse"> -<ANCHOR id="g-type-module-set-name" href="gobject/GTypeModule.html#g-type-module-set-name"> -<ANCHOR id="g-type-module-register-type" href="gobject/GTypeModule.html#g-type-module-register-type"> -<ANCHOR id="g-type-module-add-interface" href="gobject/GTypeModule.html#g-type-module-add-interface"> -<ANCHOR id="g-type-module-register-enum" href="gobject/GTypeModule.html#g-type-module-register-enum"> -<ANCHOR id="g-type-module-register-flags" href="gobject/GTypeModule.html#g-type-module-register-flags"> -<ANCHOR id="G-DEFINE-DYNAMIC-TYPE:CAPS" href="gobject/GTypeModule.html#G-DEFINE-DYNAMIC-TYPE:CAPS"> -<ANCHOR id="G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS" href="gobject/GTypeModule.html#G-DEFINE-DYNAMIC-TYPE-EXTENDED:CAPS"> -<ANCHOR id="G-IMPLEMENT-INTERFACE-DYNAMIC:CAPS" href="gobject/GTypeModule.html#G-IMPLEMENT-INTERFACE-DYNAMIC:CAPS"> -<ANCHOR id="GTypeModule.see-also" href="gobject/GTypeModule.html#GTypeModule.see-also"> -<ANCHOR id="gobject-The-Base-Object-Type" href="gobject/gobject-The-Base-Object-Type.html"> -<ANCHOR id="gobject-The-Base-Object-Type.synopsis" href="gobject/gobject-The-Base-Object-Type.html#gobject-The-Base-Object-Type.synopsis"> -<ANCHOR id="GObject" href="gobject/gobject-The-Base-Object-Type.html#GObject"> -<ANCHOR id="gobject-The-Base-Object-Type.object-hierarchy" href="gobject/gobject-The-Base-Object-Type.html#gobject-The-Base-Object-Type.object-hierarchy"> -<ANCHOR id="gobject-The-Base-Object-Type.signals" href="gobject/gobject-The-Base-Object-Type.html#gobject-The-Base-Object-Type.signals"> -<ANCHOR id="gobject-The-Base-Object-Type.description" href="gobject/gobject-The-Base-Object-Type.html#gobject-The-Base-Object-Type.description"> -<ANCHOR id="gobject-The-Base-Object-Type.details" href="gobject/gobject-The-Base-Object-Type.html#gobject-The-Base-Object-Type.details"> -<ANCHOR id="GObject-struct" href="gobject/gobject-The-Base-Object-Type.html#GObject-struct"> -<ANCHOR id="GObjectClass" href="gobject/gobject-The-Base-Object-Type.html#GObjectClass"> -<ANCHOR id="GObjectConstructParam" href="gobject/gobject-The-Base-Object-Type.html#GObjectConstructParam"> -<ANCHOR id="GObjectGetPropertyFunc" href="gobject/gobject-The-Base-Object-Type.html#GObjectGetPropertyFunc"> -<ANCHOR id="GObjectSetPropertyFunc" href="gobject/gobject-The-Base-Object-Type.html#GObjectSetPropertyFunc"> -<ANCHOR id="GObjectFinalizeFunc" href="gobject/gobject-The-Base-Object-Type.html#GObjectFinalizeFunc"> -<ANCHOR id="G-TYPE-IS-OBJECT:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-TYPE-IS-OBJECT:CAPS"> -<ANCHOR id="G-OBJECT:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS"> -<ANCHOR id="G-IS-OBJECT:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-IS-OBJECT:CAPS"> -<ANCHOR id="G-OBJECT-CLASS:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS"> -<ANCHOR id="G-IS-OBJECT-CLASS:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-IS-OBJECT-CLASS:CAPS"> -<ANCHOR id="G-OBJECT-GET-CLASS:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT-GET-CLASS:CAPS"> -<ANCHOR id="G-OBJECT-TYPE:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT-TYPE:CAPS"> -<ANCHOR id="G-OBJECT-TYPE-NAME:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT-TYPE-NAME:CAPS"> -<ANCHOR id="G-OBJECT-CLASS-TYPE:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-TYPE:CAPS"> -<ANCHOR id="G-OBJECT-CLASS-NAME:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS-NAME:CAPS"> -<ANCHOR id="g-object-class-install-property" href="gobject/gobject-The-Base-Object-Type.html#g-object-class-install-property"> -<ANCHOR id="g-object-class-install-properties" href="gobject/gobject-The-Base-Object-Type.html#g-object-class-install-properties"> -<ANCHOR id="g-object-class-find-property" href="gobject/gobject-The-Base-Object-Type.html#g-object-class-find-property"> -<ANCHOR id="g-object-class-list-properties" href="gobject/gobject-The-Base-Object-Type.html#g-object-class-list-properties"> -<ANCHOR id="g-object-class-override-property" href="gobject/gobject-The-Base-Object-Type.html#g-object-class-override-property"> -<ANCHOR id="g-object-interface-install-property" href="gobject/gobject-The-Base-Object-Type.html#g-object-interface-install-property"> -<ANCHOR id="g-object-interface-find-property" href="gobject/gobject-The-Base-Object-Type.html#g-object-interface-find-property"> -<ANCHOR id="g-object-interface-list-properties" href="gobject/gobject-The-Base-Object-Type.html#g-object-interface-list-properties"> -<ANCHOR id="g-object-new" href="gobject/gobject-The-Base-Object-Type.html#g-object-new"> -<ANCHOR id="g-object-newv" href="gobject/gobject-The-Base-Object-Type.html#g-object-newv"> -<ANCHOR id="GParameter" href="gobject/gobject-The-Base-Object-Type.html#GParameter"> -<ANCHOR id="g-object-ref" href="gobject/gobject-The-Base-Object-Type.html#g-object-ref"> -<ANCHOR id="g-object-unref" href="gobject/gobject-The-Base-Object-Type.html#g-object-unref"> -<ANCHOR id="g-object-ref-sink" href="gobject/gobject-The-Base-Object-Type.html#g-object-ref-sink"> -<ANCHOR id="g-clear-object" href="gobject/gobject-The-Base-Object-Type.html#g-clear-object"> -<ANCHOR id="GInitiallyUnowned" href="gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"> -<ANCHOR id="GInitiallyUnownedClass" href="gobject/gobject-The-Base-Object-Type.html#GInitiallyUnownedClass"> -<ANCHOR id="G-TYPE-INITIALLY-UNOWNED:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-TYPE-INITIALLY-UNOWNED:CAPS"> -<ANCHOR id="g-object-is-floating" href="gobject/gobject-The-Base-Object-Type.html#g-object-is-floating"> -<ANCHOR id="g-object-force-floating" href="gobject/gobject-The-Base-Object-Type.html#g-object-force-floating"> -<ANCHOR id="GWeakNotify" href="gobject/gobject-The-Base-Object-Type.html#GWeakNotify"> -<ANCHOR id="g-object-weak-ref" href="gobject/gobject-The-Base-Object-Type.html#g-object-weak-ref"> -<ANCHOR id="g-object-weak-unref" href="gobject/gobject-The-Base-Object-Type.html#g-object-weak-unref"> -<ANCHOR id="g-object-add-weak-pointer" href="gobject/gobject-The-Base-Object-Type.html#g-object-add-weak-pointer"> -<ANCHOR id="g-object-remove-weak-pointer" href="gobject/gobject-The-Base-Object-Type.html#g-object-remove-weak-pointer"> -<ANCHOR id="GToggleNotify" href="gobject/gobject-The-Base-Object-Type.html#GToggleNotify"> -<ANCHOR id="g-object-add-toggle-ref" href="gobject/gobject-The-Base-Object-Type.html#g-object-add-toggle-ref"> -<ANCHOR id="g-object-remove-toggle-ref" href="gobject/gobject-The-Base-Object-Type.html#g-object-remove-toggle-ref"> -<ANCHOR id="g-object-connect" href="gobject/gobject-The-Base-Object-Type.html#g-object-connect"> -<ANCHOR id="g-object-disconnect" href="gobject/gobject-The-Base-Object-Type.html#g-object-disconnect"> -<ANCHOR id="g-object-set" href="gobject/gobject-The-Base-Object-Type.html#g-object-set"> -<ANCHOR id="g-object-get" href="gobject/gobject-The-Base-Object-Type.html#g-object-get"> -<ANCHOR id="g-object-notify" href="gobject/gobject-The-Base-Object-Type.html#g-object-notify"> -<ANCHOR id="g-object-notify-by-pspec" href="gobject/gobject-The-Base-Object-Type.html#g-object-notify-by-pspec"> -<ANCHOR id="g-object-freeze-notify" href="gobject/gobject-The-Base-Object-Type.html#g-object-freeze-notify"> -<ANCHOR id="g-object-thaw-notify" href="gobject/gobject-The-Base-Object-Type.html#g-object-thaw-notify"> -<ANCHOR id="g-object-get-data" href="gobject/gobject-The-Base-Object-Type.html#g-object-get-data"> -<ANCHOR id="g-object-set-data" href="gobject/gobject-The-Base-Object-Type.html#g-object-set-data"> -<ANCHOR id="g-object-set-data-full" href="gobject/gobject-The-Base-Object-Type.html#g-object-set-data-full"> -<ANCHOR id="g-object-steal-data" href="gobject/gobject-The-Base-Object-Type.html#g-object-steal-data"> -<ANCHOR id="g-object-get-qdata" href="gobject/gobject-The-Base-Object-Type.html#g-object-get-qdata"> -<ANCHOR id="g-object-set-qdata" href="gobject/gobject-The-Base-Object-Type.html#g-object-set-qdata"> -<ANCHOR id="g-object-set-qdata-full" href="gobject/gobject-The-Base-Object-Type.html#g-object-set-qdata-full"> -<ANCHOR id="g-object-steal-qdata" href="gobject/gobject-The-Base-Object-Type.html#g-object-steal-qdata"> -<ANCHOR id="g-object-set-property" href="gobject/gobject-The-Base-Object-Type.html#g-object-set-property"> -<ANCHOR id="g-object-get-property" href="gobject/gobject-The-Base-Object-Type.html#g-object-get-property"> -<ANCHOR id="g-object-new-valist" href="gobject/gobject-The-Base-Object-Type.html#g-object-new-valist"> -<ANCHOR id="g-object-set-valist" href="gobject/gobject-The-Base-Object-Type.html#g-object-set-valist"> -<ANCHOR id="g-object-get-valist" href="gobject/gobject-The-Base-Object-Type.html#g-object-get-valist"> -<ANCHOR id="g-object-watch-closure" href="gobject/gobject-The-Base-Object-Type.html#g-object-watch-closure"> -<ANCHOR id="g-object-run-dispose" href="gobject/gobject-The-Base-Object-Type.html#g-object-run-dispose"> -<ANCHOR id="G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS" href="gobject/gobject-The-Base-Object-Type.html#G-OBJECT-WARN-INVALID-PROPERTY-ID:CAPS"> -<ANCHOR id="GWeakRef" href="gobject/gobject-The-Base-Object-Type.html#GWeakRef"> -<ANCHOR id="g-weak-ref-init" href="gobject/gobject-The-Base-Object-Type.html#g-weak-ref-init"> -<ANCHOR id="g-weak-ref-clear" href="gobject/gobject-The-Base-Object-Type.html#g-weak-ref-clear"> -<ANCHOR id="g-weak-ref-get" href="gobject/gobject-The-Base-Object-Type.html#g-weak-ref-get"> -<ANCHOR id="g-weak-ref-set" href="gobject/gobject-The-Base-Object-Type.html#g-weak-ref-set"> -<ANCHOR id="gobject-The-Base-Object-Type.signal-details" href="gobject/gobject-The-Base-Object-Type.html#gobject-The-Base-Object-Type.signal-details"> -<ANCHOR id="GObject-notify" href="gobject/gobject-The-Base-Object-Type.html#GObject-notify"> -<ANCHOR id="gobject-The-Base-Object-Type.see-also" href="gobject/gobject-The-Base-Object-Type.html#gobject-The-Base-Object-Type.see-also"> -<ANCHOR id="gobject-Enumeration-and-Flag-Types" href="gobject/gobject-Enumeration-and-Flag-Types.html"> -<ANCHOR id="gobject-Enumeration-and-Flag-Types.synopsis" href="gobject/gobject-Enumeration-and-Flag-Types.html#gobject-Enumeration-and-Flag-Types.synopsis"> -<ANCHOR id="gobject-Enumeration-and-Flag-Types.description" href="gobject/gobject-Enumeration-and-Flag-Types.html#gobject-Enumeration-and-Flag-Types.description"> -<ANCHOR id="gobject-Enumeration-and-Flag-Types.details" href="gobject/gobject-Enumeration-and-Flag-Types.html#gobject-Enumeration-and-Flag-Types.details"> -<ANCHOR id="GEnumClass" href="gobject/gobject-Enumeration-and-Flag-Types.html#GEnumClass"> -<ANCHOR id="GFlagsClass" href="gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsClass"> -<ANCHOR id="G-ENUM-CLASS-TYPE:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE:CAPS"> -<ANCHOR id="G-ENUM-CLASS-TYPE-NAME:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS-TYPE-NAME:CAPS"> -<ANCHOR id="G-TYPE-IS-ENUM:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-ENUM:CAPS"> -<ANCHOR id="G-ENUM-CLASS:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-ENUM-CLASS:CAPS"> -<ANCHOR id="G-IS-ENUM-CLASS:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-IS-ENUM-CLASS:CAPS"> -<ANCHOR id="G-TYPE-IS-FLAGS:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-TYPE-IS-FLAGS:CAPS"> -<ANCHOR id="G-FLAGS-CLASS:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS:CAPS"> -<ANCHOR id="G-IS-FLAGS-CLASS:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-IS-FLAGS-CLASS:CAPS"> -<ANCHOR id="G-FLAGS-CLASS-TYPE:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE:CAPS"> -<ANCHOR id="G-FLAGS-CLASS-TYPE-NAME:CAPS" href="gobject/gobject-Enumeration-and-Flag-Types.html#G-FLAGS-CLASS-TYPE-NAME:CAPS"> -<ANCHOR id="GEnumValue" href="gobject/gobject-Enumeration-and-Flag-Types.html#GEnumValue"> -<ANCHOR id="GFlagsValue" href="gobject/gobject-Enumeration-and-Flag-Types.html#GFlagsValue"> -<ANCHOR id="g-enum-get-value" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-enum-get-value"> -<ANCHOR id="g-enum-get-value-by-name" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-name"> -<ANCHOR id="g-enum-get-value-by-nick" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-enum-get-value-by-nick"> -<ANCHOR id="g-flags-get-first-value" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-flags-get-first-value"> -<ANCHOR id="g-flags-get-value-by-name" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-name"> -<ANCHOR id="g-flags-get-value-by-nick" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-flags-get-value-by-nick"> -<ANCHOR id="g-enum-register-static" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-enum-register-static"> -<ANCHOR id="g-flags-register-static" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-flags-register-static"> -<ANCHOR id="g-enum-complete-type-info" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-enum-complete-type-info"> -<ANCHOR id="g-flags-complete-type-info" href="gobject/gobject-Enumeration-and-Flag-Types.html#g-flags-complete-type-info"> -<ANCHOR id="gobject-Enumeration-and-Flag-Types.see-also" href="gobject/gobject-Enumeration-and-Flag-Types.html#gobject-Enumeration-and-Flag-Types.see-also"> -<ANCHOR id="gobject-Boxed-Types" href="gobject/gobject-Boxed-Types.html"> -<ANCHOR id="gobject-Boxed-Types.synopsis" href="gobject/gobject-Boxed-Types.html#gobject-Boxed-Types.synopsis"> -<ANCHOR id="gobject-Boxed-Types.description" href="gobject/gobject-Boxed-Types.html#gobject-Boxed-Types.description"> -<ANCHOR id="gobject-Boxed-Types.details" href="gobject/gobject-Boxed-Types.html#gobject-Boxed-Types.details"> -<ANCHOR id="GBoxedCopyFunc" href="gobject/gobject-Boxed-Types.html#GBoxedCopyFunc"> -<ANCHOR id="GBoxedFreeFunc" href="gobject/gobject-Boxed-Types.html#GBoxedFreeFunc"> -<ANCHOR id="g-boxed-copy" href="gobject/gobject-Boxed-Types.html#g-boxed-copy"> -<ANCHOR id="g-boxed-free" href="gobject/gobject-Boxed-Types.html#g-boxed-free"> -<ANCHOR id="g-boxed-type-register-static" href="gobject/gobject-Boxed-Types.html#g-boxed-type-register-static"> -<ANCHOR id="g-pointer-type-register-static" href="gobject/gobject-Boxed-Types.html#g-pointer-type-register-static"> -<ANCHOR id="G-TYPE-HASH-TABLE:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-HASH-TABLE:CAPS"> -<ANCHOR id="G-TYPE-DATE:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-DATE:CAPS"> -<ANCHOR id="G-TYPE-GSTRING:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-GSTRING:CAPS"> -<ANCHOR id="G-TYPE-STRV:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-STRV:CAPS"> -<ANCHOR id="G-TYPE-REGEX:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-REGEX:CAPS"> -<ANCHOR id="G-TYPE-MATCH-INFO:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-MATCH-INFO:CAPS"> -<ANCHOR id="G-TYPE-ARRAY:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-ARRAY:CAPS"> -<ANCHOR id="G-TYPE-BYTE-ARRAY:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-BYTE-ARRAY:CAPS"> -<ANCHOR id="G-TYPE-PTR-ARRAY:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-PTR-ARRAY:CAPS"> -<ANCHOR id="G-TYPE-BYTES:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-BYTES:CAPS"> -<ANCHOR id="G-TYPE-VARIANT-TYPE:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-VARIANT-TYPE:CAPS"> -<ANCHOR id="G-TYPE-ERROR:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-ERROR:CAPS"> -<ANCHOR id="G-TYPE-DATE-TIME:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-DATE-TIME:CAPS"> -<ANCHOR id="G-TYPE-IO-CHANNEL:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-IO-CHANNEL:CAPS"> -<ANCHOR id="G-TYPE-IO-CONDITION:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-IO-CONDITION:CAPS"> -<ANCHOR id="G-TYPE-VARIANT-BUILDER:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-VARIANT-BUILDER:CAPS"> -<ANCHOR id="G-TYPE-KEY-FILE:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-KEY-FILE:CAPS"> -<ANCHOR id="G-TYPE-MAIN-CONTEXT:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-MAIN-CONTEXT:CAPS"> -<ANCHOR id="G-TYPE-MAIN-LOOP:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-MAIN-LOOP:CAPS"> -<ANCHOR id="G-TYPE-SOURCE:CAPS" href="gobject/gobject-Boxed-Types.html#G-TYPE-SOURCE:CAPS"> -<ANCHOR id="GStrv" href="gobject/gobject-Boxed-Types.html#GStrv"> -<ANCHOR id="gobject-Boxed-Types.see-also" href="gobject/gobject-Boxed-Types.html#gobject-Boxed-Types.see-also"> -<ANCHOR id="gobject-Generic-values" href="gobject/gobject-Generic-values.html"> -<ANCHOR id="gobject-Generic-values.synopsis" href="gobject/gobject-Generic-values.html#gobject-Generic-values.synopsis"> -<ANCHOR id="gobject-Generic-values.description" href="gobject/gobject-Generic-values.html#gobject-Generic-values.description"> -<ANCHOR id="gobject-Generic-values.details" href="gobject/gobject-Generic-values.html#gobject-Generic-values.details"> -<ANCHOR id="G-VALUE-INIT:CAPS" href="gobject/gobject-Generic-values.html#G-VALUE-INIT:CAPS"> -<ANCHOR id="G-VALUE-HOLDS:CAPS" href="gobject/gobject-Generic-values.html#G-VALUE-HOLDS:CAPS"> -<ANCHOR id="G-VALUE-TYPE:CAPS" href="gobject/gobject-Generic-values.html#G-VALUE-TYPE:CAPS"> -<ANCHOR id="G-VALUE-TYPE-NAME:CAPS" href="gobject/gobject-Generic-values.html#G-VALUE-TYPE-NAME:CAPS"> -<ANCHOR id="G-TYPE-IS-VALUE:CAPS" href="gobject/gobject-Generic-values.html#G-TYPE-IS-VALUE:CAPS"> -<ANCHOR id="G-TYPE-IS-VALUE-ABSTRACT:CAPS" href="gobject/gobject-Generic-values.html#G-TYPE-IS-VALUE-ABSTRACT:CAPS"> -<ANCHOR id="G-IS-VALUE:CAPS" href="gobject/gobject-Generic-values.html#G-IS-VALUE:CAPS"> -<ANCHOR id="GValue" href="gobject/gobject-Generic-values.html#GValue"> -<ANCHOR id="G-TYPE-VALUE:CAPS" href="gobject/gobject-Generic-values.html#G-TYPE-VALUE:CAPS"> -<ANCHOR id="G-TYPE-VALUE-ARRAY:CAPS" href="gobject/gobject-Generic-values.html#G-TYPE-VALUE-ARRAY:CAPS"> -<ANCHOR id="g-value-init" href="gobject/gobject-Generic-values.html#g-value-init"> -<ANCHOR id="g-value-copy" href="gobject/gobject-Generic-values.html#g-value-copy"> -<ANCHOR id="g-value-reset" href="gobject/gobject-Generic-values.html#g-value-reset"> -<ANCHOR id="g-value-unset" href="gobject/gobject-Generic-values.html#g-value-unset"> -<ANCHOR id="g-value-set-instance" href="gobject/gobject-Generic-values.html#g-value-set-instance"> -<ANCHOR id="g-value-fits-pointer" href="gobject/gobject-Generic-values.html#g-value-fits-pointer"> -<ANCHOR id="g-value-peek-pointer" href="gobject/gobject-Generic-values.html#g-value-peek-pointer"> -<ANCHOR id="g-value-type-compatible" href="gobject/gobject-Generic-values.html#g-value-type-compatible"> -<ANCHOR id="g-value-type-transformable" href="gobject/gobject-Generic-values.html#g-value-type-transformable"> -<ANCHOR id="g-value-transform" href="gobject/gobject-Generic-values.html#g-value-transform"> -<ANCHOR id="GValueTransform" href="gobject/gobject-Generic-values.html#GValueTransform"> -<ANCHOR id="g-value-register-transform-func" href="gobject/gobject-Generic-values.html#g-value-register-transform-func"> -<ANCHOR id="g-strdup-value-contents" href="gobject/gobject-Generic-values.html#g-strdup-value-contents"> -<ANCHOR id="gobject-Generic-values.see-also" href="gobject/gobject-Generic-values.html#gobject-Generic-values.see-also"> -<ANCHOR id="gobject-Standard-Parameter-and-Value-Types" href="gobject/gobject-Standard-Parameter-and-Value-Types.html"> -<ANCHOR id="gobject-Standard-Parameter-and-Value-Types.synopsis" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#gobject-Standard-Parameter-and-Value-Types.synopsis"> -<ANCHOR id="gobject-Standard-Parameter-and-Value-Types.description" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#gobject-Standard-Parameter-and-Value-Types.description"> -<ANCHOR id="gobject-Standard-Parameter-and-Value-Types.details" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#gobject-Standard-Parameter-and-Value-Types.details"> -<ANCHOR id="G-IS-PARAM-SPEC-BOOLEAN:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOOLEAN:CAPS"> -<ANCHOR id="G-PARAM-SPEC-BOOLEAN:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOOLEAN:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-BOOLEAN:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOOLEAN:CAPS"> -<ANCHOR id="G-TYPE-PARAM-BOOLEAN:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOOLEAN:CAPS"> -<ANCHOR id="GParamSpecBoolean" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoolean"> -<ANCHOR id="g-param-spec-boolean" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boolean"> -<ANCHOR id="g-value-set-boolean" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boolean"> -<ANCHOR id="g-value-get-boolean" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boolean"> -<ANCHOR id="G-IS-PARAM-SPEC-CHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-CHAR:CAPS"> -<ANCHOR id="G-PARAM-SPEC-CHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-CHAR:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-CHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-CHAR:CAPS"> -<ANCHOR id="G-TYPE-PARAM-CHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-CHAR:CAPS"> -<ANCHOR id="GParamSpecChar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecChar"> -<ANCHOR id="g-param-spec-char" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-char"> -<ANCHOR id="g-value-set-char" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-char"> -<ANCHOR id="g-value-get-char" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-char"> -<ANCHOR id="g-value-get-schar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-schar"> -<ANCHOR id="g-value-set-schar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-schar"> -<ANCHOR id="G-IS-PARAM-SPEC-UCHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UCHAR:CAPS"> -<ANCHOR id="G-PARAM-SPEC-UCHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UCHAR:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-UCHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UCHAR:CAPS"> -<ANCHOR id="G-TYPE-PARAM-UCHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UCHAR:CAPS"> -<ANCHOR id="GParamSpecUChar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUChar"> -<ANCHOR id="g-param-spec-uchar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uchar"> -<ANCHOR id="g-value-set-uchar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uchar"> -<ANCHOR id="g-value-get-uchar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uchar"> -<ANCHOR id="G-IS-PARAM-SPEC-INT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT:CAPS"> -<ANCHOR id="G-PARAM-SPEC-INT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-INT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT:CAPS"> -<ANCHOR id="G-TYPE-PARAM-INT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT:CAPS"> -<ANCHOR id="GParamSpecInt" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt"> -<ANCHOR id="g-param-spec-int" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int"> -<ANCHOR id="g-value-set-int" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int"> -<ANCHOR id="g-value-get-int" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int"> -<ANCHOR id="G-IS-PARAM-SPEC-UINT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT:CAPS"> -<ANCHOR id="G-PARAM-SPEC-UINT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-UINT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT:CAPS"> -<ANCHOR id="G-TYPE-PARAM-UINT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT:CAPS"> -<ANCHOR id="GParamSpecUInt" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt"> -<ANCHOR id="g-param-spec-uint" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint"> -<ANCHOR id="g-value-set-uint" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint"> -<ANCHOR id="g-value-get-uint" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint"> -<ANCHOR id="G-IS-PARAM-SPEC-LONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-LONG:CAPS"> -<ANCHOR id="G-PARAM-SPEC-LONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-LONG:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-LONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-LONG:CAPS"> -<ANCHOR id="G-TYPE-PARAM-LONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-LONG:CAPS"> -<ANCHOR id="GParamSpecLong" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecLong"> -<ANCHOR id="g-param-spec-long" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-long"> -<ANCHOR id="g-value-set-long" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-long"> -<ANCHOR id="g-value-get-long" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-long"> -<ANCHOR id="G-IS-PARAM-SPEC-ULONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ULONG:CAPS"> -<ANCHOR id="G-PARAM-SPEC-ULONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ULONG:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-ULONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ULONG:CAPS"> -<ANCHOR id="G-TYPE-PARAM-ULONG:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ULONG:CAPS"> -<ANCHOR id="GParamSpecULong" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecULong"> -<ANCHOR id="g-param-spec-ulong" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-ulong"> -<ANCHOR id="g-value-set-ulong" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-ulong"> -<ANCHOR id="g-value-get-ulong" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-ulong"> -<ANCHOR id="G-IS-PARAM-SPEC-INT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-INT64:CAPS"> -<ANCHOR id="G-PARAM-SPEC-INT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-INT64:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-INT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-INT64:CAPS"> -<ANCHOR id="G-TYPE-PARAM-INT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-INT64:CAPS"> -<ANCHOR id="GParamSpecInt64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecInt64"> -<ANCHOR id="g-param-spec-int64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-int64"> -<ANCHOR id="g-value-set-int64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-int64"> -<ANCHOR id="g-value-get-int64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-int64"> -<ANCHOR id="G-IS-PARAM-SPEC-UINT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UINT64:CAPS"> -<ANCHOR id="G-PARAM-SPEC-UINT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UINT64:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-UINT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-UINT64:CAPS"> -<ANCHOR id="G-TYPE-PARAM-UINT64:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UINT64:CAPS"> -<ANCHOR id="GParamSpecUInt64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUInt64"> -<ANCHOR id="g-param-spec-uint64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-uint64"> -<ANCHOR id="g-value-set-uint64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-uint64"> -<ANCHOR id="g-value-get-uint64" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-uint64"> -<ANCHOR id="G-IS-PARAM-SPEC-FLOAT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLOAT:CAPS"> -<ANCHOR id="G-PARAM-SPEC-FLOAT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLOAT:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-FLOAT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLOAT:CAPS"> -<ANCHOR id="G-TYPE-PARAM-FLOAT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLOAT:CAPS"> -<ANCHOR id="GParamSpecFloat" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFloat"> -<ANCHOR id="g-param-spec-float" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-float"> -<ANCHOR id="g-value-set-float" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-float"> -<ANCHOR id="g-value-get-float" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-float"> -<ANCHOR id="G-IS-PARAM-SPEC-DOUBLE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-DOUBLE:CAPS"> -<ANCHOR id="G-PARAM-SPEC-DOUBLE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-DOUBLE:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-DOUBLE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-DOUBLE:CAPS"> -<ANCHOR id="G-TYPE-PARAM-DOUBLE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-DOUBLE:CAPS"> -<ANCHOR id="GParamSpecDouble" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecDouble"> -<ANCHOR id="g-param-spec-double" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-double"> -<ANCHOR id="g-value-set-double" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-double"> -<ANCHOR id="g-value-get-double" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-double"> -<ANCHOR id="G-IS-PARAM-SPEC-ENUM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-ENUM:CAPS"> -<ANCHOR id="G-PARAM-SPEC-ENUM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-ENUM:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-ENUM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-ENUM:CAPS"> -<ANCHOR id="G-TYPE-PARAM-ENUM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-ENUM:CAPS"> -<ANCHOR id="GParamSpecEnum" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecEnum"> -<ANCHOR id="g-param-spec-enum" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-enum"> -<ANCHOR id="g-value-set-enum" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-enum"> -<ANCHOR id="g-value-get-enum" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-enum"> -<ANCHOR id="G-IS-PARAM-SPEC-FLAGS:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-FLAGS:CAPS"> -<ANCHOR id="G-PARAM-SPEC-FLAGS:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-FLAGS:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-FLAGS:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-FLAGS:CAPS"> -<ANCHOR id="G-TYPE-PARAM-FLAGS:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-FLAGS:CAPS"> -<ANCHOR id="GParamSpecFlags" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecFlags"> -<ANCHOR id="g-param-spec-flags" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-flags"> -<ANCHOR id="g-value-set-flags" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-flags"> -<ANCHOR id="g-value-get-flags" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-flags"> -<ANCHOR id="G-IS-PARAM-SPEC-STRING:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-STRING:CAPS"> -<ANCHOR id="G-PARAM-SPEC-STRING:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-STRING:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-STRING:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-STRING:CAPS"> -<ANCHOR id="G-TYPE-PARAM-STRING:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-STRING:CAPS"> -<ANCHOR id="GParamSpecString" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecString"> -<ANCHOR id="gchararray" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"> -<ANCHOR id="g-param-spec-string" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-string"> -<ANCHOR id="g-value-set-string" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string"> -<ANCHOR id="g-value-set-static-string" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-string"> -<ANCHOR id="g-value-take-string" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-take-string"> -<ANCHOR id="g-value-set-string-take-ownership" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-string-take-ownership"> -<ANCHOR id="g-value-get-string" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-string"> -<ANCHOR id="g-value-dup-string" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-string"> -<ANCHOR id="G-IS-PARAM-SPEC-PARAM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-PARAM:CAPS"> -<ANCHOR id="G-PARAM-SPEC-PARAM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-PARAM:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-PARAM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-PARAM:CAPS"> -<ANCHOR id="G-TYPE-PARAM-PARAM:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-PARAM:CAPS"> -<ANCHOR id="GParamSpecParam" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecParam"> -<ANCHOR id="g-param-spec-param" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-param"> -<ANCHOR id="g-value-set-param" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param"> -<ANCHOR id="g-value-take-param" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-take-param"> -<ANCHOR id="g-value-set-param-take-ownership" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-param-take-ownership"> -<ANCHOR id="g-value-get-param" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-param"> -<ANCHOR id="g-value-dup-param" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-param"> -<ANCHOR id="G-IS-PARAM-SPEC-BOXED:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-BOXED:CAPS"> -<ANCHOR id="G-PARAM-SPEC-BOXED:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-BOXED:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-BOXED:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-BOXED:CAPS"> -<ANCHOR id="G-TYPE-PARAM-BOXED:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-BOXED:CAPS"> -<ANCHOR id="GParamSpecBoxed" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecBoxed"> -<ANCHOR id="g-param-spec-boxed" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-boxed"> -<ANCHOR id="g-value-set-boxed" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed"> -<ANCHOR id="g-value-set-static-boxed" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-static-boxed"> -<ANCHOR id="g-value-take-boxed" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed"> -<ANCHOR id="g-value-set-boxed-take-ownership" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-boxed-take-ownership"> -<ANCHOR id="g-value-get-boxed" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-boxed"> -<ANCHOR id="g-value-dup-boxed" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-boxed"> -<ANCHOR id="G-IS-PARAM-SPEC-POINTER:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-POINTER:CAPS"> -<ANCHOR id="G-PARAM-SPEC-POINTER:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-POINTER:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-POINTER:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-POINTER:CAPS"> -<ANCHOR id="G-TYPE-PARAM-POINTER:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-POINTER:CAPS"> -<ANCHOR id="GParamSpecPointer" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecPointer"> -<ANCHOR id="g-param-spec-pointer" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-pointer"> -<ANCHOR id="g-value-set-pointer" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-pointer"> -<ANCHOR id="g-value-get-pointer" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-pointer"> -<ANCHOR id="G-IS-PARAM-SPEC-OBJECT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OBJECT:CAPS"> -<ANCHOR id="G-PARAM-SPEC-OBJECT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OBJECT:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-OBJECT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-OBJECT:CAPS"> -<ANCHOR id="G-TYPE-PARAM-OBJECT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OBJECT:CAPS"> -<ANCHOR id="GParamSpecObject" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecObject"> -<ANCHOR id="g-param-spec-object" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-object"> -<ANCHOR id="g-value-set-object" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object"> -<ANCHOR id="g-value-take-object" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-take-object"> -<ANCHOR id="g-value-set-object-take-ownership" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-object-take-ownership"> -<ANCHOR id="g-value-get-object" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-object"> -<ANCHOR id="g-value-dup-object" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-object"> -<ANCHOR id="G-IS-PARAM-SPEC-UNICHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-UNICHAR:CAPS"> -<ANCHOR id="G-PARAM-SPEC-UNICHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-UNICHAR:CAPS"> -<ANCHOR id="G-TYPE-PARAM-UNICHAR:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-UNICHAR:CAPS"> -<ANCHOR id="GParamSpecUnichar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecUnichar"> -<ANCHOR id="g-param-spec-unichar" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-unichar"> -<ANCHOR id="G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VALUE-ARRAY:CAPS"> -<ANCHOR id="G-PARAM-SPEC-VALUE-ARRAY:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VALUE-ARRAY:CAPS"> -<ANCHOR id="G-TYPE-PARAM-VALUE-ARRAY:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VALUE-ARRAY:CAPS"> -<ANCHOR id="GParamSpecValueArray" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecValueArray"> -<ANCHOR id="g-param-spec-value-array" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-value-array"> -<ANCHOR id="G-IS-PARAM-SPEC-OVERRIDE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-OVERRIDE:CAPS"> -<ANCHOR id="G-PARAM-SPEC-OVERRIDE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-OVERRIDE:CAPS"> -<ANCHOR id="G-TYPE-PARAM-OVERRIDE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-OVERRIDE:CAPS"> -<ANCHOR id="GParamSpecOverride" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecOverride"> -<ANCHOR id="g-param-spec-override" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-override"> -<ANCHOR id="G-IS-PARAM-SPEC-GTYPE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-GTYPE:CAPS"> -<ANCHOR id="G-PARAM-SPEC-GTYPE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-GTYPE:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-GTYPE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-GTYPE:CAPS"> -<ANCHOR id="G-TYPE-PARAM-GTYPE:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-GTYPE:CAPS"> -<ANCHOR id="GParamSpecGType" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecGType"> -<ANCHOR id="g-param-spec-gtype" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-gtype"> -<ANCHOR id="g-value-get-gtype" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-gtype"> -<ANCHOR id="g-value-set-gtype" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-gtype"> -<ANCHOR id="G-IS-PARAM-SPEC-VARIANT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-IS-PARAM-SPEC-VARIANT:CAPS"> -<ANCHOR id="G-PARAM-SPEC-VARIANT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-PARAM-SPEC-VARIANT:CAPS"> -<ANCHOR id="G-VALUE-HOLDS-VARIANT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-VALUE-HOLDS-VARIANT:CAPS"> -<ANCHOR id="G-TYPE-PARAM-VARIANT:CAPS" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#G-TYPE-PARAM-VARIANT:CAPS"> -<ANCHOR id="GParamSpecVariant" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#GParamSpecVariant"> -<ANCHOR id="g-param-spec-variant" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-param-spec-variant"> -<ANCHOR id="g-value-get-variant" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-variant"> -<ANCHOR id="g-value-dup-variant" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-dup-variant"> -<ANCHOR id="g-value-set-variant" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-set-variant"> -<ANCHOR id="g-value-take-variant" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#g-value-take-variant"> -<ANCHOR id="gobject-Standard-Parameter-and-Value-Types.see-also" href="gobject/gobject-Standard-Parameter-and-Value-Types.html#gobject-Standard-Parameter-and-Value-Types.see-also"> -<ANCHOR id="gobject-GParamSpec" href="gobject/gobject-GParamSpec.html"> -<ANCHOR id="gobject-GParamSpec.synopsis" href="gobject/gobject-GParamSpec.html#gobject-GParamSpec.synopsis"> -<ANCHOR id="gobject-GParamSpec.description" href="gobject/gobject-GParamSpec.html#gobject-GParamSpec.description"> -<ANCHOR id="gobject-GParamSpec.details" href="gobject/gobject-GParamSpec.html#gobject-GParamSpec.details"> -<ANCHOR id="G-TYPE-IS-PARAM:CAPS" href="gobject/gobject-GParamSpec.html#G-TYPE-IS-PARAM:CAPS"> -<ANCHOR id="G-PARAM-SPEC:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-SPEC:CAPS"> -<ANCHOR id="G-IS-PARAM-SPEC:CAPS" href="gobject/gobject-GParamSpec.html#G-IS-PARAM-SPEC:CAPS"> -<ANCHOR id="G-PARAM-SPEC-CLASS:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-SPEC-CLASS:CAPS"> -<ANCHOR id="G-IS-PARAM-SPEC-CLASS:CAPS" href="gobject/gobject-GParamSpec.html#G-IS-PARAM-SPEC-CLASS:CAPS"> -<ANCHOR id="G-PARAM-SPEC-GET-CLASS:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-SPEC-GET-CLASS:CAPS"> -<ANCHOR id="G-PARAM-SPEC-TYPE:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-SPEC-TYPE:CAPS"> -<ANCHOR id="G-PARAM-SPEC-TYPE-NAME:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-SPEC-TYPE-NAME:CAPS"> -<ANCHOR id="G-PARAM-SPEC-VALUE-TYPE:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-SPEC-VALUE-TYPE:CAPS"> -<ANCHOR id="GParamSpec" href="gobject/gobject-GParamSpec.html#GParamSpec"> -<ANCHOR id="GParamSpecClass" href="gobject/gobject-GParamSpec.html#GParamSpecClass"> -<ANCHOR id="GParamFlags" href="gobject/gobject-GParamSpec.html#GParamFlags"> -<ANCHOR id="G-PARAM-READABLE:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-READABLE:CAPS"> -<ANCHOR id="G-PARAM-WRITABLE:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-WRITABLE:CAPS"> -<ANCHOR id="G-PARAM-CONSTRUCT:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-CONSTRUCT:CAPS"> -<ANCHOR id="G-PARAM-CONSTRUCT-ONLY:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-CONSTRUCT-ONLY:CAPS"> -<ANCHOR id="G-PARAM-LAX-VALIDATION:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-LAX-VALIDATION:CAPS"> -<ANCHOR id="G-PARAM-STATIC-NAME:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-STATIC-NAME:CAPS"> -<ANCHOR id="G-PARAM-PRIVATE:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-PRIVATE:CAPS"> -<ANCHOR id="G-PARAM-STATIC-NICK:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-STATIC-NICK:CAPS"> -<ANCHOR id="G-PARAM-STATIC-BLURB:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-STATIC-BLURB:CAPS"> -<ANCHOR id="G-PARAM-DEPRECATED:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-DEPRECATED:CAPS"> -<ANCHOR id="G-PARAM-READWRITE:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-READWRITE:CAPS"> -<ANCHOR id="G-PARAM-STATIC-STRINGS:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-STATIC-STRINGS:CAPS"> -<ANCHOR id="G-PARAM-MASK:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-MASK:CAPS"> -<ANCHOR id="G-PARAM-USER-SHIFT:CAPS" href="gobject/gobject-GParamSpec.html#G-PARAM-USER-SHIFT:CAPS"> -<ANCHOR id="g-param-spec-ref" href="gobject/gobject-GParamSpec.html#g-param-spec-ref"> -<ANCHOR id="g-param-spec-unref" href="gobject/gobject-GParamSpec.html#g-param-spec-unref"> -<ANCHOR id="g-param-spec-sink" href="gobject/gobject-GParamSpec.html#g-param-spec-sink"> -<ANCHOR id="g-param-spec-ref-sink" href="gobject/gobject-GParamSpec.html#g-param-spec-ref-sink"> -<ANCHOR id="g-param-value-set-default" href="gobject/gobject-GParamSpec.html#g-param-value-set-default"> -<ANCHOR id="g-param-value-defaults" href="gobject/gobject-GParamSpec.html#g-param-value-defaults"> -<ANCHOR id="g-param-value-validate" href="gobject/gobject-GParamSpec.html#g-param-value-validate"> -<ANCHOR id="g-param-value-convert" href="gobject/gobject-GParamSpec.html#g-param-value-convert"> -<ANCHOR id="g-param-values-cmp" href="gobject/gobject-GParamSpec.html#g-param-values-cmp"> -<ANCHOR id="g-param-spec-get-name" href="gobject/gobject-GParamSpec.html#g-param-spec-get-name"> -<ANCHOR id="g-param-spec-get-nick" href="gobject/gobject-GParamSpec.html#g-param-spec-get-nick"> -<ANCHOR id="g-param-spec-get-blurb" href="gobject/gobject-GParamSpec.html#g-param-spec-get-blurb"> -<ANCHOR id="g-param-spec-get-qdata" href="gobject/gobject-GParamSpec.html#g-param-spec-get-qdata"> -<ANCHOR id="g-param-spec-set-qdata" href="gobject/gobject-GParamSpec.html#g-param-spec-set-qdata"> -<ANCHOR id="g-param-spec-set-qdata-full" href="gobject/gobject-GParamSpec.html#g-param-spec-set-qdata-full"> -<ANCHOR id="g-param-spec-steal-qdata" href="gobject/gobject-GParamSpec.html#g-param-spec-steal-qdata"> -<ANCHOR id="g-param-spec-get-redirect-target" href="gobject/gobject-GParamSpec.html#g-param-spec-get-redirect-target"> -<ANCHOR id="g-param-spec-internal" href="gobject/gobject-GParamSpec.html#g-param-spec-internal"> -<ANCHOR id="GParamSpecTypeInfo" href="gobject/gobject-GParamSpec.html#GParamSpecTypeInfo"> -<ANCHOR id="g-param-type-register-static" href="gobject/gobject-GParamSpec.html#g-param-type-register-static"> -<ANCHOR id="GParamSpecPool" href="gobject/gobject-GParamSpec.html#GParamSpecPool"> -<ANCHOR id="g-param-spec-pool-new" href="gobject/gobject-GParamSpec.html#g-param-spec-pool-new"> -<ANCHOR id="g-param-spec-pool-insert" href="gobject/gobject-GParamSpec.html#g-param-spec-pool-insert"> -<ANCHOR id="g-param-spec-pool-remove" href="gobject/gobject-GParamSpec.html#g-param-spec-pool-remove"> -<ANCHOR id="g-param-spec-pool-lookup" href="gobject/gobject-GParamSpec.html#g-param-spec-pool-lookup"> -<ANCHOR id="g-param-spec-pool-list" href="gobject/gobject-GParamSpec.html#g-param-spec-pool-list"> -<ANCHOR id="g-param-spec-pool-list-owned" href="gobject/gobject-GParamSpec.html#g-param-spec-pool-list-owned"> -<ANCHOR id="gobject-GParamSpec.see-also" href="gobject/gobject-GParamSpec.html#gobject-GParamSpec.see-also"> -<ANCHOR id="gobject-Varargs-Value-Collection" href="gobject/gobject-Varargs-Value-Collection.html"> -<ANCHOR id="gobject-Varargs-Value-Collection.synopsis" href="gobject/gobject-Varargs-Value-Collection.html#gobject-Varargs-Value-Collection.synopsis"> -<ANCHOR id="gobject-Varargs-Value-Collection.description" href="gobject/gobject-Varargs-Value-Collection.html#gobject-Varargs-Value-Collection.description"> -<ANCHOR id="gobject-Varargs-Value-Collection.details" href="gobject/gobject-Varargs-Value-Collection.html#gobject-Varargs-Value-Collection.details"> -<ANCHOR id="GTypeCValue" href="gobject/gobject-Varargs-Value-Collection.html#GTypeCValue"> -<ANCHOR id="G-VALUE-COLLECT-INIT:CAPS" href="gobject/gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-INIT:CAPS"> -<ANCHOR id="G-VALUE-COLLECT:CAPS" href="gobject/gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT:CAPS"> -<ANCHOR id="G-VALUE-COLLECT-SKIP:CAPS" href="gobject/gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-SKIP:CAPS"> -<ANCHOR id="G-VALUE-LCOPY:CAPS" href="gobject/gobject-Varargs-Value-Collection.html#G-VALUE-LCOPY:CAPS"> -<ANCHOR id="G-VALUE-COLLECT-FORMAT-MAX-LENGTH:CAPS" href="gobject/gobject-Varargs-Value-Collection.html#G-VALUE-COLLECT-FORMAT-MAX-LENGTH:CAPS"> -<ANCHOR id="gobject-Signals" href="gobject/gobject-Signals.html"> -<ANCHOR id="gobject-Signals.synopsis" href="gobject/gobject-Signals.html#gobject-Signals.synopsis"> -<ANCHOR id="gobject-Signals.description" href="gobject/gobject-Signals.html#gobject-Signals.description"> -<ANCHOR id="gobject-Signals.details" href="gobject/gobject-Signals.html#gobject-Signals.details"> -<ANCHOR id="GSignalInvocationHint" href="gobject/gobject-Signals.html#GSignalInvocationHint"> -<ANCHOR id="GSignalAccumulator" href="gobject/gobject-Signals.html#GSignalAccumulator"> -<ANCHOR id="GSignalCMarshaller" href="gobject/gobject-Signals.html#GSignalCMarshaller"> -<ANCHOR id="GSignalCVaMarshaller" href="gobject/gobject-Signals.html#GSignalCVaMarshaller"> -<ANCHOR id="GSignalEmissionHook" href="gobject/gobject-Signals.html#GSignalEmissionHook"> -<ANCHOR id="GSignalFlags" href="gobject/gobject-Signals.html#GSignalFlags"> -<ANCHOR id="G-SIGNAL-RUN-FIRST:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"> -<ANCHOR id="G-SIGNAL-RUN-LAST:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"> -<ANCHOR id="G-SIGNAL-RUN-CLEANUP:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-RUN-CLEANUP:CAPS"> -<ANCHOR id="G-SIGNAL-NO-RECURSE:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-NO-RECURSE:CAPS"> -<ANCHOR id="G-SIGNAL-DETAILED:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"> -<ANCHOR id="G-SIGNAL-ACTION:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"> -<ANCHOR id="G-SIGNAL-NO-HOOKS:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"> -<ANCHOR id="G-SIGNAL-MUST-COLLECT:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MUST-COLLECT:CAPS"> -<ANCHOR id="G-SIGNAL-DEPRECATED:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-DEPRECATED:CAPS"> -<ANCHOR id="GSignalMatchType" href="gobject/gobject-Signals.html#GSignalMatchType"> -<ANCHOR id="G-SIGNAL-MATCH-ID:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MATCH-ID:CAPS"> -<ANCHOR id="G-SIGNAL-MATCH-DETAIL:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MATCH-DETAIL:CAPS"> -<ANCHOR id="G-SIGNAL-MATCH-CLOSURE:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MATCH-CLOSURE:CAPS"> -<ANCHOR id="G-SIGNAL-MATCH-FUNC:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MATCH-FUNC:CAPS"> -<ANCHOR id="G-SIGNAL-MATCH-DATA:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MATCH-DATA:CAPS"> -<ANCHOR id="G-SIGNAL-MATCH-UNBLOCKED:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MATCH-UNBLOCKED:CAPS"> -<ANCHOR id="GSignalQuery" href="gobject/gobject-Signals.html#GSignalQuery"> -<ANCHOR id="G-SIGNAL-TYPE-STATIC-SCOPE:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-TYPE-STATIC-SCOPE:CAPS"> -<ANCHOR id="G-SIGNAL-MATCH-MASK:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-MATCH-MASK:CAPS"> -<ANCHOR id="G-SIGNAL-FLAGS-MASK:CAPS" href="gobject/gobject-Signals.html#G-SIGNAL-FLAGS-MASK:CAPS"> -<ANCHOR id="g-signal-new" href="gobject/gobject-Signals.html#g-signal-new"> -<ANCHOR id="g-signal-newv" href="gobject/gobject-Signals.html#g-signal-newv"> -<ANCHOR id="g-signal-new-valist" href="gobject/gobject-Signals.html#g-signal-new-valist"> -<ANCHOR id="g-signal-set-va-marshaller" href="gobject/gobject-Signals.html#g-signal-set-va-marshaller"> -<ANCHOR id="g-signal-query" href="gobject/gobject-Signals.html#g-signal-query"> -<ANCHOR id="g-signal-lookup" href="gobject/gobject-Signals.html#g-signal-lookup"> -<ANCHOR id="g-signal-name" href="gobject/gobject-Signals.html#g-signal-name"> -<ANCHOR id="g-signal-list-ids" href="gobject/gobject-Signals.html#g-signal-list-ids"> -<ANCHOR id="g-signal-emit" href="gobject/gobject-Signals.html#g-signal-emit"> -<ANCHOR id="g-signal-emit-by-name" href="gobject/gobject-Signals.html#g-signal-emit-by-name"> -<ANCHOR id="g-signal-emitv" href="gobject/gobject-Signals.html#g-signal-emitv"> -<ANCHOR id="g-signal-emit-valist" href="gobject/gobject-Signals.html#g-signal-emit-valist"> -<ANCHOR id="g-signal-connect" href="gobject/gobject-Signals.html#g-signal-connect"> -<ANCHOR id="g-signal-connect-after" href="gobject/gobject-Signals.html#g-signal-connect-after"> -<ANCHOR id="g-signal-connect-swapped" href="gobject/gobject-Signals.html#g-signal-connect-swapped"> -<ANCHOR id="g-signal-connect-object" href="gobject/gobject-Signals.html#g-signal-connect-object"> -<ANCHOR id="GConnectFlags" href="gobject/gobject-Signals.html#GConnectFlags"> -<ANCHOR id="G-CONNECT-AFTER:CAPS" href="gobject/gobject-Signals.html#G-CONNECT-AFTER:CAPS"> -<ANCHOR id="G-CONNECT-SWAPPED:CAPS" href="gobject/gobject-Signals.html#G-CONNECT-SWAPPED:CAPS"> -<ANCHOR id="g-signal-connect-data" href="gobject/gobject-Signals.html#g-signal-connect-data"> -<ANCHOR id="g-signal-connect-closure" href="gobject/gobject-Signals.html#g-signal-connect-closure"> -<ANCHOR id="g-signal-connect-closure-by-id" href="gobject/gobject-Signals.html#g-signal-connect-closure-by-id"> -<ANCHOR id="g-signal-handler-block" href="gobject/gobject-Signals.html#g-signal-handler-block"> -<ANCHOR id="g-signal-handler-unblock" href="gobject/gobject-Signals.html#g-signal-handler-unblock"> -<ANCHOR id="g-signal-handler-disconnect" href="gobject/gobject-Signals.html#g-signal-handler-disconnect"> -<ANCHOR id="g-signal-handler-find" href="gobject/gobject-Signals.html#g-signal-handler-find"> -<ANCHOR id="g-signal-handlers-block-matched" href="gobject/gobject-Signals.html#g-signal-handlers-block-matched"> -<ANCHOR id="g-signal-handlers-unblock-matched" href="gobject/gobject-Signals.html#g-signal-handlers-unblock-matched"> -<ANCHOR id="g-signal-handlers-disconnect-matched" href="gobject/gobject-Signals.html#g-signal-handlers-disconnect-matched"> -<ANCHOR id="g-signal-handler-is-connected" href="gobject/gobject-Signals.html#g-signal-handler-is-connected"> -<ANCHOR id="g-signal-handlers-block-by-func" href="gobject/gobject-Signals.html#g-signal-handlers-block-by-func"> -<ANCHOR id="g-signal-handlers-unblock-by-func" href="gobject/gobject-Signals.html#g-signal-handlers-unblock-by-func"> -<ANCHOR id="g-signal-handlers-disconnect-by-func" href="gobject/gobject-Signals.html#g-signal-handlers-disconnect-by-func"> -<ANCHOR id="g-signal-handlers-disconnect-by-data" href="gobject/gobject-Signals.html#g-signal-handlers-disconnect-by-data"> -<ANCHOR id="g-signal-has-handler-pending" href="gobject/gobject-Signals.html#g-signal-has-handler-pending"> -<ANCHOR id="g-signal-stop-emission" href="gobject/gobject-Signals.html#g-signal-stop-emission"> -<ANCHOR id="g-signal-stop-emission-by-name" href="gobject/gobject-Signals.html#g-signal-stop-emission-by-name"> -<ANCHOR id="g-signal-override-class-closure" href="gobject/gobject-Signals.html#g-signal-override-class-closure"> -<ANCHOR id="g-signal-chain-from-overridden" href="gobject/gobject-Signals.html#g-signal-chain-from-overridden"> -<ANCHOR id="g-signal-new-class-handler" href="gobject/gobject-Signals.html#g-signal-new-class-handler"> -<ANCHOR id="g-signal-override-class-handler" href="gobject/gobject-Signals.html#g-signal-override-class-handler"> -<ANCHOR id="g-signal-chain-from-overridden-handler" href="gobject/gobject-Signals.html#g-signal-chain-from-overridden-handler"> -<ANCHOR id="g-signal-add-emission-hook" href="gobject/gobject-Signals.html#g-signal-add-emission-hook"> -<ANCHOR id="g-signal-remove-emission-hook" href="gobject/gobject-Signals.html#g-signal-remove-emission-hook"> -<ANCHOR id="g-signal-parse-name" href="gobject/gobject-Signals.html#g-signal-parse-name"> -<ANCHOR id="g-signal-get-invocation-hint" href="gobject/gobject-Signals.html#g-signal-get-invocation-hint"> -<ANCHOR id="g-signal-type-cclosure-new" href="gobject/gobject-Signals.html#g-signal-type-cclosure-new"> -<ANCHOR id="g-signal-accumulator-first-wins" href="gobject/gobject-Signals.html#g-signal-accumulator-first-wins"> -<ANCHOR id="g-signal-accumulator-true-handled" href="gobject/gobject-Signals.html#g-signal-accumulator-true-handled"> -<ANCHOR id="gobject-Closures" href="gobject/gobject-Closures.html"> -<ANCHOR id="gobject-Closures.synopsis" href="gobject/gobject-Closures.html#gobject-Closures.synopsis"> -<ANCHOR id="gobject-Closures.description" href="gobject/gobject-Closures.html#gobject-Closures.description"> -<ANCHOR id="gobject-Closures.details" href="gobject/gobject-Closures.html#gobject-Closures.details"> -<ANCHOR id="G-CLOSURE-NEEDS-MARSHAL:CAPS" href="gobject/gobject-Closures.html#G-CLOSURE-NEEDS-MARSHAL:CAPS"> -<ANCHOR id="G-CLOSURE-N-NOTIFIERS:CAPS" href="gobject/gobject-Closures.html#G-CLOSURE-N-NOTIFIERS:CAPS"> -<ANCHOR id="G-CCLOSURE-SWAP-DATA:CAPS" href="gobject/gobject-Closures.html#G-CCLOSURE-SWAP-DATA:CAPS"> -<ANCHOR id="G-CALLBACK:CAPS" href="gobject/gobject-Closures.html#G-CALLBACK:CAPS"> -<ANCHOR id="GCallback" href="gobject/gobject-Closures.html#GCallback"> -<ANCHOR id="GClosure" href="gobject/gobject-Closures.html#GClosure"> -<ANCHOR id="G-TYPE-CLOSURE:CAPS" href="gobject/gobject-Closures.html#G-TYPE-CLOSURE:CAPS"> -<ANCHOR id="GCClosure" href="gobject/gobject-Closures.html#GCClosure"> -<ANCHOR id="GClosureMarshal" href="gobject/gobject-Closures.html#GClosureMarshal"> -<ANCHOR id="GVaClosureMarshal" href="gobject/gobject-Closures.html#GVaClosureMarshal"> -<ANCHOR id="GClosureNotify" href="gobject/gobject-Closures.html#GClosureNotify"> -<ANCHOR id="g-cclosure-new" href="gobject/gobject-Closures.html#g-cclosure-new"> -<ANCHOR id="g-cclosure-new-swap" href="gobject/gobject-Closures.html#g-cclosure-new-swap"> -<ANCHOR id="g-cclosure-new-object" href="gobject/gobject-Closures.html#g-cclosure-new-object"> -<ANCHOR id="g-cclosure-new-object-swap" href="gobject/gobject-Closures.html#g-cclosure-new-object-swap"> -<ANCHOR id="g-cclosure-marshal-generic" href="gobject/gobject-Closures.html#g-cclosure-marshal-generic"> -<ANCHOR id="g-closure-new-object" href="gobject/gobject-Closures.html#g-closure-new-object"> -<ANCHOR id="g-closure-ref" href="gobject/gobject-Closures.html#g-closure-ref"> -<ANCHOR id="g-closure-sink" href="gobject/gobject-Closures.html#g-closure-sink"> -<ANCHOR id="g-closure-unref" href="gobject/gobject-Closures.html#g-closure-unref"> -<ANCHOR id="g-closure-invoke" href="gobject/gobject-Closures.html#g-closure-invoke"> -<ANCHOR id="g-closure-invalidate" href="gobject/gobject-Closures.html#g-closure-invalidate"> -<ANCHOR id="g-closure-add-finalize-notifier" href="gobject/gobject-Closures.html#g-closure-add-finalize-notifier"> -<ANCHOR id="g-closure-add-invalidate-notifier" href="gobject/gobject-Closures.html#g-closure-add-invalidate-notifier"> -<ANCHOR id="g-closure-remove-finalize-notifier" href="gobject/gobject-Closures.html#g-closure-remove-finalize-notifier"> -<ANCHOR id="g-closure-remove-invalidate-notifier" href="gobject/gobject-Closures.html#g-closure-remove-invalidate-notifier"> -<ANCHOR id="g-closure-new-simple" href="gobject/gobject-Closures.html#g-closure-new-simple"> -<ANCHOR id="g-closure-set-marshal" href="gobject/gobject-Closures.html#g-closure-set-marshal"> -<ANCHOR id="g-closure-add-marshal-guards" href="gobject/gobject-Closures.html#g-closure-add-marshal-guards"> -<ANCHOR id="g-closure-set-meta-marshal" href="gobject/gobject-Closures.html#g-closure-set-meta-marshal"> -<ANCHOR id="g-source-set-closure" href="gobject/gobject-Closures.html#g-source-set-closure"> -<ANCHOR id="g-source-set-dummy-callback" href="gobject/gobject-Closures.html#g-source-set-dummy-callback"> -<ANCHOR id="g-cclosure-marshal-VOID--VOID" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--VOID"> -<ANCHOR id="g-cclosure-marshal-VOID--BOOLEAN" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEAN"> -<ANCHOR id="g-cclosure-marshal-VOID--CHAR" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--CHAR"> -<ANCHOR id="g-cclosure-marshal-VOID--UCHAR" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--UCHAR"> -<ANCHOR id="g-cclosure-marshal-VOID--INT" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--INT"> -<ANCHOR id="g-cclosure-marshal-VOID--UINT" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--UINT"> -<ANCHOR id="g-cclosure-marshal-VOID--LONG" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--LONG"> -<ANCHOR id="g-cclosure-marshal-VOID--ULONG" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--ULONG"> -<ANCHOR id="g-cclosure-marshal-VOID--ENUM" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--ENUM"> -<ANCHOR id="g-cclosure-marshal-VOID--FLAGS" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--FLAGS"> -<ANCHOR id="g-cclosure-marshal-VOID--FLOAT" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--FLOAT"> -<ANCHOR id="g-cclosure-marshal-VOID--DOUBLE" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLE"> -<ANCHOR id="g-cclosure-marshal-VOID--STRING" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--STRING"> -<ANCHOR id="g-cclosure-marshal-VOID--PARAM" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--PARAM"> -<ANCHOR id="g-cclosure-marshal-VOID--BOXED" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--BOXED"> -<ANCHOR id="g-cclosure-marshal-VOID--POINTER" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--POINTER"> -<ANCHOR id="g-cclosure-marshal-VOID--OBJECT" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--OBJECT"> -<ANCHOR id="g-cclosure-marshal-VOID--VARIANT" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--VARIANT"> -<ANCHOR id="g-cclosure-marshal-STRING--OBJECT-POINTER" href="gobject/gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTER"> -<ANCHOR id="g-cclosure-marshal-VOID--UINT-POINTER" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTER"> -<ANCHOR id="g-cclosure-marshal-BOOLEAN--FLAGS" href="gobject/gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGS"> -<ANCHOR id="g-cclosure-marshal-BOOL--FLAGS" href="gobject/gobject-Closures.html#g-cclosure-marshal-BOOL--FLAGS"> -<ANCHOR id="g-cclosure-marshal-BOOLEAN--BOXED-BOXED" href="gobject/gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXED"> -<ANCHOR id="g-cclosure-marshal-BOOL--BOXED-BOXED" href="gobject/gobject-Closures.html#g-cclosure-marshal-BOOL--BOXED-BOXED"> -<ANCHOR id="g-cclosure-marshal-generic-va" href="gobject/gobject-Closures.html#g-cclosure-marshal-generic-va"> -<ANCHOR id="g-cclosure-marshal-VOID--VOIDv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--VOIDv"> -<ANCHOR id="g-cclosure-marshal-VOID--BOOLEANv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--BOOLEANv"> -<ANCHOR id="g-cclosure-marshal-VOID--CHARv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--CHARv"> -<ANCHOR id="g-cclosure-marshal-VOID--UCHARv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--UCHARv"> -<ANCHOR id="g-cclosure-marshal-VOID--INTv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--INTv"> -<ANCHOR id="g-cclosure-marshal-VOID--UINTv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--UINTv"> -<ANCHOR id="g-cclosure-marshal-VOID--LONGv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--LONGv"> -<ANCHOR id="g-cclosure-marshal-VOID--ULONGv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--ULONGv"> -<ANCHOR id="g-cclosure-marshal-VOID--ENUMv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--ENUMv"> -<ANCHOR id="g-cclosure-marshal-VOID--FLAGSv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--FLAGSv"> -<ANCHOR id="g-cclosure-marshal-VOID--FLOATv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--FLOATv"> -<ANCHOR id="g-cclosure-marshal-VOID--DOUBLEv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--DOUBLEv"> -<ANCHOR id="g-cclosure-marshal-VOID--STRINGv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--STRINGv"> -<ANCHOR id="g-cclosure-marshal-VOID--PARAMv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--PARAMv"> -<ANCHOR id="g-cclosure-marshal-VOID--BOXEDv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--BOXEDv"> -<ANCHOR id="g-cclosure-marshal-VOID--POINTERv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--POINTERv"> -<ANCHOR id="g-cclosure-marshal-VOID--OBJECTv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--OBJECTv"> -<ANCHOR id="g-cclosure-marshal-VOID--VARIANTv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--VARIANTv"> -<ANCHOR id="g-cclosure-marshal-STRING--OBJECT-POINTERv" href="gobject/gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTERv"> -<ANCHOR id="g-cclosure-marshal-VOID--UINT-POINTERv" href="gobject/gobject-Closures.html#g-cclosure-marshal-VOID--UINT-POINTERv"> -<ANCHOR id="g-cclosure-marshal-BOOLEAN--FLAGSv" href="gobject/gobject-Closures.html#g-cclosure-marshal-BOOLEAN--FLAGSv"> -<ANCHOR id="g-cclosure-marshal-BOOLEAN--BOXED-BOXEDv" href="gobject/gobject-Closures.html#g-cclosure-marshal-BOOLEAN--BOXED-BOXEDv"> -<ANCHOR id="gobject-Value-arrays" href="gobject/gobject-Value-arrays.html"> -<ANCHOR id="gobject-Value-arrays.synopsis" href="gobject/gobject-Value-arrays.html#gobject-Value-arrays.synopsis"> -<ANCHOR id="gobject-Value-arrays.description" href="gobject/gobject-Value-arrays.html#gobject-Value-arrays.description"> -<ANCHOR id="gobject-Value-arrays.details" href="gobject/gobject-Value-arrays.html#gobject-Value-arrays.details"> -<ANCHOR id="GValueArray" href="gobject/gobject-Value-arrays.html#GValueArray"> -<ANCHOR id="g-value-array-get-nth" href="gobject/gobject-Value-arrays.html#g-value-array-get-nth"> -<ANCHOR id="g-value-array-new" href="gobject/gobject-Value-arrays.html#g-value-array-new"> -<ANCHOR id="g-value-array-copy" href="gobject/gobject-Value-arrays.html#g-value-array-copy"> -<ANCHOR id="g-value-array-free" href="gobject/gobject-Value-arrays.html#g-value-array-free"> -<ANCHOR id="g-value-array-append" href="gobject/gobject-Value-arrays.html#g-value-array-append"> -<ANCHOR id="g-value-array-prepend" href="gobject/gobject-Value-arrays.html#g-value-array-prepend"> -<ANCHOR id="g-value-array-insert" href="gobject/gobject-Value-arrays.html#g-value-array-insert"> -<ANCHOR id="g-value-array-remove" href="gobject/gobject-Value-arrays.html#g-value-array-remove"> -<ANCHOR id="g-value-array-sort" href="gobject/gobject-Value-arrays.html#g-value-array-sort"> -<ANCHOR id="g-value-array-sort-with-data" href="gobject/gobject-Value-arrays.html#g-value-array-sort-with-data"> -<ANCHOR id="gobject-Value-arrays.see-also" href="gobject/gobject-Value-arrays.html#gobject-Value-arrays.see-also"> -<ANCHOR id="GBinding" href="gobject/GBinding.html"> -<ANCHOR id="GBinding.synopsis" href="gobject/GBinding.html#GBinding.synopsis"> -<ANCHOR id="GBinding.object-hierarchy" href="gobject/GBinding.html#GBinding.object-hierarchy"> -<ANCHOR id="GBinding.properties" href="gobject/GBinding.html#GBinding.properties"> -<ANCHOR id="GBinding.description" href="gobject/GBinding.html#GBinding.description"> -<ANCHOR id="GBinding.details" href="gobject/GBinding.html#GBinding.details"> -<ANCHOR id="GBinding-struct" href="gobject/GBinding.html#GBinding-struct"> -<ANCHOR id="GBindingFlags" href="gobject/GBinding.html#GBindingFlags"> -<ANCHOR id="G-BINDING-DEFAULT:CAPS" href="gobject/GBinding.html#G-BINDING-DEFAULT:CAPS"> -<ANCHOR id="G-BINDING-BIDIRECTIONAL:CAPS" href="gobject/GBinding.html#G-BINDING-BIDIRECTIONAL:CAPS"> -<ANCHOR id="G-BINDING-SYNC-CREATE:CAPS" href="gobject/GBinding.html#G-BINDING-SYNC-CREATE:CAPS"> -<ANCHOR id="G-BINDING-INVERT-BOOLEAN:CAPS" href="gobject/GBinding.html#G-BINDING-INVERT-BOOLEAN:CAPS"> -<ANCHOR id="g-binding-get-source" href="gobject/GBinding.html#g-binding-get-source"> -<ANCHOR id="g-binding-get-source-property" href="gobject/GBinding.html#g-binding-get-source-property"> -<ANCHOR id="g-binding-get-target" href="gobject/GBinding.html#g-binding-get-target"> -<ANCHOR id="g-binding-get-target-property" href="gobject/GBinding.html#g-binding-get-target-property"> -<ANCHOR id="g-binding-get-flags" href="gobject/GBinding.html#g-binding-get-flags"> -<ANCHOR id="g-object-bind-property" href="gobject/GBinding.html#g-object-bind-property"> -<ANCHOR id="GBindingTransformFunc" href="gobject/GBinding.html#GBindingTransformFunc"> -<ANCHOR id="g-object-bind-property-full" href="gobject/GBinding.html#g-object-bind-property-full"> -<ANCHOR id="g-object-bind-property-with-closures" href="gobject/GBinding.html#g-object-bind-property-with-closures"> -<ANCHOR id="GBinding.property-details" href="gobject/GBinding.html#GBinding.property-details"> -<ANCHOR id="GBinding--flags" href="gobject/GBinding.html#GBinding--flags"> -<ANCHOR id="GBinding--source" href="gobject/GBinding.html#GBinding--source"> -<ANCHOR id="GBinding--source-property" href="gobject/GBinding.html#GBinding--source-property"> -<ANCHOR id="GBinding--target" href="gobject/GBinding.html#GBinding--target"> -<ANCHOR id="GBinding--target-property" href="gobject/GBinding.html#GBinding--target-property"> -<ANCHOR id="glib-mkenums" href="gobject/glib-mkenums.html"> -<ANCHOR id="glib-genmarshal" href="gobject/glib-genmarshal.html"> -<ANCHOR id="gobject-query" href="gobject/gobject-query.html"> -<ANCHOR id="annotation-glossterm-out" href="gobject/annotation-glossary.html#annotation-glossterm-out"> -<ANCHOR id="annotation-glossterm-allow-none" href="gobject/annotation-glossary.html#annotation-glossterm-allow-none"> -<ANCHOR id="annotation-glossterm-inout" href="gobject/annotation-glossary.html#annotation-glossterm-inout"> -<ANCHOR id="annotation-glossterm-closure" href="gobject/annotation-glossary.html#annotation-glossterm-closure"> -<ANCHOR id="annotation-glossterm-transfer none" href="gobject/annotation-glossary.html#annotation-glossterm-transfer none"> -<ANCHOR id="annotation-glossterm-array" href="gobject/annotation-glossary.html#annotation-glossterm-array"> -<ANCHOR id="annotation-glossterm-element-type" href="gobject/annotation-glossary.html#annotation-glossterm-element-type"> -<ANCHOR id="annotation-glossterm-transfer container" href="gobject/annotation-glossary.html#annotation-glossterm-transfer container"> -<ANCHOR id="annotation-glossterm-transfer full" href="gobject/annotation-glossary.html#annotation-glossterm-transfer full"> -<ANCHOR id="annotation-glossterm-scope call" href="gobject/annotation-glossary.html#annotation-glossterm-scope call"> -<ANCHOR id="annotation-glossterm-type" href="gobject/annotation-glossary.html#annotation-glossterm-type"> -<ANCHOR id="annotation-glossterm-scope notified" href="gobject/annotation-glossary.html#annotation-glossterm-scope notified"> diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/left.png b/gtk+-mingw/share/gtk-doc/html/gobject/left.png Binary files differdeleted file mode 100644 index 48cab27..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/left.png +++ /dev/null diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/pr01.html b/gtk+-mingw/share/gtk-doc/html/gobject/pr01.html deleted file mode 100644 index 5529d9c..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/pr01.html +++ /dev/null @@ -1,72 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Introduction</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="index.html" title="GObject Reference Manual"> -<link rel="next" href="pt01.html" title="Part I. Concepts"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="index.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="pt01.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="preface"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="idp3018720"></a>Introduction</h2></div></div></div> -<p> - Most modern programming languages come with their own native object - systems and additional fundamental algorithmic language constructs. - Just as GLib serves as an implementation of such fundamental - types and algorithms (linked lists, hash tables and so forth), the - GLib Object System provides the required implementations of a - flexible extensible and intentionally easy to map (into other - languages) object-oriented framework for C. - The substantial elements that are provided can be summarized as: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - A generic type system to register arbitrary single-inherited - flat and deep derived types as well as interfaces for - structured types. - It takes care of creation, initialization and memory management - of the assorted object and class structures, maintains - parent/child relationships and deals with dynamic implementations - of such types. That is, their type specific implementations are - relocatable/unloadable during runtime. - </p></li> -<li class="listitem"><p> - A collection of fundamental type implementations, such as integers, - doubles, enums and structured types, to name a few. - </p></li> -<li class="listitem"><p> - A sample fundamental type implementation to base object hierarchies - upon - the GObject fundamental type. - </p></li> -<li class="listitem"><p> - A signal system that allows very flexible user customization of - virtual/overridable object methods and can serve as a powerful - notification mechanism. - </p></li> -<li class="listitem"><p> - An extensible parameter/value system, supporting all the provided - fundamental types that can be used to generically handle object - properties or otherwise parameterized types. - </p></li> -</ul></div> -<p> - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/pt01.html b/gtk+-mingw/share/gtk-doc/html/gobject/pt01.html deleted file mode 100644 index f75aab8..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/pt01.html +++ /dev/null @@ -1,80 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Part I. Concepts</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="pr01.html" title="Introduction"> -<link rel="next" href="chapter-intro.html" title="Background"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="pr01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="chapter-intro.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="part"> -<div class="titlepage"><div><div><h1 class="title"> -<a name="idp3949328"></a>Part I. Concepts</h1></div></div></div> -<div class="toc"> -<p><b>Table of Contents</b></p> -<dl> -<dt><span class="chapter"><a href="chapter-intro.html">Background</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-intro.html#idp6598384">Data types and programming</a></span></dt> -<dt><span class="sect1"><a href="ch01s02.html">Exporting a C API</a></span></dt> -</dl></dd> -<dt><span class="chapter"><a href="chapter-gtype.html">The GLib Dynamic Type System</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-gtype.html#gtype-copy">Copy functions</a></span></dt> -<dt><span class="sect1"><a href="gtype-conventions.html">Conventions</a></span></dt> -<dt><span class="sect1"><a href="gtype-non-instantiable.html">Non-instantiable non-classed fundamental types</a></span></dt> -<dt><span class="sect1"><a href="gtype-instantiable-classed.html">Instantiable classed types: objects</a></span></dt> -<dd><dl><dt><span class="sect2"><a href="gtype-instantiable-classed.html#gtype-instantiable-classed-init-done">Initialization and Destruction</a></span></dt></dl></dd> -<dt><span class="sect1"><a href="gtype-non-instantiable-classed.html">Non-instantiable classed types: interfaces</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-init">Interface Initialization</a></span></dt> -<dt><span class="sect2"><a href="gtype-non-instantiable-classed.html#gtype-non-instantiable-classed-dest">Interface Destruction</a></span></dt> -</dl></dd> -</dl></dd> -<dt><span class="chapter"><a href="chapter-gobject.html">The GObject base class</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-gobject.html#gobject-instantiation">Object instantiation</a></span></dt> -<dt><span class="sect1"><a href="gobject-memory.html">Object memory management</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-refcount">Reference count</a></span></dt> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-weakref">Weak References</a></span></dt> -<dt><span class="sect2"><a href="gobject-memory.html#gobject-memory-cycles">Reference counts and cycles</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="gobject-properties.html">Object properties</a></span></dt> -<dd><dl><dt><span class="sect2"><a href="gobject-properties.html#gobject-multi-properties">Accessing multiple properties at once</a></span></dt></dl></dd> -</dl></dd> -<dt><span class="chapter"><a href="chapter-signal.html">The GObject messaging system</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="chapter-signal.html#closure">Closures</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="chapter-signal.html#idp9473520">C Closures</a></span></dt> -<dt><span class="sect2"><a href="chapter-signal.html#idp6382272">Non-C closures (for the fearless)</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="signal.html">Signals</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="signal.html#signal-registration">Signal registration</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-connection">Signal connection</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-emission">Signal emission</a></span></dt> -<dt><span class="sect2"><a href="signal.html#signal-detail">The <span class="emphasis"><em>detail</em></span> argument</a></span></dt> -</dl></dd> -</dl></dd> -</dl> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/pt02.html b/gtk+-mingw/share/gtk-doc/html/gobject/pt02.html deleted file mode 100644 index 3f8efab..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/pt02.html +++ /dev/null @@ -1,67 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Part IV. Tutorial</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="gobject-query.html" title="gobject-query"> -<link rel="next" href="howto-gobject.html" title="How to define and implement a new GObject"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="gobject-query.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="howto-gobject.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="part"> -<div class="titlepage"><div><div><h1 class="title"> -<a name="idp8350864"></a>Part IV. Tutorial</h1></div></div></div> -<div class="partintro"> -<div></div> -<p> - This chapter tries to answer the real-life questions of users and presents - the most common scenario use cases I could come up with. - The use cases are presented from most likely to less likely. - </p> -<div class="toc"> -<p><b>Table of Contents</b></p> -<dl> -<dt><span class="chapter"><a href="howto-gobject.html">How to define and implement a new GObject</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="howto-gobject.html#howto-gobject-header">Boilerplate header code</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-code.html">Boilerplate code</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-construction.html">Object Construction</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-destruction.html">Object Destruction</a></span></dt> -<dt><span class="sect1"><a href="howto-gobject-methods.html">Object methods</a></span></dt> -<dd><dl> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21629936">Non-virtual public methods</a></span></dt> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21632928">Virtual public methods</a></span></dt> -<dt><span class="sect2"><a href="howto-gobject-methods.html#idp21643024">Virtual private Methods</a></span></dt> -</dl></dd> -<dt><span class="sect1"><a href="howto-gobject-chainup.html">Chaining up</a></span></dt> -</dl></dd> -<dt><span class="chapter"><a href="howto-interface.html">How to define and implement interfaces</a></span></dt> -<dd><dl> -<dt><span class="sect1"><a href="howto-interface.html#howto-interface-define">How to define an interface</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-implement.html">How to implement an interface</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-prerequisite.html">Interface definition prerequisites</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-properties.html">Interface properties</a></span></dt> -<dt><span class="sect1"><a href="howto-interface-override.html">Overriding interface methods</a></span></dt> -</dl></dd> -<dt><span class="chapter"><a href="howto-signals.html">How to create and use signals</a></span></dt> -<dd><dl><dt><span class="sect1"><a href="howto-signals.html#howto-simple-signals">Simple use of signals</a></span></dt></dl></dd> -</dl> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/pt03.html b/gtk+-mingw/share/gtk-doc/html/gobject/pt03.html deleted file mode 100644 index d409af1..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/pt03.html +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Part V. Related Tools</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="howto-signals.html" title="How to create and use signals"> -<link rel="next" href="tools-vala.html" title="Vala"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="howto-signals.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="tools-vala.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="part"> -<div class="titlepage"><div><div><h1 class="title"> -<a name="idp10182224"></a>Part V. Related Tools</h1></div></div></div> -<div class="partintro"> -<div></div> -<p> - Several useful developer tools have been build around GObject - technology. The next sections briefly introduce them and link to - the respective project pages. - </p> -<p> - For example, writing GObjects is often seen as a tedious task. It - requires a lot of typing and just doing a copy/paste requires a - great deal of care. A lot of projects and scripts have been - written to generate GObject skeleton form boilerplate code, or - even translating higher-level language into plain C. - </p> -<div class="toc"> -<p><b>Table of Contents</b></p> -<dl> -<dt><span class="chapter"><a href="tools-vala.html">Vala</a></span></dt> -<dt><span class="chapter"><a href="tools-gob.html">GObject builder</a></span></dt> -<dt><span class="chapter"><a href="tools-ginspector.html">Graphical inspection of GObjects</a></span></dt> -<dt><span class="chapter"><a href="tools-refdb.html">Debugging reference count problems</a></span></dt> -<dt><span class="chapter"><a href="tools-gtkdoc.html">Writing API docs</a></span></dt> -</dl> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/right.png b/gtk+-mingw/share/gtk-doc/html/gobject/right.png Binary files differdeleted file mode 100644 index ed55207..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/right.png +++ /dev/null diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/rn01.html b/gtk+-mingw/share/gtk-doc/html/gobject/rn01.html deleted file mode 100644 index c2df32d..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/rn01.html +++ /dev/null @@ -1,85 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>API Reference</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="signal.html" title="Signals"> -<link rel="next" href="gobject-Type-Information.html" title="Type Information"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="signal.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="gobject-Type-Information.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="reference"> -<div class="titlepage"> -<div><div><h1 class="title"> -<a name="idp2602912"></a>API Reference</h1></div></div> -<hr> -</div> -<div class="toc"> -<p><b>Table of Contents</b></p> -<dl> -<dt> -<span class="refentrytitle"><a href="gobject-Type-Information.html">Type Information</a></span><span class="refpurpose"> — The GLib Runtime type identification and - management system</span> -</dt> -<dt> -<span class="refentrytitle"><a href="GTypePlugin.html">GTypePlugin</a></span><span class="refpurpose"> — An interface for dynamically loadable types</span> -</dt> -<dt> -<span class="refentrytitle"><a href="GTypeModule.html">GTypeModule</a></span><span class="refpurpose"> — Type loading modules</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-The-Base-Object-Type.html">GObject</a></span><span class="refpurpose"> — The base object type</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Enumeration-and-Flag-Types.html">Enumeration and Flag Types</a></span><span class="refpurpose"> — Enumeration and flags types</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Boxed-Types.html">Boxed Types</a></span><span class="refpurpose"> — A mechanism to wrap opaque C structures registered - by the type system</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Generic-values.html">Generic values</a></span><span class="refpurpose"> — A polymorphic type that can hold values of any - other type</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Standard-Parameter-and-Value-Types.html">Parameters and Values</a></span><span class="refpurpose"> — Standard Parameter and Value Types</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-GParamSpec.html">GParamSpec</a></span><span class="refpurpose"> — Metadata for parameter specifications</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Varargs-Value-Collection.html">Varargs Value Collection</a></span><span class="refpurpose"> — Converting varargs to generic values</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Signals.html">Signals</a></span><span class="refpurpose"> — A means for customization of object behaviour - and a general purpose notification mechanism</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Closures.html">Closures</a></span><span class="refpurpose"> — Functions as first-class objects</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-Value-arrays.html">Value arrays</a></span><span class="refpurpose"> — A container structure to maintain an array of - generic values</span> -</dt> -<dt> -<span class="refentrytitle"><a href="GBinding.html">GBinding</a></span><span class="refpurpose"> — Bind two object properties</span> -</dt> -</dl> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/rn02.html b/gtk+-mingw/share/gtk-doc/html/gobject/rn02.html deleted file mode 100644 index a387747..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/rn02.html +++ /dev/null @@ -1,47 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Tools Reference</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="index.html" title="GObject Reference Manual"> -<link rel="prev" href="GBinding.html" title="GBinding"> -<link rel="next" href="glib-mkenums.html" title="glib-mkenums"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="GBinding.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td> </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">GObject Reference Manual</th> -<td><a accesskey="n" href="glib-mkenums.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="reference"> -<div class="titlepage"> -<div><div><h1 class="title"> -<a name="idp115888"></a>Tools Reference</h1></div></div> -<hr> -</div> -<div class="toc"> -<p><b>Table of Contents</b></p> -<dl> -<dt> -<span class="refentrytitle"><a href="glib-mkenums.html">glib-mkenums</a></span><span class="refpurpose"> — C language enum description generation utility</span> -</dt> -<dt> -<span class="refentrytitle"><a href="glib-genmarshal.html">glib-genmarshal</a></span><span class="refpurpose"> — C code marshaller generation utility for GLib closures</span> -</dt> -<dt> -<span class="refentrytitle"><a href="gobject-query.html">gobject-query</a></span><span class="refpurpose"> — display a tree of types</span> -</dt> -</dl> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/signal.html b/gtk+-mingw/share/gtk-doc/html/gobject/signal.html deleted file mode 100644 index ea271e0..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/signal.html +++ /dev/null @@ -1,378 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Signals</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="chapter-signal.html" title="The GObject messaging system"> -<link rel="prev" href="chapter-signal.html" title="The GObject messaging system"> -<link rel="next" href="rn01.html" title="API Reference"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="chapter-signal.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="chapter-signal.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">GObject Reference Manual</th> -<td><a accesskey="n" href="rn01.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="sect1"> -<div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="signal"></a>Signals</h2></div></div></div> -<p> - GObject's signals have nothing to do with standard UNIX signals: they connect - arbitrary application-specific events with any number of listeners. - For example, in GTK+, every user event (keystroke or mouse move) is received - from the X server and generates a GTK+ event under the form of a signal emission - on a given object instance. - </p> -<p> - Each signal is registered in the type system together with the type on which - it can be emitted: users of the type are said to <span class="emphasis"><em>connect</em></span> - to the signal on a given type instance when they register a closure to be - invoked upon the signal emission. Users can also emit the signal by themselves - or stop the emission of the signal from within one of the closures connected - to the signal. - </p> -<p> - When a signal is emitted on a given type instance, all the closures - connected to this signal on this type instance will be invoked. All the closures - connected to such a signal represent callbacks whose signature looks like: -</p> -<pre class="programlisting"> -return_type function_callback (gpointer instance, ... , gpointer user_data); -</pre> -<p> - </p> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="signal-registration"></a>Signal registration</h3></div></div></div> -<p> - To register a new signal on an existing type, we can use any of <code class="function"><a class="link" href="gobject-Signals.html#g-signal-newv" title="g_signal_newv ()">g_signal_newv</a></code>, - <code class="function"><a class="link" href="gobject-Signals.html#g-signal-new-valist" title="g_signal_new_valist ()">g_signal_new_valist</a></code> or <code class="function"><a class="link" href="gobject-Signals.html#g-signal-new" title="g_signal_new ()">g_signal_new</a></code> functions: -</p> -<pre class="programlisting"> -guint g_signal_newv (const gchar *signal_name, - GType itype, - GSignalFlags signal_flags, - GClosure *class_closure, - GSignalAccumulator accumulator, - gpointer accu_data, - GSignalCMarshaller c_marshaller, - GType return_type, - guint n_params, - GType *param_types); -</pre> -<p> - The number of parameters to these functions is a bit intimidating but they are relatively - simple: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - signal_name: is a string which can be used to uniquely identify a given signal. - </p></li> -<li class="listitem"><p> - itype: is the instance type on which this signal can be emitted. - </p></li> -<li class="listitem"><p> - signal_flags: partly defines the order in which closures which were connected to the - signal are invoked. - </p></li> -<li class="listitem"><p> - class_closure: this is the default closure for the signal: if it is not NULL upon - the signal emission, it will be invoked upon this emission of the signal. The - moment where this closure is invoked compared to other closures connected to that - signal depends partly on the signal_flags. - </p></li> -<li class="listitem"><p> - accumulator: this is a function pointer which is invoked after each closure - has been invoked. If it returns FALSE, signal emission is stopped. If it returns - TRUE, signal emission proceeds normally. It is also used to compute the return - value of the signal based on the return value of all the invoked closures. - </p></li> -<li class="listitem"><p> - accumulator_data: this pointer will be passed down to each invocation of the - accumulator during emission. - </p></li> -<li class="listitem"><p> - c_marshaller: this is the default C marshaller for any closure which is connected to - this signal. - </p></li> -<li class="listitem"><p> - return_type: this is the type of the return value of the signal. - </p></li> -<li class="listitem"><p> - n_params: this is the number of parameters this signal takes. - </p></li> -<li class="listitem"><p> - param_types: this is an array of GTypes which indicate the type of each parameter - of the signal. The length of this array is indicated by n_params. - </p></li> -</ul></div> -<p> - </p> -<p> - As you can see from the above definition, a signal is basically a description - of the closures which can be connected to this signal and a description of the - order in which the closures connected to this signal will be invoked. - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="signal-connection"></a>Signal connection</h3></div></div></div> -<p> - If you want to connect to a signal with a closure, you have three possibilities: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - You can register a class closure at signal registration: this is a - system-wide operation. i.e.: the class_closure will be invoked during each emission - of a given signal on all the instances of the type which supports that signal. - </p></li> -<li class="listitem"><p> - You can use <code class="function"><a class="link" href="gobject-Signals.html#g-signal-override-class-closure" title="g_signal_override_class_closure ()">g_signal_override_class_closure</a></code> which - overrides the class_closure of a given type. It is possible to call this function - only on a derived type of the type on which the signal was registered. - This function is of use only to language bindings. - </p></li> -<li class="listitem"><p> - You can register a closure with the <code class="function"><a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()">g_signal_connect</a></code> - family of functions. This is an instance-specific operation: the closure - will be invoked only during emission of a given signal on a given instance. - </p></li> -</ul></div> -<p> - It is also possible to connect a different kind of callback on a given signal: - emission hooks are invoked whenever a given signal is emitted whatever the instance on - which it is emitted. Emission hooks are used for example to get all mouse_clicked - emissions in an application to be able to emit the small mouse click sound. - Emission hooks are connected with <code class="function"><a class="link" href="gobject-Signals.html#g-signal-add-emission-hook" title="g_signal_add_emission_hook ()">g_signal_add_emission_hook</a></code> - and removed with <code class="function"><a class="link" href="gobject-Signals.html#g-signal-remove-emission-hook" title="g_signal_remove_emission_hook ()">g_signal_remove_emission_hook</a></code>. - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="signal-emission"></a>Signal emission</h3></div></div></div> -<p> - Signal emission is done through the use of the <code class="function"><a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()">g_signal_emit</a></code> family - of functions. -</p> -<pre class="programlisting"> -void g_signal_emitv (const GValue *instance_and_params, - guint signal_id, - GQuark detail, - GValue *return_value); -</pre> -<p> - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - The instance_and_params array of GValues contains the list of input - parameters to the signal. The first element of the array is the - instance pointer on which to invoke the signal. The following elements of - the array contain the list of parameters to the signal. - </p></li> -<li class="listitem"><p> - signal_id identifies the signal to invoke. - </p></li> -<li class="listitem"><p> - detail identifies the specific detail of the signal to invoke. A detail is a kind of - magic token/argument which is passed around during signal emission and which is used - by closures connected to the signal to filter out unwanted signal emissions. In most - cases, you can safely set this value to zero. See <a class="xref" href="signal.html#signal-detail" title="The detail argument">the section called “The <span class="emphasis"><em>detail</em></span> argument”</a> for - more details about this parameter. - </p></li> -<li class="listitem"><p> - return_value holds the return value of the last closure invoked during emission if - no accumulator was specified. If an accumulator was specified during signal creation, - this accumulator is used to calculate the return_value as a function of the return - values of all the closures invoked during emission. - <sup>[<a name="idp6108128" href="#ftn.idp6108128" class="footnote">8</a>]</sup> - If no closure is invoked during - emission, the return_value is nonetheless initialized to zero/null. - </p></li> -</ul></div> -<p> - </p> -<p> - Internally, the GValue array is passed to the emission function proper, - <code class="function">signal_emit_unlocked_R</code> (implemented in <code class="filename">gsignal.c</code>). - Signal emission can be decomposed in 5 steps: - </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem"><p> - <span class="emphasis"><em>RUN_FIRST</em></span>: if the G_SIGNAL_RUN_FIRST flag was used - during signal registration and if there exist a class_closure for this signal, - the class_closure is invoked. Jump to <span class="emphasis"><em>EMISSION_HOOK</em></span> state. - </p></li> -<li class="listitem"><p> - <span class="emphasis"><em>EMISSION_HOOK</em></span>: if any emission hook was added to - the signal, they are invoked from first to last added. Accumulate return values - and jump to <span class="emphasis"><em>HANDLER_RUN_FIRST</em></span> state. - </p></li> -<li class="listitem"><p> - <span class="emphasis"><em>HANDLER_RUN_FIRST</em></span>: if any closure were connected - with the <code class="function"><a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()">g_signal_connect</a></code> family of - functions, and if they are not blocked (with the <code class="function"><a class="link" href="gobject-Signals.html#g-signal-handler-block" title="g_signal_handler_block ()">g_signal_handler_block</a></code> - family of functions) they are run here, from first to last connected. - Jump to <span class="emphasis"><em>RUN_LAST</em></span> state. - </p></li> -<li class="listitem"><p> - <span class="emphasis"><em>RUN_LAST</em></span>: if the G_SIGNAL_RUN_LAST - flag was set during registration and if a class_closure - was set, it is invoked here. Jump to - <span class="emphasis"><em>HANDLER_RUN_LAST</em></span> state. - </p></li> -<li class="listitem"><p> - <span class="emphasis"><em>HANDLER_RUN_LAST</em></span>: if any closure were connected - with the <code class="function">g_signal_connect_after</code> family of - functions, if they were not invoked during HANDLER_RUN_FIRST and if they - are not blocked, they are run here, from first to last connected. - Jump to <span class="emphasis"><em>RUN_CLEANUP</em></span> state. - </p></li> -<li class="listitem"><p> - <span class="emphasis"><em>RUN_CLEANUP</em></span>: if the G_SIGNAL_RUN_CLEANUP flag - was set during registration and if a class_closure was set, - it is invoked here. Signal emission is completed here. - </p></li> -</ul></div> -<p> - </p> -<p> - If, at any point during emission (except in RUN_CLEANUP state), one of the - closures or emission hook stops the signal emission with - <code class="function"><a class="link" href="gobject-Signals.html#g-signal-stop-emission" title="g_signal_stop_emission ()">g_signal_stop_emission</a></code>, - emission jumps to CLEANUP state. - </p> -<p> - If, at any point during emission, one of the closures or emission hook - emits the same signal on the same instance, emission is restarted from - the RUN_FIRST state. - </p> -<p> - The accumulator function is invoked in all states, after invocation - of each closure (except in EMISSION_HOOK and CLEANUP). It accumulates - the closure return value into the signal return value and returns TRUE or - FALSE. If, at any point, it does not return TRUE, emission jumps to CLEANUP state. - </p> -<p> - If no accumulator function was provided, the value returned by the last handler - run will be returned by <code class="function"><a class="link" href="gobject-Signals.html#g-signal-emit" title="g_signal_emit ()">g_signal_emit</a></code>. - </p> -</div> -<div class="sect2"> -<div class="titlepage"><div><div><h3 class="title"> -<a name="signal-detail"></a>The <span class="emphasis"><em>detail</em></span> argument</h3></div></div></div> -<p>All the functions related to signal emission or signal connection have a parameter - named the <span class="emphasis"><em>detail</em></span>. Sometimes, this parameter is hidden by the API - but it is always there, under one form or another. - </p> -<p> - Of the three main connection functions, - only one has an explicit detail parameter as a <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> - <sup>[<a name="idp6132560" href="#ftn.idp6132560" class="footnote">9</a>]</sup>: -</p> -<pre class="programlisting"> -gulong g_signal_connect_closure_by_id (gpointer instance, - guint signal_id, - GQuark detail, - GClosure *closure, - gboolean after); -</pre> -<p> - The two other functions hide the detail parameter in the signal name identification: -</p> -<pre class="programlisting"> -gulong g_signal_connect_closure (gpointer instance, - const gchar *detailed_signal, - GClosure *closure, - gboolean after); -gulong g_signal_connect_data (gpointer instance, - const gchar *detailed_signal, - GCallback c_handler, - gpointer data, - GClosureNotify destroy_data, - GConnectFlags connect_flags); -</pre> -<p> - Their detailed_signal parameter is a string which identifies the name of the signal - to connect to. However, the format of this string is structured to look like - <span class="emphasis"><em>signal_name::detail_name</em></span>. Connecting to the signal - named <span class="emphasis"><em>notify::cursor_position</em></span> will actually connect to the signal - named <span class="emphasis"><em>notify</em></span> with the <span class="emphasis"><em>cursor_position</em></span> name. - Internally, the detail string is transformed to a GQuark if it is present. - </p> -<p> - Of the four main signal emission functions, three have an explicit detail parameter as a - <a href="./../glib/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> again: -</p> -<pre class="programlisting"> -void g_signal_emitv (const GValue *instance_and_params, - guint signal_id, - GQuark detail, - GValue *return_value); -void g_signal_emit_valist (gpointer instance, - guint signal_id, - GQuark detail, - va_list var_args); -void g_signal_emit (gpointer instance, - guint signal_id, - GQuark detail, - ...); -</pre> -<p> - The fourth function hides it in its signal name parameter: -</p> -<pre class="programlisting"> -void g_signal_emit_by_name (gpointer instance, - const gchar *detailed_signal, - ...); -</pre> -<p> - The format of the detailed_signal parameter is exactly the same as the format used by - the <code class="function"><a class="link" href="gobject-Signals.html#g-signal-connect" title="g_signal_connect()">g_signal_connect</a></code> functions: <span class="emphasis"><em>signal_name::detail_name</em></span>. - </p> -<p> - If a detail is provided by the user to the emission function, it is used during emission to match - against the closures which also provide a detail. - If the closures' detail does not match the detail provided by the user, they will not be invoked - (even though they are connected to a signal which is being emitted). - </p> -<p> - This completely optional filtering mechanism is mainly used as an optimization for signals - which are often emitted for many different reasons: the clients can filter out which events they are - interested in before the closure's marshalling code runs. For example, this is used extensively - by the <span class="emphasis"><em>notify</em></span> signal of GObject: whenever a property is modified on a GObject, - instead of just emitting the <span class="emphasis"><em>notify</em></span> signal, GObject associates as a detail to this - signal emission the name of the property modified. This allows clients who wish to be notified of changes - to only one property to filter most events before receiving them. - </p> -<p> - As a simple rule, users can and should set the detail parameter to zero: this will disable completely - this optional filtering. - </p> -</div> -<div class="footnotes"> -<br><hr width="100" align="left"> -<div class="footnote"><p><sup>[<a id="ftn.idp6108128" href="#idp6108128" class="para">8</a>] </sup> - James (again!!) gives a few non-trivial examples of accumulators: - <span class="quote">“<span class="quote"> - For instance, you may have an accumulator that ignores NULL returns from - closures, and only accumulates the non-NULL ones. Another accumulator may try - to return the list of values returned by the closures. - </span>”</span> - </p></div> -<div class="footnote"><p><sup>[<a id="ftn.idp6132560" href="#idp6132560" class="para">9</a>] </sup>A GQuark is an integer which uniquely represents a string. It is possible to transform - back and forth between the integer and string representations with the functions - <code class="function"><a href="./../glib/glib/glib-Quarks.html#g-quark-from-string">g_quark_from_string</a></code> and <code class="function"><a href="./../glib/glib/glib-Quarks.html#g-quark-to-string">g_quark_to_string</a></code>. - </p></div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/style.css b/gtk+-mingw/share/gtk-doc/html/gobject/style.css deleted file mode 100644 index d6f6c26..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/style.css +++ /dev/null @@ -1,266 +0,0 @@ -.synopsis, .classsynopsis -{ - /* tango:aluminium 1/2 */ - background: #eeeeec; - border: solid 1px #d3d7cf; - padding: 0.5em; -} -.programlisting -{ - /* tango:sky blue 0/1 */ - background: #e6f3ff; - border: solid 1px #729fcf; - padding: 0.5em; -} -.variablelist -{ - padding: 4px; - margin-left: 3em; -} -.variablelist td:first-child -{ - vertical-align: top; -} - -@media screen { - sup a.footnote - { - position: relative; - top: 0em ! important; - - } - /* this is needed so that the local anchors are displayed below the naviagtion */ - div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name] - { - display: inline-block; - position: relative; - top:-5em; - } - /* this seems to be a bug in the xsl style sheets when generating indexes */ - div.index div.index - { - top: 0em; - } - /* make space for the fixed navigation bar and add space at the bottom so that - * link targets appear somewhat close to top - */ - body - { - padding-top: 3.2em; - padding-bottom: 20em; - } - /* style and size the navigation bar */ - table.navigation#top - { - position: fixed; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - z-index: 10; - } - .navigation a, .navigation a:visited - { - /* tango:scarlet red 3 */ - color: #a40000; - } - .navigation a:hover - { - /* tango:scarlet red 1 */ - color: #ef2929; - } - td.shortcuts - { - /* tango:scarlet red 1 */ - color: #ef2929; - font-size: 80%; - white-space: nowrap; - } -} -@media print { - table.navigation { - visibility: collapse; - display: none; - } - div.titlepage table.navigation { - visibility: visible; - display: table; - /* tango:scarlet red 0/1 */ - background: #ffe6e6; - border: solid 1px #ef2929; - margin-top: 0; - margin-bottom: 0; - top: 0; - left: 0; - height: 3em; - } -} - -.navigation .title -{ - font-size: 200%; -} - -div.gallery-float -{ - float: left; - padding: 10px; -} -div.gallery-float img -{ - border-style: none; -} -div.gallery-spacer -{ - clear: both; -} - -a, a:visited -{ - text-decoration: none; - /* tango:sky blue 2 */ - color: #3465a4; -} -a:hover -{ - text-decoration: underline; - /* tango:sky blue 1 */ - color: #729fcf; -} - -div.table table -{ - border-collapse: collapse; - border-spacing: 0px; - /* tango:aluminium 3 */ - border: solid 1px #babdb6; -} - -div.table table td, div.table table th -{ - /* tango:aluminium 3 */ - border: solid 1px #babdb6; - padding: 3px; - vertical-align: top; -} - -div.table table th -{ - /* tango:aluminium 2 */ - background-color: #d3d7cf; -} - -hr -{ - /* tango:aluminium 3 */ - color: #babdb6; - background: #babdb6; - border: none 0px; - height: 1px; - clear: both; -} - -.footer -{ - padding-top: 3.5em; - /* tango:aluminium 3 */ - color: #babdb6; - text-align: center; - font-size: 80%; -} - -.warning -{ - /* tango:orange 0/1 */ - background: #ffeed9; - border-color: #ffb04f; -} -.note -{ - /* tango:chameleon 0/0.5 */ - background: #d8ffb2; - border-color: #abf562; -} -.note, .warning -{ - padding: 0.5em; - border-width: 1px; - border-style: solid; -} -.note h3, .warning h3 -{ - margin-top: 0.0em -} -.note p, .warning p -{ - margin-bottom: 0.0em -} - -/* blob links */ -h2 .extralinks, h3 .extralinks -{ - float: right; - /* tango:aluminium 3 */ - color: #babdb6; - font-size: 80%; - font-weight: normal; -} - -.annotation -{ - /* tango:aluminium 5 */ - color: #555753; - font-size: 80%; - font-weight: normal; -} - -/* code listings */ - -.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */ -.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */ -.listing_code .programlisting .function { color: #000000; font-weight: bold; } -.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */ -.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */ -.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */ -.listing_code .programlisting .normal { color: #000000; } -.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */ -.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */ -.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */ -.listing_code .programlisting .type { color: #000000; } -.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */ -.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */ - -.listing_frame { - /* tango:sky blue 1 */ - border: solid 1px #729fcf; - padding: 0px; -} - -.listing_lines, .listing_code { - margin-top: 0px; - margin-bottom: 0px; - padding: 0.5em; -} -.listing_lines { - /* tango:sky blue 0.5 */ - background: #a6c5e3; - /* tango:aluminium 6 */ - color: #2e3436; -} -.listing_code { - /* tango:sky blue 0 */ - background: #e6f3ff; -} -.listing_code .programlisting { - /* override from previous */ - border: none 0px; - padding: 0px; -} -.listing_lines pre, .listing_code pre { - margin: 0px; -} - diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/tools-ginspector.html b/gtk+-mingw/share/gtk-doc/html/gobject/tools-ginspector.html deleted file mode 100644 index d89e1ab..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/tools-ginspector.html +++ /dev/null @@ -1,35 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Graphical inspection of GObjects</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt03.html" title="Part V. Related Tools"> -<link rel="prev" href="tools-gob.html" title="GObject builder"> -<link rel="next" href="tools-refdb.html" title="Debugging reference count problems"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="tools-gob.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt03.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">GObject Reference Manual</th> -<td><a accesskey="n" href="tools-refdb.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="tools-ginspector"></a>Graphical inspection of GObjects</h2></div></div></div> -<p> - Yet another tool that you may find helpful when working with - GObjects is <a class="ulink" href="http://sourceforge.net/projects/g-inspector" target="_top">G-Inspector</a>. It - is able to display GLib/GTK+ objects and their properties. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/tools-gob.html b/gtk+-mingw/share/gtk-doc/html/gobject/tools-gob.html deleted file mode 100644 index 1f5ff09..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/tools-gob.html +++ /dev/null @@ -1,40 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GObject builder</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt03.html" title="Part V. Related Tools"> -<link rel="prev" href="tools-vala.html" title="Vala"> -<link rel="next" href="tools-ginspector.html" title="Graphical inspection of GObjects"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="tools-vala.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt03.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">GObject Reference Manual</th> -<td><a accesskey="n" href="tools-ginspector.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="tools-gob"></a>GObject builder</h2></div></div></div> -<p> - In order to help a GObject class developper, one obvious idea is - to use some sort of templates for the skeletons. and then run - them through a special tool to generate the real C files. <a class="ulink" href="http://www.5z.com/jirka/gob.html" target="_top">GOB</a> (or GOB2) is - such a tool. It is a preprocessor which can be used to build - GObjects with inline C code so that there is no need to edit the - generated C code. The syntax is inspired by Java and Yacc or - Lex. The implementation is intentionally kept simple: the inline C - code provided by the user is not parsed. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/tools-gtkdoc.html b/gtk+-mingw/share/gtk-doc/html/gobject/tools-gtkdoc.html deleted file mode 100644 index 3adb14b..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/tools-gtkdoc.html +++ /dev/null @@ -1,63 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Writing API docs</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt03.html" title="Part V. Related Tools"> -<link rel="prev" href="tools-refdb.html" title="Debugging reference count problems"> -<link rel="next" href="api-index-full.html" title="Index"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="tools-refdb.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt03.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">GObject Reference Manual</th> -<td><a accesskey="n" href="api-index-full.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="tools-gtkdoc"></a>Writing API docs</h2></div></div></div> -<p>The API documentation for most of the GLib, GObject, GTK+ and GNOME - libraries is built with a combination of complex tools. Typically, the part of - the documentation which describes the behavior of each function is extracted - from the specially-formatted source code comments by a tool named gtk-doc which - generates DocBook XML and merges this DocBook XML with a set of master XML - DocBook files. These XML DocBook files are finally processed with xsltproc - (a small program part of the libxslt library) to generate the final HTML - output. Other tools can be used to generate PDF output from the source XML. - The following code excerpt shows what these comments look like. - </p> -<pre class="programlisting"> -/** - * gtk_widget_freeze_child_notify: - * @widget: a #GtkWidget - * - * Stops emission of "child-notify" signals on @widget. The signals are - * queued until gtk_widget_thaw_child_notify() is called on @widget. - * - * This is the analogue of g_object_freeze_notify() for child properties. - **/ -void -gtk_widget_freeze_child_notify (GtkWidget *widget) -{ -... - </pre> -<p> - </p> -<p> - Thorough - <a class="ulink" href="http://library.gnome.org/devel/gtk-doc-manual/stable/" target="_top">documentation</a> - on how to set up and use gtk-doc in your project is provided on the - <a class="ulink" href="http://library.gnome.org/devel/" target="_top">GNOME developer website</a>. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/tools-refdb.html b/gtk+-mingw/share/gtk-doc/html/gobject/tools-refdb.html deleted file mode 100644 index ff54cdd..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/tools-refdb.html +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Debugging reference count problems</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt03.html" title="Part V. Related Tools"> -<link rel="prev" href="tools-ginspector.html" title="Graphical inspection of GObjects"> -<link rel="next" href="tools-gtkdoc.html" title="Writing API docs"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="tools-ginspector.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt03.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">GObject Reference Manual</th> -<td><a accesskey="n" href="tools-gtkdoc.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="tools-refdb"></a>Debugging reference count problems</h2></div></div></div> -<p> - The reference counting scheme used by GObject does solve quite - a few memory management problems but also introduces new sources of bugs. - In large applications, finding the exact spot where the reference count - of an Object is not properly handled can be very difficult. Hopefully, - there exist a tool named <a class="ulink" href="http://refdbg.sf.net/" target="_top">refdbg</a> - which can be used to automate the task of tracking down the location - of invalid code with regard to reference counting. This application - intercepts the reference counting calls and tries to detect invalid behavior. - It supports a filter-rule mechanism to let you trace only the objects you are - interested in and it can be used together with GDB. - </p> -<p> - - Note that if GObject has been compiled with <code class="option">--enable-debug=yes</code>, - it exports a trap variable - </p> -<pre class="programlisting"> -static volatile GObject *g_trap_object_ref; - </pre> -<p> - If set to a non-NULL value, <a class="link" href="gobject-The-Base-Object-Type.html#g-object-ref" title="g_object_ref ()">g_object_ref</a>() - and <a class="link" href="gobject-The-Base-Object-Type.html#g-object-unref" title="g_object_unref ()">g_object_unref</a>() will be intercepted - when called with that value. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/tools-vala.html b/gtk+-mingw/share/gtk-doc/html/gobject/tools-vala.html deleted file mode 100644 index 9e8f3e9..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/tools-vala.html +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>Vala</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GObject Reference Manual"> -<link rel="up" href="pt03.html" title="Part V. Related Tools"> -<link rel="prev" href="pt03.html" title="Part V. Related Tools"> -<link rel="next" href="tools-gob.html" title="GObject builder"> -<meta name="generator" content="GTK-Doc V1.18 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> -<td><a accesskey="p" href="pt03.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="pt03.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">GObject Reference Manual</th> -<td><a accesskey="n" href="tools-gob.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr></table> -<div class="chapter"> -<div class="titlepage"><div><div><h2 class="title"> -<a name="tools-vala"></a>Vala</h2></div></div></div> -<p> - From the <a class="ulink" href="http://live.gnome.org/Vala" target="_top">Vala - homepage</a> itself: <span class="quote">“<span class="quote">Vala is a new programming language - that aims to bring modern programming language features to GNOME - developers without imposing any additional runtime requirements - and without using a different ABI compared to applications and - libraries written in C.</span>”</span> - </p> -<p> - The syntax of Vala is similar to C#. The available compiler - translates Vala into GObject C code. It can also compile - non-GObject C, using plain C API. - </p> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18</div> -</body> -</html>
\ No newline at end of file diff --git a/gtk+-mingw/share/gtk-doc/html/gobject/up.png b/gtk+-mingw/share/gtk-doc/html/gobject/up.png Binary files differdeleted file mode 100644 index 8eb591f..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gobject/up.png +++ /dev/null |