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

@ -165,7 +165,7 @@
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
<a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
</td>
<td class="function_name">
<a class="link" href="GtkListBox.html#gtk-list-box-get-selection-mode" title="gtk_list_box_get_selection_mode ()">gtk_list_box_get_selection_mode</a> <span class="c_punctuation">()</span>
@ -405,7 +405,7 @@
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></td>
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></td>
<td class="property_name"><a class="link" href="GtkListBox.html#GtkListBox--selection-mode" title="The “selection-mode” property">selection-mode</a></td>
<td class="property_flags">Read / Write</td>
</tr>
@ -489,19 +489,19 @@
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkListBox.html#GtkListBox-struct">GtkListBox</a></td>
<td class="function_name"><a class="link" href="GtkListBox.html#GtkListBox-struct" title="struct GtkListBox">GtkListBox</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name">GtkListBoxClass</td>
<td class="function_name"><a class="link" href="GtkListBox.html#GtkListBoxClass" title="struct GtkListBoxClass">GtkListBoxClass</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkListBox.html#GtkListBoxRow-struct">GtkListBoxRow</a></td>
<td class="function_name"><a class="link" href="GtkListBox.html#GtkListBoxRow-struct" title="struct GtkListBoxRow">GtkListBoxRow</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkListBox.html#GtkListBoxRowClass">GtkListBoxRowClass</a></td>
<td class="function_name"><a class="link" href="GtkListBox.html#GtkListBoxRowClass" title="struct GtkListBoxRowClass">GtkListBoxRowClass</a></td>
</tr>
</tbody>
</table></div>
@ -545,7 +545,7 @@ button in it).</p>
<p>Although a <a class="link" href="GtkListBox.html" title="GtkListBox"><span class="type">GtkListBox</span></a> must have only <a class="link" href="GtkListBox.html#GtkListBoxRow"><span class="type">GtkListBoxRow</span></a> children you can
add any kind of widget to it via <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a>, and a <a class="link" href="GtkListBox.html#GtkListBoxRow"><span class="type">GtkListBoxRow</span></a>
widget will automatically be inserted between the list and the widget.</p>
<p><a href="https://developer.gnome.org/gtk4/GtkListBox.html#GtkListBoxRow-struct"><span class="type">GtkListBoxRows</span></a> can be marked as activatable or selectable. If a row
<p><a href="GtkListBox.html#GtkListBoxRow-struct"><span class="type">GtkListBoxRows</span></a> can be marked as activatable or selectable. If a row
is activatable, <a class="link" href="GtkListBox.html#GtkListBox-row-activated" title="The “row-activated” signal"><span class="type">“row-activated”</span></a> will be emitted for it when
the user tries to activate it. If it is selectable, the row will be marked
as selected when the user tries to select it.</p>
@ -1050,9 +1050,9 @@ Free with <code class="function">g_list_free()</code> when done. </p>
<a name="gtk-list-box-set-selection-mode"></a><h3>gtk_list_box_set_selection_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_list_box_set_selection_mode (<em class="parameter"><code><a class="link" href="GtkListBox.html" title="GtkListBox"><span class="type">GtkListBox</span></a> *box</code></em>,
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);</pre>
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);</pre>
<p>Sets how selection works in the listbox.
See <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> for details.</p>
See <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> for details.</p>
<div class="refsect3">
<a name="gtk-list-box-set-selection-mode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
@ -1069,7 +1069,7 @@ See <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#Gt
</tr>
<tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>The <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></p></td>
<td class="parameter_description"><p>The <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
@ -1080,7 +1080,7 @@ See <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#Gt
<hr>
<div class="refsect2">
<a name="gtk-list-box-get-selection-mode"></a><h3>gtk_list_box_get_selection_mode ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
gtk_list_box_get_selection_mode (<em class="parameter"><code><a class="link" href="GtkListBox.html" title="GtkListBox"><span class="type">GtkListBox</span></a> *box</code></em>);</pre>
<p>Gets the selection mode of the listbox.</p>
<div class="refsect3">
@ -1100,7 +1100,7 @@ gtk_list_box_get_selection_mode (<em class="parameter"><code><a class="link" hre
</div>
<div class="refsect3">
<a name="gtk-list-box-get-selection-mode.returns"></a><h4>Returns</h4>
<p> a <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></p>
<p> a <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-10.html#api-index-3.10">3.10</a></p>
</div>
@ -2062,6 +2062,116 @@ for this row.</p>
</div>
</div>
<div class="refsect1">
<a name="GtkListBox.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkListBox-struct"></a><h3>struct GtkListBox</h3>
<pre class="programlisting">struct GtkListBox;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GtkListBoxClass"></a><h3>struct GtkListBoxClass</h3>
<pre class="programlisting">struct GtkListBoxClass {
GtkContainerClass parent_class;
void (*row_selected) (GtkListBox *box,
GtkListBoxRow *row);
void (*row_activated) (GtkListBox *box,
GtkListBoxRow *row);
void (*activate_cursor_row) (GtkListBox *box);
void (*toggle_cursor_row) (GtkListBox *box);
void (*move_cursor) (GtkListBox *box,
GtkMovementStep step,
gint count);
void (*selected_rows_changed) (GtkListBox *box);
void (*select_all) (GtkListBox *box);
void (*unselect_all) (GtkListBox *box);
};
</pre>
<div class="refsect3">
<a name="GtkListBoxClass.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.row-selected"></a>row_selected</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-row-selected" title="The “row-selected” signal"><span class="type">“row-selected”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.row-activated"></a>row_activated</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-row-activated" title="The “row-activated” signal"><span class="type">“row-activated”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.activate-cursor-row"></a>activate_cursor_row</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-activate-cursor-row" title="The “activate-cursor-row” signal"><span class="type">“activate-cursor-row”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.toggle-cursor-row"></a>toggle_cursor_row</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-toggle-cursor-row" title="The “toggle-cursor-row” signal"><span class="type">“toggle-cursor-row”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.move-cursor"></a>move_cursor</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.selected-rows-changed"></a>selected_rows_changed</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-selected-rows-changed" title="The “selected-rows-changed” signal"><span class="type">“selected-rows-changed”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.select-all"></a>select_all</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-select-all" title="The “select-all” signal"><span class="type">“select-all”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxClass.unselect-all"></a>unselect_all</code></em> ()</p></td>
<td class="struct_member_description"><p>Class handler for the <a class="link" href="GtkListBox.html#GtkListBox-unselect-all" title="The “unselect-all” signal"><span class="type">“unselect-all”</span></a> signal</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GtkListBoxRow-struct"></a><h3>struct GtkListBoxRow</h3>
<pre class="programlisting">struct GtkListBoxRow;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GtkListBoxRowClass"></a><h3>struct GtkListBoxRowClass</h3>
<pre class="programlisting">struct GtkListBoxRowClass {
GtkBinClass parent_class;
void (* activate) (GtkListBoxRow *row);
};
</pre>
<div class="refsect3">
<a name="GtkListBoxRowClass.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody><tr>
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkListBoxRowClass.activate"></a>activate</code></em> ()</p></td>
<td class="struct_member_description"> </td>
<td class="struct_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GtkListBox.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkListBox--activate-on-single-click"></a><h3>The <code class="literal">“activate-on-single-click”</code> property</h3>
@ -2074,7 +2184,7 @@ for this row.</p>
<hr>
<div class="refsect2">
<a name="GtkListBox--selection-mode"></a><h3>The <code class="literal">“selection-mode”</code> property</h3>
<pre class="programlisting"> “selection-mode” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></pre>
<pre class="programlisting"> “selection-mode” <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></pre>
<p>The selection mode.</p>
<p>Owner: GtkListBox</p>
<p>Flags: Read / Write</p>
@ -2116,7 +2226,7 @@ user_function (<a class="link" href="GtkListBox.html" title="GtkListBox"><span c
<a name="GtkListBox-move-cursor"></a><h3>The <code class="literal">“move-cursor”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkListBox.html" title="GtkListBox"><span class="type">GtkListBox</span></a> *listbox,
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkMovementStep"><span class="type">GtkMovementStep</span></a> arg1,
<a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a> arg1,
<span class="type">gint</span> arg2,
<span class="type">gpointer</span> user_data)</pre>
<p>Flags: Action</p>
@ -2170,7 +2280,7 @@ user_function (<a class="link" href="GtkListBox.html" title="GtkListBox"><span c
(with a <code class="literal">NULL</code> <em class="parameter"><code>row</code></em>
) when the selection is cleared.</p>
<p>When the <em class="parameter"><code>box</code></em>
is using <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, this signal will not
is using <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, this signal will not
give you the full picture of selection changes, and you should use
the <a class="link" href="GtkListBox.html#GtkListBox-selected-rows-changed" title="The “selected-rows-changed” signal"><span class="type">“selected-rows-changed”</span></a> signal instead.</p>
<div class="refsect3">
@ -2209,7 +2319,7 @@ the <a class="link" href="GtkListBox.html#GtkListBox-selected-rows-changed" titl
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkListBox.html" title="GtkListBox"><span class="type">GtkListBox</span></a> *box,
<span class="type">gpointer</span> user_data)</pre>
<p>The ::select-all signal is a keybinding signal
<p>The ::select-all signal is a <a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
which gets emitted to select all children of the box, if the selection
mode permits it.</p>
<p>The default bindings for this signal is Ctrl-a.</p>
@ -2285,7 +2395,7 @@ user_function (<a class="link" href="GtkListBox.html" title="GtkListBox"><span c
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="GtkListBox.html" title="GtkListBox"><span class="type">GtkListBox</span></a> *box,
<span class="type">gpointer</span> user_data)</pre>
<p>The ::unselect-all signal is a keybinding signal
<p>The ::unselect-all signal is a <a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
which gets emitted to unselect all children of the box, if the selection
mode permits it.</p>
<p>The default bindings for this signal is Ctrl-Shift-a.</p>