New upstream version 3.24.18

This commit is contained in:
Simon McVittie
2020-04-10 15:23:16 +01:00
386 changed files with 78008 additions and 6390 deletions

View File

@ -57,7 +57,7 @@
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/gtk4/GtkWidget.html#GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
<a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
</td>
<td class="function_name">
<a class="link" href="gtk3-General.html#gtk-get-locale-direction" title="gtk_get_locale_direction ()">gtk_get_locale_direction</a> <span class="c_punctuation">()</span>
@ -315,7 +315,7 @@
</colgroup>
<tbody><tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/gtk4-General.html#GTK-PRIORITY-RESIZE:CAPS">GTK_PRIORITY_RESIZE</a></td>
<td class="function_name"><a class="link" href="gtk3-General.html#GTK-PRIORITY-RESIZE:CAPS" title="GTK_PRIORITY_RESIZE">GTK_PRIORITY_RESIZE</a></td>
</tr></tbody>
</table></div>
</div>
@ -452,13 +452,13 @@ must not be freed. </p>
<hr>
<div class="refsect2">
<a name="gtk-get-locale-direction"></a><h3>gtk_get_locale_direction ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkWidget.html#GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
<pre class="programlisting"><a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="returnvalue">GtkTextDirection</span></a>
gtk_get_locale_direction (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Get the direction of the current locale. This is the expected
reading direction for text and UI.</p>
<p>This function depends on the current locale being set with
<code class="function">setlocale()</code> and will default to setting the <a href="https://developer.gnome.org/gtk4/GtkWidget.html#GTK-TEXT-DIR-LTR:CAPS"><code class="literal">GTK_TEXT_DIR_LTR</code></a>
direction otherwise. <a href="https://developer.gnome.org/gtk4/GtkWidget.html#GTK-TEXT-DIR-NONE:CAPS"><code class="literal">GTK_TEXT_DIR_NONE</code></a> will never be returned.</p>
<code class="function">setlocale()</code> and will default to setting the <a class="link" href="GtkWidget.html#GTK-TEXT-DIR-LTR:CAPS"><code class="literal">GTK_TEXT_DIR_LTR</code></a>
direction otherwise. <a class="link" href="GtkWidget.html#GTK-TEXT-DIR-NONE:CAPS"><code class="literal">GTK_TEXT_DIR_NONE</code></a> will never be returned.</p>
<p>GTK+ sets the default text direction according to the locale
during <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>, and you should normally use
<a class="link" href="GtkWidget.html#gtk-widget-get-direction" title="gtk_widget_get_direction ()"><code class="function">gtk_widget_get_direction()</code></a> or <a class="link" href="GtkWidget.html#gtk-widget-get-default-direction" title="gtk_widget_get_default_direction ()"><code class="function">gtk_widget_get_default_direction()</code></a>
@ -484,7 +484,7 @@ you can use it to update the default text direction as follows:</p>
<p></p>
<div class="refsect3">
<a name="gtk-get-locale-direction.returns"></a><h4>Returns</h4>
<p> the <a href="https://developer.gnome.org/gtk4/GtkWidget.html#GtkTextDirection"><span class="type">GtkTextDirection</span></a> of the current locale</p>
<p> the <a class="link" href="GtkWidget.html#GtkTextDirection" title="enum GtkTextDirection"><span class="type">GtkTextDirection</span></a> of the current locale</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-12.html#api-index-3.12">3.12</a></p>
</div>
@ -612,6 +612,8 @@ initialized. Instead it returns <code class="literal">FALSE</code> on failure.</
<p>This way the application can fall back to some other means of
communication with the user - for example a curses or command line
interface.</p>
<p>Note that calling any GTK function or instantiating any GTK type after
this function returns <code class="literal">FALSE</code> results in undefined behavior.</p>
<div class="refsect3">
<a name="gtk-init-check.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
@ -1492,6 +1494,18 @@ of making up expose events.</p>
</div>
</div>
<div class="refsect1">
<a name="gtk3-General.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GTK-PRIORITY-RESIZE:CAPS"></a><h3>GTK_PRIORITY_RESIZE</h3>
<pre class="programlisting">#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10)
</pre>
<p>Use this priority for functionality related to size allocation.</p>
<p>It is used internally by GTK+ to compute the sizes of widgets.
This priority is higher than <code class="literal">GDK_PRIORITY_REDRAW</code> to avoid
resizing a widget which was just redrawn.</p>
</div>
</div>
<div class="refsect1">
<a name="gtk3-General.see-also"></a><h2>See Also</h2>
<p>See the GLib manual, especially <span class="type">GMainLoop</span> and signal-related
functions such as <code class="function">g_signal_connect()</code></p>