New upstream version 3.24.14
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
|
||||
<link rel="prev" href="GtkTreeModel.html" title="GtkTreeModel">
|
||||
<link rel="next" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn">
|
||||
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -38,8 +38,8 @@
|
||||
<a name="GtkTreeSelection.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
<col width="150px" class="functions_proto_type">
|
||||
<col class="functions_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -68,7 +68,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTreeSelection.html#gtk-tree-selection-get-mode" title="gtk_tree_selection_get_mode ()">gtk_tree_selection_get_mode</a> <span class="c_punctuation">()</span>
|
||||
@ -230,7 +230,7 @@
|
||||
<col width="200px" class="properties_flags">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<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_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkTreeSelection.html#GtkTreeSelection--mode" title="The “mode” property">mode</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr></tbody>
|
||||
@ -240,9 +240,9 @@
|
||||
<a name="GtkTreeSelection.signals"></a><h2>Signals</h2>
|
||||
<div class="informaltable"><table class="informaltable" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="signals_return">
|
||||
<col width="300px" class="signals_name">
|
||||
<col width="200px" class="signals_flags">
|
||||
<col width="150px" class="signal_proto_type">
|
||||
<col width="300px" class="signal_proto_name">
|
||||
<col width="200px" class="signal_proto_flags">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
@ -255,17 +255,17 @@
|
||||
<a name="GtkTreeSelection.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
<col width="150px" class="other_proto_type">
|
||||
<col class="other_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword"> </td>
|
||||
<td class="function_name"><a class="link" href="GtkTreeSelection.html#GtkTreeSelection-struct" title="GtkTreeSelection">GtkTreeSelection</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTreeSelection.html#GtkTreeSelection-struct">GtkTreeSelection</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword"> </td>
|
||||
<td class="function_name"><a class="link" href="GtkTreeSelection.html#GtkTreeSelectionClass" title="GtkTreeSelectionClass">GtkTreeSelectionClass</a></td>
|
||||
<td class="function_name">GtkTreeSelectionClass</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -410,10 +410,10 @@ selected rows. It will be called on every selected row in the view.</p>
|
||||
<a name="gtk-tree-selection-set-mode"></a><h3>gtk_tree_selection_set_mode ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tree_selection_set_mode (<em class="parameter"><code><a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> *selection</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> type</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> type</code></em>);</pre>
|
||||
<p>Sets the selection mode of the <em class="parameter"><code>selection</code></em>
|
||||
. If the previous type was
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, then the anchor is kept selected, if it was
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, then the anchor is kept selected, if it was
|
||||
previously selected.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-selection-set-mode.parameters"></a><h4>Parameters</h4>
|
||||
@ -441,7 +441,7 @@ previously selected.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tree-selection-get-mode"></a><h3>gtk_tree_selection_get_mode ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a>
|
||||
gtk_tree_selection_get_mode (<em class="parameter"><code><a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> *selection</code></em>);</pre>
|
||||
<p>Gets the selection mode for <em class="parameter"><code>selection</code></em>
|
||||
. See
|
||||
@ -607,14 +607,14 @@ gtk_tree_selection_get_selected (<em class="parameter"><code><a class="link" hre
|
||||
<p>Sets <em class="parameter"><code>iter</code></em>
|
||||
to the currently selected node if <em class="parameter"><code>selection</code></em>
|
||||
is set to
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><span class="type">GTK_SELECTION_SINGLE</span></a> or <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><span class="type">GTK_SELECTION_BROWSE</span></a>. <em class="parameter"><code>iter</code></em>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><span class="type">GTK_SELECTION_SINGLE</span></a> or <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><span class="type">GTK_SELECTION_BROWSE</span></a>. <em class="parameter"><code>iter</code></em>
|
||||
may be NULL if you
|
||||
just want to test if <em class="parameter"><code>selection</code></em>
|
||||
has any selected nodes. <em class="parameter"><code>model</code></em>
|
||||
is filled
|
||||
with the current model as a convenience. This function will not work if you
|
||||
use <em class="parameter"><code>selection</code></em>
|
||||
is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>.</p>
|
||||
is <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-selection-get-selected.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -693,7 +693,7 @@ gtk_tree_selection_get_selected_rows (<em class="parameter"><code><a class="link
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **model</code></em>);</pre>
|
||||
<p>Creates a list of path of all selected rows. Additionally, if you are
|
||||
planning on modifying the model after calling this function, you may
|
||||
want to convert the returned list into a list of <a href="GtkTreeModel.html#GtkTreeRowReference"><span class="type">GtkTreeRowReferences</span></a>.
|
||||
want to convert the returned list into a list of <span class="type">GtkTreeRowReferences</span>.
|
||||
To do this, you can use <a class="link" href="GtkTreeModel.html#gtk-tree-row-reference-new" title="gtk_tree_row_reference_new ()"><code class="function">gtk_tree_row_reference_new()</code></a>.</p>
|
||||
<p>To free the return value, use:</p>
|
||||
<div class="informalexample">
|
||||
@ -701,7 +701,7 @@ To do this, you can use <a class="link" href="GtkTreeModel.html#gtk-tree-row-ref
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="function">g_list_free_full</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">GDestroyNotify</span><span class="symbol">)</span><span class="normal"> <a href="GtkTreeModel.html#gtk-tree-path-free">gtk_tree_path_free</a></span><span class="symbol">);</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="n">g_list_free_full</span> <span class="p">(</span><span class="n">list</span><span class="p">,</span> <span class="p">(</span><span class="n">GDestroyNotify</span><span class="p">)</span> <span class="n">gtk_tree_path_free</span><span class="p">);</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -968,7 +968,7 @@ is selected</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tree_selection_select_all (<em class="parameter"><code><a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a> *selection</code></em>);</pre>
|
||||
<p>Selects all the nodes. <em class="parameter"><code>selection</code></em>
|
||||
must be set to <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>
|
||||
must be set to <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>
|
||||
mode.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-selection-select-all.parameters"></a><h4>Parameters</h4>
|
||||
@ -1019,7 +1019,7 @@ gtk_tree_selection_select_range (<em class="parameter"><code><a class="link" hre
|
||||
and <em class="parameter"><code>end_path</code></em>
|
||||
inclusive.
|
||||
<em class="parameter"><code>selection</code></em>
|
||||
must be set to <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a> mode.</p>
|
||||
must be set to <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a> mode.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-selection-select-range.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1090,45 +1090,13 @@ inclusive.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTreeSelection.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeSelection-struct"></a><h3>GtkTreeSelection</h3>
|
||||
<pre class="programlisting">typedef struct _GtkTreeSelection GtkTreeSelection;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeSelectionClass"></a><h3>GtkTreeSelectionClass</h3>
|
||||
<pre class="programlisting">typedef struct {
|
||||
GObjectClass parent_class;
|
||||
|
||||
|
||||
void (* changed) (GtkTreeSelection *selection);
|
||||
} GtkTreeSelectionClass;
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="GtkTreeSelectionClass.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="GtkTreeSelectionClass.changed"></a>changed</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>Signal emitted whenever the selection has (possibly) changed.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTreeSelection.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeSelection--mode"></a><h3>The <code class="literal">“mode”</code> property</h3>
|
||||
<pre class="programlisting"> “mode” <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></pre>
|
||||
<pre class="programlisting"> “mode” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkSelectionMode"><span class="type">GtkSelectionMode</span></a></pre>
|
||||
<p>Selection mode.
|
||||
See <a class="link" href="GtkTreeSelection.html#gtk-tree-selection-set-mode" title="gtk_tree_selection_set_mode ()"><code class="function">gtk_tree_selection_set_mode()</code></a> for more information on this property.</p>
|
||||
<p>Owner: GtkTreeSelection</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_SELECTION_SINGLE</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-2.html#api-index-3.2">3.2</a></p>
|
||||
@ -1173,12 +1141,12 @@ has happened.</p>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTreeSelection.see-also"></a><h2>See Also</h2>
|
||||
<p><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>, <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>,
|
||||
<a class="link" href="GtkTreeSortable.html" title="GtkTreeSortable"><span class="type">GtkTreeSortable</span></a>, <a class="link" href="GtkTreeModelSort.html" title="GtkTreeModelSort"><span class="type">GtkTreeModelSort</span></a>, <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a>, <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>,
|
||||
<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>, <a class="link" href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf"><span class="type">GtkCellRendererPixbuf</span></a>,
|
||||
<a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a>, <a class="link" href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a>, <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">GtkTreeView drag-and-drop</a></p>
|
||||
<a class="link" href="GtkTreeSortable.html" title="GtkTreeSortable"><span class="type">GtkTreeSortable</span></a>, <a class="link" href="GtkTreeModelSort.html" title="GtkTreeModelSort"><span class="type">GtkTreeModelSort</span></a>, <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a>, <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>,
|
||||
<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>, <a class="link" href="GtkCellEditable.html" title="GtkCellEditable"><span class="type">GtkCellEditable</span></a>, <a class="link" href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf"><span class="type">GtkCellRendererPixbuf</span></a>,
|
||||
<a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a>, <a class="link" href="GtkCellRendererToggle.html" title="GtkCellRendererToggle"><span class="type">GtkCellRendererToggle</span></a>, <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">GtkTreeView drag-and-drop</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.29</div>
|
||||
<hr>Generated by GTK-Doc V1.32.1</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user