New upstream version 3.22.28

This commit is contained in:
Jeremy Bicha
2018-02-15 04:41:25 -05:00
652 changed files with 498643 additions and 49781 deletions

View File

@ -8,7 +8,7 @@
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
<link rel="prev" href="GtkNotebook.html" title="GtkNotebook">
<link rel="next" href="gtk3-Orientable.html" title="GtkOrientable">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -70,7 +70,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkExpander.html#gtk-expander-get-expanded" title="gtk_expander_get_expanded ()">gtk_expander_get_expanded</a> <span class="c_punctuation">()</span>
@ -86,7 +86,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GtkExpander.html#gtk-expander-get-spacing" title="gtk_expander_get_spacing ()">gtk_expander_get_spacing</a> <span class="c_punctuation">()</span>
@ -101,7 +101,7 @@
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="GtkExpander.html#gtk-expander-get-label" title="gtk_expander_get_label ()">gtk_expander_get_label</a> <span class="c_punctuation">()</span>
@ -117,7 +117,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkExpander.html#gtk-expander-get-use-underline" title="gtk_expander_get_use_underline ()">gtk_expander_get_use_underline</a> <span class="c_punctuation">()</span>
@ -133,7 +133,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkExpander.html#gtk-expander-get-use-markup" title="gtk_expander_get_use_markup ()">gtk_expander_get_use_markup</a> <span class="c_punctuation">()</span>
@ -165,7 +165,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkExpander.html#gtk-expander-get-label-fill" title="gtk_expander_get_label_fill ()">gtk_expander_get_label_fill</a> <span class="c_punctuation">()</span>
@ -181,7 +181,7 @@
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GtkExpander.html#gtk-expander-get-resize-toplevel" title="gtk_expander_get_resize_toplevel ()">gtk_expander_get_resize_toplevel</a> <span class="c_punctuation">()</span>
@ -200,18 +200,18 @@
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--expanded" title="The “expanded” property">expanded</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<span class="type">gchar</span> *</td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--label" title="The “label” property">label</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--label-fill" title="The “label-fill” property">label-fill</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
@ -222,22 +222,22 @@
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--resize-toplevel" title="The “resize-toplevel” property">resize-toplevel</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--spacing" title="The “spacing” property">spacing</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--use-markup" title="The “use-markup” property">use-markup</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--use-underline" title="The “use-underline” property">use-underline</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
@ -254,12 +254,12 @@
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--s-expander-size" title="The “expander-size” style property">expander-size</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
<td class="property_type"><span class="type">gint</span></td>
<td class="property_name"><a class="link" href="GtkExpander.html#GtkExpander--s-expander-spacing" title="The “expander-spacing” style property">expander-spacing</a></td>
<td class="property_flags">Read</td>
</tr>
@ -277,7 +277,7 @@
<tbody><tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="GtkExpander.html#GtkExpander-activate" title="The “activate” signal">activate</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
<td class="signal_flags">Action</td>
</tr></tbody>
</table></div>
</div>
@ -302,8 +302,8 @@
</div>
<div class="refsect1">
<a name="GtkExpander.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
<pre class="screen"> GObject
<span class="lineart">╰──</span> GInitiallyUnowned
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
<span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
@ -365,31 +365,39 @@ connection as follows:</p>
21
22
23
24</pre></td>
<td class="listing_code"><pre class="programlisting">expander <span class="gtkdoc opt">=</span> <span class="function"><a href="GtkExpander.html#gtk-expander-new-with-mnemonic">gtk_expander_new_with_mnemonic</a></span> <span class="gtkdoc opt">(</span><span class="string">&quot;_More Options&quot;</span><span class="gtkdoc opt">);</span>
<span class="function"><a href="../gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span> <span class="gtkdoc opt">(</span>expander<span class="gtkdoc opt">,</span> <span class="string">&quot;notify::expanded&quot;</span><span class="gtkdoc opt">,</span>
<span class="function"><a href="../gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span> <span class="gtkdoc opt">(</span>expander_callback<span class="gtkdoc opt">),</span> NULL<span class="gtkdoc opt">);</span>
24
25
26
27
28</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
<span class="function">expander_callback</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GObject</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">object</span><span class="symbol">,</span>
<span class="normal"> </span><span class="usertype">GParamSpec</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">param_spec</span><span class="symbol">,</span>
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
<span class="cbracket">{</span>
<span class="normal"> </span><span class="usertype">GtkExpander</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">expander</span><span class="symbol">;</span>
<span class="gtkdoc opt">...</span>
<span class="normal"> expander </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_EXPANDER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">object</span><span class="symbol">);</span>
<span class="gtkdoc kwb">static void</span>
<span class="function">expander_callback</span> <span class="gtkdoc opt">(</span>GObject <span class="gtkdoc opt">*</span>object<span class="gtkdoc opt">,</span>
GParamSpec <span class="gtkdoc opt">*</span>param_spec<span class="gtkdoc opt">,</span>
gpointer user_data<span class="gtkdoc opt">)</span>
<span class="gtkdoc opt">{</span>
GtkExpander <span class="gtkdoc opt">*</span>expander<span class="gtkdoc opt">;</span>
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkExpander.html#gtk-expander-get-expanded">gtk_expander_get_expanded</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">expander</span><span class="symbol">))</span>
<span class="normal"> </span><span class="cbracket">{</span>
<span class="normal"> </span><span class="comment">// Show or create widgets</span>
<span class="normal"> </span><span class="cbracket">}</span>
<span class="normal"> </span><span class="keyword">else</span>
<span class="normal"> </span><span class="cbracket">{</span>
<span class="normal"> </span><span class="comment">// Hide or destroy widgets</span>
<span class="normal"> </span><span class="cbracket">}</span>
<span class="cbracket">}</span>
expander <span class="gtkdoc opt">=</span> <span class="function">GTK_EXPANDER</span> <span class="gtkdoc opt">(</span>object<span class="gtkdoc opt">);</span>
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
<span class="function">create_expander</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
<span class="cbracket">{</span>
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">expander </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkExpander.html#gtk-expander-new-with-mnemonic">gtk_expander_new_with_mnemonic</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"_More Options"</span><span class="symbol">);</span>
<span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">expander</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"notify::expanded"</span><span class="symbol">,</span>
<span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">expander_callback</span><span class="symbol">),</span><span class="normal"> NULL</span><span class="symbol">);</span>
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="GtkExpander.html#gtk-expander-get-expanded">gtk_expander_get_expanded</a></span> <span class="gtkdoc opt">(</span>expander<span class="gtkdoc opt">))</span>
<span class="gtkdoc opt">{</span>
<span class="gtkdoc slc">// Show or create widgets</span>
<span class="gtkdoc opt">}</span>
<span class="keyword">else</span>
<span class="gtkdoc opt">{</span>
<span class="gtkdoc slc">// Hide or destroy widgets</span>
<span class="gtkdoc opt">}</span>
<span class="gtkdoc opt">}</span></pre></td>
<span class="normal"> </span><span class="comment">// ...</span>
<span class="cbracket">}</span></pre></td>
</tr>
</tbody>
</table>
@ -417,14 +425,14 @@ specified without specifying a &lt;child&gt; type attribute.</p>
6
7
8</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc opt">&lt;</span>object <span class="gtkdoc kwc">class</span><span class="gtkdoc opt">=</span><span class="string">&quot;GtkExpander&quot;</span><span class="gtkdoc opt">&gt;</span>
<span class="gtkdoc opt">&lt;</span>child type<span class="gtkdoc opt">=</span><span class="string">&quot;label&quot;</span><span class="gtkdoc opt">&gt;</span>
<span class="gtkdoc opt">&lt;</span>object <span class="gtkdoc kwc">class</span><span class="gtkdoc opt">=</span><span class="string">&quot;GtkLabel&quot;</span> id<span class="gtkdoc opt">=</span><span class="string">&quot;expander-label&quot;</span><span class="gtkdoc opt">/&gt;</span>
<span class="gtkdoc opt">&lt;/</span>child<span class="gtkdoc opt">&gt;</span>
<span class="gtkdoc opt">&lt;</span>child<span class="gtkdoc opt">&gt;</span>
<span class="gtkdoc opt">&lt;</span>object <span class="gtkdoc kwc">class</span><span class="gtkdoc opt">=</span><span class="string">&quot;GtkEntry&quot;</span> id<span class="gtkdoc opt">=</span><span class="string">&quot;expander-content&quot;</span><span class="gtkdoc opt">/&gt;</span>
<span class="gtkdoc opt">&lt;/</span>child<span class="gtkdoc opt">&gt;</span>
<span class="gtkdoc opt">&lt;/</span>object<span class="gtkdoc opt">&gt;</span></pre></td>
<td class="listing_code"><pre class="programlisting"><span class="symbol">&lt;</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkExpander"</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">child</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"label"</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkLabel"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"expander-label"</span><span class="symbol">/&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkEntry"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"expander-content"</span><span class="symbol">/&gt;</span>
<span class="normal"> </span><span class="symbol">&lt;/</span><span class="normal">child</span><span class="symbol">&gt;</span>
<span class="symbol">&lt;/</span><span class="normal">object</span><span class="symbol">&gt;</span></pre></td>
</tr>
</tbody>
</table>
@ -444,11 +452,11 @@ specified without specifying a &lt;child&gt; type attribute.</p>
3
4
5</pre></td>
<td class="listing_code"><pre class="programlisting">expander
├── title
│ ├── arrow
│ ╰── <span class="gtkdoc opt">&lt;</span>label widget<span class="gtkdoc opt">&gt;</span>
╰── <span class="gtkdoc opt">&lt;</span>child<span class="gtkdoc opt">&gt;</span></pre></td>
<td class="listing_code"><pre class="programlisting"><span class="normal">expander</span>
<span class="normal">├── title</span>
<span class="normal">│ ├── arrow</span>
<span class="normal">│ ╰── </span><span class="symbol">&lt;</span><span class="usertype">label</span><span class="normal"> widget</span><span class="symbol">&gt;</span>
<span class="normal">╰── </span><span class="symbol">&lt;</span><span class="normal">child</span><span class="symbol">&gt;</span></pre></td>
</tr>
</tbody>
</table>
@ -465,7 +473,7 @@ expander that is showing its child gets the :checked pseudoclass added to it.</p
<div class="refsect2">
<a name="gtk-expander-new"></a><h3>gtk_expander_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
gtk_expander_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
gtk_expander_new (<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
<p>Creates a new expander using <em class="parameter"><code>label</code></em>
as the text of the label.</p>
<div class="refsect3">
@ -478,7 +486,7 @@ gtk_expander_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>label</p></td>
<td class="parameter_description"><p> the text of the label. </p></td>
<td class="parameter_description"><p>the text of the label. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
</table></div>
@ -493,7 +501,7 @@ gtk_expander_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-
<div class="refsect2">
<a name="gtk-expander-new-with-mnemonic"></a><h3>gtk_expander_new_with_mnemonic ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
gtk_expander_new_with_mnemonic (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
gtk_expander_new_with_mnemonic (<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
<p>Creates a new expander using <em class="parameter"><code>label</code></em>
as the text of the label.
If characters in <em class="parameter"><code>label</code></em>
@ -512,7 +520,7 @@ Pressing Alt and that key activates the button.</p>
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>label</p></td>
<td class="parameter_description"><p> the text of the label with an underscore
<td class="parameter_description"><p>the text of the label with an underscore
in front of the mnemonic character. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
@ -529,9 +537,9 @@ in front of the mnemonic character. </p></td>
<a name="gtk-expander-set-expanded"></a><h3>gtk_expander_set_expanded ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_expander_set_expanded (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expanded</code></em>);</pre>
<p>Sets the state of the expander. Set to <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if you want
the child widget to be revealed, and <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if you want the
<em class="parameter"><code><span class="type">gboolean</span> expanded</code></em>);</pre>
<p>Sets the state of the expander. Set to <code class="literal">TRUE</code>, if you want
the child widget to be revealed, and <code class="literal">FALSE</code> if you want the
child widget to be hidden.</p>
<div class="refsect3">
<a name="gtk-expander-set-expanded.parameters"></a><h4>Parameters</h4>
@ -560,9 +568,9 @@ child widget to be hidden.</p>
<hr>
<div class="refsect2">
<a name="gtk-expander-get-expanded"></a><h3>gtk_expander_get_expanded ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_expander_get_expanded (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>);</pre>
<p>Queries a <a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> and returns its current state. Returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
<p>Queries a <a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> and returns its current state. Returns <code class="literal">TRUE</code>
if the child widget is revealed.</p>
<p>See <a class="link" href="GtkExpander.html#gtk-expander-set-expanded" title="gtk_expander_set_expanded ()"><code class="function">gtk_expander_set_expanded()</code></a>.</p>
<div class="refsect3">
@ -591,7 +599,7 @@ if the child widget is revealed.</p>
<a name="gtk-expander-set-spacing"></a><h3>gtk_expander_set_spacing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_expander_set_spacing (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);</pre>
<em class="parameter"><code><span class="type">gint</span> spacing</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_expander_set_spacing</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
<p>Use margins on the child instead.</p>
@ -626,7 +634,7 @@ pixels to place between expander and the child.</p>
<hr>
<div class="refsect2">
<a name="gtk-expander-get-spacing"></a><h3>gtk_expander_get_spacing ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
<pre class="programlisting"><span class="returnvalue">gint</span>
gtk_expander_get_spacing (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>);</pre>
<div class="warning">
<p><code class="literal">gtk_expander_get_spacing</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
@ -659,7 +667,7 @@ gtk_expander_get_spacing (<em class="parameter"><code><a class="link" href="GtkE
<a name="gtk-expander-set-label"></a><h3>gtk_expander_set_label ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_expander_set_label (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
<p>Sets the text of the label of the expander to <em class="parameter"><code>label</code></em>
.</p>
<p>This will also clear any previously set labels.</p>
@ -679,7 +687,7 @@ gtk_expander_set_label (<em class="parameter"><code><a class="link" href="GtkExp
</tr>
<tr>
<td class="parameter_name"><p>label</p></td>
<td class="parameter_description"><p> a string. </p></td>
<td class="parameter_description"><p>a string. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
@ -690,12 +698,12 @@ gtk_expander_set_label (<em class="parameter"><code><a class="link" href="GtkExp
<hr>
<div class="refsect2">
<a name="gtk-expander-get-label"></a><h3>gtk_expander_get_label ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
gtk_expander_get_label (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>);</pre>
<p>Fetches the text from a label widget including any embedded
underlines indicating mnemonics and Pango markup, as set by
<a class="link" href="GtkExpander.html#gtk-expander-set-label" title="gtk_expander_set_label ()"><code class="function">gtk_expander_set_label()</code></a>. If the label text has not been set the
return value will be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. This will be the case if you create an
return value will be <code class="literal">NULL</code>. This will be the case if you create an
empty button with <a class="link" href="GtkButton.html#gtk-button-new" title="gtk_button_new ()"><code class="function">gtk_button_new()</code></a> to use as a container.</p>
<p>Note that this function behaved differently in versions prior to
2.14 and used to return the label text stripped of embedded
@ -719,7 +727,7 @@ widget.</p>
</div>
<div class="refsect3">
<a name="gtk-expander-get-label.returns"></a><h4>Returns</h4>
<p> The text of the label widget. This string is owned
<p>The text of the label widget. This string is owned
by the widget and must not be modified or freed. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
@ -730,7 +738,7 @@ by the widget and must not be modified or freed. </p>
<a name="gtk-expander-set-use-underline"></a><h3>gtk_expander_set_use_underline ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_expander_set_use_underline (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_underline</code></em>);</pre>
<em class="parameter"><code><span class="type">gboolean</span> use_underline</code></em>);</pre>
<p>If true, an underline in the text of the expander label indicates
the next character should be used for the mnemonic accelerator key.</p>
<div class="refsect3">
@ -749,7 +757,7 @@ the next character should be used for the mnemonic accelerator key.</p>
</tr>
<tr>
<td class="parameter_name"><p>use_underline</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if underlines in the text indicate mnemonics</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if underlines in the text indicate mnemonics</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
@ -760,7 +768,7 @@ the next character should be used for the mnemonic accelerator key.</p>
<hr>
<div class="refsect2">
<a name="gtk-expander-get-use-underline"></a><h3>gtk_expander_get_use_underline ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_expander_get_use_underline (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>);</pre>
<p>Returns whether an embedded underline in the expander label
indicates a mnemonic. See <a class="link" href="GtkExpander.html#gtk-expander-set-use-underline" title="gtk_expander_set_use_underline ()"><code class="function">gtk_expander_set_use_underline()</code></a>.</p>
@ -781,7 +789,7 @@ indicates a mnemonic. See <a class="link" href="GtkExpander.html#gtk-expander-se
</div>
<div class="refsect3">
<a name="gtk-expander-get-use-underline.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an embedded underline in the expander
<p> <code class="literal">TRUE</code> if an embedded underline in the expander
label indicates the mnemonic accelerator keys</p>
</div>
<p class="since">Since: 2.4</p>
@ -791,7 +799,7 @@ label indicates the mnemonic accelerator keys</p>
<a name="gtk-expander-set-use-markup"></a><h3>gtk_expander_set_use_markup ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_expander_set_use_markup (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_markup</code></em>);</pre>
<em class="parameter"><code><span class="type">gboolean</span> use_markup</code></em>);</pre>
<p>Sets whether the text of the label contains markup in
Pangos text markup language.
See <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_set_markup ()"><code class="function">gtk_label_set_markup()</code></a>.</p>
@ -811,7 +819,7 @@ See <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_s
</tr>
<tr>
<td class="parameter_name"><p>use_markup</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the labels text should be parsed for markup</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the labels text should be parsed for markup</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
@ -822,7 +830,7 @@ See <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_s
<hr>
<div class="refsect2">
<a name="gtk-expander-get-use-markup"></a><h3>gtk_expander_get_use_markup ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_expander_get_use_markup (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>);</pre>
<p>Returns whether the labels text is interpreted as marked up with
the Pango text markup language.
@ -844,7 +852,7 @@ See <a class="link" href="GtkExpander.html#gtk-expander-set-use-markup" title="g
</div>
<div class="refsect3">
<a name="gtk-expander-get-use-markup.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the labels text will be parsed for markup</p>
<p> <code class="literal">TRUE</code> if the labels text will be parsed for markup</p>
</div>
<p class="since">Since: 2.4</p>
</div>
@ -872,7 +880,7 @@ that will appear embedded alongside the expander arrow.</p>
</tr>
<tr>
<td class="parameter_name"><p>label_widget</p></td>
<td class="parameter_description"><p> the new label widget. </p></td>
<td class="parameter_description"><p>the new label widget. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
@ -904,8 +912,8 @@ gtk_expander_get_label_widget (<em class="parameter"><code><a class="link" href=
</div>
<div class="refsect3">
<a name="gtk-expander-get-label-widget.returns"></a><h4>Returns</h4>
<p> the label widget,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is none. </p>
<p>the label widget,
or <code class="literal">NULL</code> if there is none. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.4</p>
@ -915,7 +923,7 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
<a name="gtk-expander-set-label-fill"></a><h3>gtk_expander_set_label_fill ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_expander_set_label_fill (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> label_fill</code></em>);</pre>
<em class="parameter"><code><span class="type">gboolean</span> label_fill</code></em>);</pre>
<p>Sets whether the label widget should fill all available
horizontal space allocated to <em class="parameter"><code>expander</code></em>
.</p>
@ -935,7 +943,7 @@ horizontal space allocated to <em class="parameter"><code>expander</code></em>
</tr>
<tr>
<td class="parameter_name"><p>label_fill</p></td>
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the label should should fill
<td class="parameter_description"><p><code class="literal">TRUE</code> if the label should should fill
all available horizontal space</p></td>
<td class="parameter_annotations"> </td>
</tr>
@ -947,7 +955,7 @@ all available horizontal space</p></td>
<hr>
<div class="refsect2">
<a name="gtk-expander-get-label-fill"></a><h3>gtk_expander_get_label_fill ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_expander_get_label_fill (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>);</pre>
<p>Returns whether the label widget will fill all available
horizontal space allocated to <em class="parameter"><code>expander</code></em>
@ -969,7 +977,7 @@ horizontal space allocated to <em class="parameter"><code>expander</code></em>
</div>
<div class="refsect3">
<a name="gtk-expander-get-label-fill.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the label widget will fill all
<p> <code class="literal">TRUE</code> if the label widget will fill all
available horizontal space</p>
</div>
<p class="since">Since: 2.22</p>
@ -979,7 +987,7 @@ available horizontal space</p>
<a name="gtk-expander-set-resize-toplevel"></a><h3>gtk_expander_set_resize_toplevel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_expander_set_resize_toplevel (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> resize_toplevel</code></em>);</pre>
<em class="parameter"><code><span class="type">gboolean</span> resize_toplevel</code></em>);</pre>
<p>Sets whether the expander will resize the toplevel widget
containing the expander upon resizing and collpasing.</p>
<div class="refsect3">
@ -1009,7 +1017,7 @@ containing the expander upon resizing and collpasing.</p>
<hr>
<div class="refsect2">
<a name="gtk-expander-get-resize-toplevel"></a><h3>gtk_expander_get_resize_toplevel ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
gtk_expander_get_resize_toplevel (<em class="parameter"><code><a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander</code></em>);</pre>
<p>Returns whether the expander will resize the toplevel widget
containing the expander upon resizing and collpasing.</p>
@ -1075,7 +1083,7 @@ containing the expander upon resizing and collpasing.</p>
<a name="GtkExpander.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkExpander--expanded"></a><h3>The <code class="literal">“expanded”</code> property</h3>
<pre class="programlisting"> “expanded” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<pre class="programlisting"> “expanded” <span class="type">gboolean</span></pre>
<p>Whether the expander has been opened to reveal the child widget.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
@ -1083,7 +1091,7 @@ containing the expander upon resizing and collpasing.</p>
<hr>
<div class="refsect2">
<a name="GtkExpander--label"></a><h3>The <code class="literal">“label”</code> property</h3>
<pre class="programlisting"> “label” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<pre class="programlisting"> “label” <span class="type">gchar</span> *</pre>
<p>Text of the expander's label.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: NULL</p>
@ -1091,7 +1099,7 @@ containing the expander upon resizing and collpasing.</p>
<hr>
<div class="refsect2">
<a name="GtkExpander--label-fill"></a><h3>The <code class="literal">“label-fill”</code> property</h3>
<pre class="programlisting"> “label-fill” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<pre class="programlisting"> “label-fill” <span class="type">gboolean</span></pre>
<p>Whether the label widget should fill all available horizontal space.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
@ -1106,8 +1114,8 @@ containing the expander upon resizing and collpasing.</p>
<hr>
<div class="refsect2">
<a name="GtkExpander--resize-toplevel"></a><h3>The <code class="literal">“resize-toplevel”</code> property</h3>
<pre class="programlisting"> “resize-toplevel” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>When this property is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the expander will resize the toplevel
<pre class="programlisting"> “resize-toplevel” <span class="type">gboolean</span></pre>
<p>When this property is <code class="literal">TRUE</code>, the expander will resize the toplevel
widget containing the expander upon expanding and collapsing.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
@ -1116,7 +1124,7 @@ widget containing the expander upon expanding and collapsing.</p>
<hr>
<div class="refsect2">
<a name="GtkExpander--spacing"></a><h3>The <code class="literal">“spacing”</code> property</h3>
<pre class="programlisting"> “spacing” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<pre class="programlisting"> “spacing” <span class="type">gint</span></pre>
<p>Space to put between the label and the child when the
expander is expanded.</p>
<div class="warning">
@ -1131,7 +1139,7 @@ expander is expanded.</p>
<hr>
<div class="refsect2">
<a name="GtkExpander--use-markup"></a><h3>The <code class="literal">“use-markup”</code> property</h3>
<pre class="programlisting"> “use-markup” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<pre class="programlisting"> “use-markup” <span class="type">gboolean</span></pre>
<p>The text of the label includes XML markup. See pango_parse_markup().</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
@ -1139,7 +1147,7 @@ expander is expanded.</p>
<hr>
<div class="refsect2">
<a name="GtkExpander--use-underline"></a><h3>The <code class="literal">“use-underline”</code> property</h3>
<pre class="programlisting"> “use-underline” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<pre class="programlisting"> “use-underline” <span class="type">gboolean</span></pre>
<p>If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
@ -1149,7 +1157,7 @@ expander is expanded.</p>
<a name="GtkExpander.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2">
<a name="GtkExpander--s-expander-size"></a><h3>The <code class="literal">“expander-size”</code> style property</h3>
<pre class="programlisting"> “expander-size” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<pre class="programlisting"> “expander-size” <span class="type">gint</span></pre>
<p>The size of the expander arrow.</p>
<div class="warning">
<p><code class="literal">GtkExpander:expander-size</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
@ -1162,7 +1170,7 @@ expander is expanded.</p>
<hr>
<div class="refsect2">
<a name="GtkExpander--s-expander-spacing"></a><h3>The <code class="literal">“expander-spacing”</code> style property</h3>
<pre class="programlisting"> “expander-spacing” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
<pre class="programlisting"> “expander-spacing” <span class="type">gint</span></pre>
<p>Spaing around the expander arrow.</p>
<div class="warning">
<p><code class="literal">GtkExpander:expander-spacing</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
@ -1180,12 +1188,12 @@ expander is expanded.</p>
<a name="GtkExpander-activate"></a><h3>The <code class="literal">“activate”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkExpander.html" title="GtkExpander"><span class="type">GtkExpander</span></a> *expander,
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>