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="GtkTreeViewColumn.html" title="GtkTreeViewColumn">
|
||||
<link rel="next" href="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">
|
||||
<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">
|
||||
@ -40,8 +40,8 @@
|
||||
<a name="GtkTreeView.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>
|
||||
@ -846,7 +846,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="returnvalue">GtkTreeViewGridLines</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines"><span class="returnvalue">GtkTreeViewGridLines</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTreeView.html#gtk-tree-view-get-grid-lines" title="gtk_tree_view_get_grid_lines ()">gtk_tree_view_get_grid_lines</a> <span class="c_punctuation">()</span>
|
||||
@ -918,7 +918,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkTreeView.html#GtkTreeView--enable-grid-lines" title="The “enable-grid-lines” property">enable-grid-lines</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -1082,9 +1082,9 @@
|
||||
<a name="GtkTreeView.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>
|
||||
@ -1169,25 +1169,25 @@
|
||||
<a name="GtkTreeView.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">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeView-struct" title="struct GtkTreeView">GtkTreeView</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeView-struct">GtkTreeView</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition">GtkTreeViewDropPosition</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewDropPosition">GtkTreeViewDropPosition</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword"> </td>
|
||||
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeViewPrivate" title="GtkTreeViewPrivate">GtkTreeViewPrivate</a></td>
|
||||
<td class="function_name">GtkTreeViewPrivate</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines">GtkTreeViewGridLines</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines">GtkTreeViewGridLines</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -1264,25 +1264,25 @@ former you can use <a class="link" href="GtkTreeView.html#gtk-tree-view-convert-
|
||||
17
|
||||
18
|
||||
19</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkTreeView"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"treeview"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"model"</span><span class="symbol">></span><span class="normal">liststore1</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkTreeViewColumn"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"test-column"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"title"</span><span class="symbol">></span><span class="normal">Test</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkCellRendererText"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"test-renderer"</span><span class="symbol">/></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="normal">attributes</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">attribute</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"text"</span><span class="symbol">></span><span class="number">1</span><span class="symbol"></</span><span class="normal">attribute</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">attributes</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">child</span><span class="normal"> internal</span><span class="symbol">-</span><span class="normal">child</span><span class="symbol">=</span><span class="string">"selection"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkTreeSelection"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"selection"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">signal</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"changed"</span><span class="normal"> handler</span><span class="symbol">=</span><span class="string">"on_treeview_selection_changed"</span><span class="symbol">/></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="o"><</span><span class="n">object</span> <span class="n">class</span><span class="o">=</span><span class="s">"GtkTreeView"</span> <span class="n">id</span><span class="o">=</span><span class="s">"treeview"</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">property</span> <span class="n">name</span><span class="o">=</span><span class="s">"model"</span><span class="o">></span><span class="n">liststore1</span><span class="o"></</span><span class="n">property</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">object</span> <span class="n">class</span><span class="o">=</span><span class="s">"GtkTreeViewColumn"</span> <span class="n">id</span><span class="o">=</span><span class="s">"test-column"</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">property</span> <span class="n">name</span><span class="o">=</span><span class="s">"title"</span><span class="o">></span><span class="n">Test</span><span class="o"></</span><span class="n">property</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">object</span> <span class="n">class</span><span class="o">=</span><span class="s">"GtkCellRendererText"</span> <span class="n">id</span><span class="o">=</span><span class="s">"test-renderer"</span><span class="o">/></span>
|
||||
<span class="o"><</span><span class="n">attributes</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">attribute</span> <span class="n">name</span><span class="o">=</span><span class="s">"text"</span><span class="o">></span><span class="mi">1</span><span class="o"></</span><span class="n">attribute</span><span class="o">></span>
|
||||
<span class="o"></</span><span class="n">attributes</span><span class="o">></span>
|
||||
<span class="o"></</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"></</span><span class="n">object</span><span class="o">></span>
|
||||
<span class="o"></</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">child</span> <span class="n">internal</span><span class="o">-</span><span class="n">child</span><span class="o">=</span><span class="s">"selection"</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">object</span> <span class="n">class</span><span class="o">=</span><span class="s">"GtkTreeSelection"</span> <span class="n">id</span><span class="o">=</span><span class="s">"selection"</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">signal</span> <span class="n">name</span><span class="o">=</span><span class="s">"changed"</span> <span class="n">handler</span><span class="o">=</span><span class="s">"on_treeview_selection_changed"</span><span class="o">/></span>
|
||||
<span class="o"></</span><span class="n">object</span><span class="o">></span>
|
||||
<span class="o"></</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"></</span><span class="n">object</span><span class="o">></span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -1304,13 +1304,13 @@ former you can use <a class="link" href="GtkTreeView.html#gtk-tree-view-convert-
|
||||
5
|
||||
6
|
||||
7</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">treeview</span><span class="symbol">.</span><span class="normal">view</span>
|
||||
<span class="normal">├── header</span>
|
||||
<span class="normal">│ ├── </span><span class="symbol"><</span><span class="usertype">column</span><span class="normal"> header</span><span class="symbol">></span>
|
||||
<span class="normal">┊ ┊</span>
|
||||
<span class="normal">│ ╰── </span><span class="symbol"><</span><span class="usertype">column</span><span class="normal"> header</span><span class="symbol">></span>
|
||||
<span class="normal">│</span>
|
||||
<span class="normal">╰── </span><span class="symbol">[</span><span class="normal">rubberband</span><span class="symbol">]</span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="n">treeview</span><span class="p">.</span><span class="n">view</span>
|
||||
<span class="err">├──</span> <span class="n">header</span>
|
||||
<span class="err">│</span> <span class="err">├──</span> <span class="o"><</span><span class="n">column</span> <span class="n">header</span><span class="o">></span>
|
||||
<span class="err">┊</span> <span class="err">┊</span>
|
||||
<span class="err">│</span> <span class="err">╰──</span> <span class="o"><</span><span class="n">column</span> <span class="n">header</span><span class="o">></span>
|
||||
<span class="err">│</span>
|
||||
<span class="err">╰──</span> <span class="p">[</span><span class="n">rubberband</span><span class="p">]</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -3253,8 +3253,8 @@ gtk_tree_view_row_expanded (<em class="parameter"><code><a class="link" href="Gt
|
||||
gtk_tree_view_set_reorderable (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> reorderable</code></em>);</pre>
|
||||
<p>This function is a convenience function to allow you to reorder
|
||||
models that support the <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragSourceIface" title="struct GtkTreeDragSourceIface"><span class="type">GtkTreeDragSourceIface</span></a> and the
|
||||
<a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragDestIface" title="struct GtkTreeDragDestIface"><span class="type">GtkTreeDragDestIface</span></a>. Both <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a> and <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> support
|
||||
models that support the <a href="https://developer.gnome.org/gtk4/gtk4-GtkTreeView-drag-and-drop.html#GtkTreeDragSourceIface"><span class="type">GtkTreeDragSourceIface</span></a> and the
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-GtkTreeView-drag-and-drop.html#GtkTreeDragDestIface"><span class="type">GtkTreeDragDestIface</span></a>. Both <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a> and <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> support
|
||||
these. If <em class="parameter"><code>reorderable</code></em>
|
||||
is <code class="literal">TRUE</code>, then the user can reorder the
|
||||
model by dragging and dropping rows. The developer can listen to
|
||||
@ -4054,7 +4054,7 @@ tree (the full scrollable area of the tree).</p>
|
||||
<a name="gtk-tree-view-enable-model-drag-dest"></a><h3>gtk_tree_view_enable_model_drag_dest ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tree_view_enable_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GtkTargetEntry</span> *targets</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||
<p>Turns <em class="parameter"><code>tree_view</code></em>
|
||||
@ -4103,7 +4103,7 @@ widget</p></td>
|
||||
gtk_tree_view_enable_model_drag_source
|
||||
(<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkModifierType</span> start_button_mask</code></em>,
|
||||
<em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GtkTargetEntry</span> *targets</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> n_targets</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkDragAction</span> actions</code></em>);</pre>
|
||||
<p>Turns <em class="parameter"><code>tree_view</code></em>
|
||||
@ -4203,7 +4203,7 @@ gtk_tree_view_unset_rows_drag_dest (<em class="parameter"><code><a class="link"
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tree_view_set_drag_dest_row (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> pos</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> pos</code></em>);</pre>
|
||||
<p>Sets the row that is highlighted for feedback.
|
||||
If <em class="parameter"><code>path</code></em>
|
||||
is <code class="literal">NULL</code>, an existing highlight is removed.</p>
|
||||
@ -4241,7 +4241,7 @@ If <em class="parameter"><code>path</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tree_view_get_drag_dest_row (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> *pos</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> *pos</code></em>);</pre>
|
||||
<p>Gets information about the row that is highlighted for feedback.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-view-get-drag-dest-row.parameters"></a><h4>Parameters</h4>
|
||||
@ -4279,7 +4279,7 @@ gtk_tree_view_get_dest_row_at_pos (<em class="parameter"><code><a class="link" h
|
||||
<em class="parameter"><code><span class="type">gint</span> drag_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> drag_y</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewDropPosition" title="enum GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> *pos</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewDropPosition"><span class="type">GtkTreeViewDropPosition</span></a> *pos</code></em>);</pre>
|
||||
<p>Determines the destination row for a given position. <em class="parameter"><code>drag_x</code></em>
|
||||
and
|
||||
<em class="parameter"><code>drag_y</code></em>
|
||||
@ -4762,7 +4762,7 @@ gtk_tree_view_set_fixed_height_mode (<em class="parameter"><code><a class="link"
|
||||
Fixed height mode speeds up <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> by assuming that all
|
||||
rows have the same height.
|
||||
Only enable this option if all rows are the same height and all
|
||||
columns are of type <a class="link" href="GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-FIXED:CAPS"><code class="literal">GTK_TREE_VIEW_COLUMN_FIXED</code></a>.</p>
|
||||
columns are of type <a href="https://developer.gnome.org/gtk4/GtkTreeViewColumn.html#GTK-TREE-VIEW-COLUMN-FIXED:CAPS"><code class="literal">GTK_TREE_VIEW_COLUMN_FIXED</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-view-set-fixed-height-mode.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -4826,7 +4826,7 @@ gtk_tree_view_set_hover_selection (<em class="parameter"><code><a class="link" h
|
||||
.
|
||||
Hover selection makes the selected row follow the pointer.
|
||||
Currently, this works only for the selection modes
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.</p>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-view-set-hover-selection.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -5100,7 +5100,7 @@ function is <code class="literal">NULL</code>, no separators are drawn. This is
|
||||
gtk_tree_view_get_rubber_banding (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
|
||||
<p>Returns whether rubber banding is turned on for <em class="parameter"><code>tree_view</code></em>
|
||||
. If the
|
||||
selection mode is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, rubber banding will allow the
|
||||
selection mode is <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, rubber banding will allow the
|
||||
user to select multiple rows by dragging the mouse.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-view-get-rubber-banding.parameters"></a><h4>Parameters</h4>
|
||||
@ -5132,7 +5132,7 @@ gtk_tree_view_set_rubber_banding (<em class="parameter"><code><a class="link" hr
|
||||
<em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);</pre>
|
||||
<p>Enables or disables rubber banding in <em class="parameter"><code>tree_view</code></em>
|
||||
. If the selection mode
|
||||
is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, rubber banding will allow the user to select
|
||||
is <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, rubber banding will allow the user to select
|
||||
multiple rows by dragging the mouse.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-view-set-rubber-banding.parameters"></a><h4>Parameters</h4>
|
||||
@ -5256,7 +5256,7 @@ This does not have any visible effects for lists.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tree-view-get-grid-lines"></a><h3>gtk_tree_view_get_grid_lines ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="returnvalue">GtkTreeViewGridLines</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines"><span class="returnvalue">GtkTreeViewGridLines</span></a>
|
||||
gtk_tree_view_get_grid_lines (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>);</pre>
|
||||
<p>Returns which grid lines are enabled in <em class="parameter"><code>tree_view</code></em>
|
||||
.</p>
|
||||
@ -5277,7 +5277,7 @@ gtk_tree_view_get_grid_lines (<em class="parameter"><code><a class="link" href="
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tree-view-get-grid-lines.returns"></a><h4>Returns</h4>
|
||||
<p> a <a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines
|
||||
<p> a <a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines
|
||||
are enabled.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -5287,7 +5287,7 @@ are enabled.</p>
|
||||
<a name="gtk-tree-view-set-grid-lines"></a><h3>gtk_tree_view_set_grid_lines ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_tree_view_set_grid_lines (<em class="parameter"><code><a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> grid_lines</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> grid_lines</code></em>);</pre>
|
||||
<p>Sets which grid lines to draw in <em class="parameter"><code>tree_view</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
@ -5306,7 +5306,7 @@ gtk_tree_view_set_grid_lines (<em class="parameter"><code><a class="link" href="
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>grid_lines</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines to
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a> value indicating which grid lines to
|
||||
enable.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
@ -5583,114 +5583,13 @@ so &, <, etc have to be escaped in the text.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTreeView.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeView-struct"></a><h3>struct GtkTreeView</h3>
|
||||
<pre class="programlisting">struct GtkTreeView;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeViewDropPosition"></a><h3>enum GtkTreeViewDropPosition</h3>
|
||||
<p>An enum for determining where a dropped row goes.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkTreeViewDropPosition.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-BEFORE:CAPS"></a>GTK_TREE_VIEW_DROP_BEFORE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>dropped row is inserted before</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-AFTER:CAPS"></a>GTK_TREE_VIEW_DROP_AFTER</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>dropped row is inserted after</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-INTO-OR-BEFORE:CAPS"></a>GTK_TREE_VIEW_DROP_INTO_OR_BEFORE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>dropped row becomes a child or is inserted before</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-DROP-INTO-OR-AFTER:CAPS"></a>GTK_TREE_VIEW_DROP_INTO_OR_AFTER</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>dropped row becomes a child or is inserted after</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeViewPrivate"></a><h3>GtkTreeViewPrivate</h3>
|
||||
<pre class="programlisting">typedef struct _GtkTreeViewPrivate GtkTreeViewPrivate;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeViewGridLines"></a><h3>enum GtkTreeViewGridLines</h3>
|
||||
<p>Used to indicate which grid lines to draw in a tree view.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkTreeViewGridLines.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-NONE:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_NONE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>No grid lines.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-HORIZONTAL:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_HORIZONTAL</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Horizontal grid lines.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-VERTICAL:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_VERTICAL</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Vertical grid lines.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TREE-VIEW-GRID-LINES-BOTH:CAPS"></a>GTK_TREE_VIEW_GRID_LINES_BOTH</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Horizontal and vertical grid lines.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTreeView.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeView--activate-on-single-click"></a><h3>The <code class="literal">“activate-on-single-click”</code> property</h3>
|
||||
<pre class="programlisting"> “activate-on-single-click” <span class="type">gboolean</span></pre>
|
||||
<p>The activate-on-single-click property specifies whether the "row-activated" signal
|
||||
will be emitted after a single click.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-8.html#api-index-3.8">3.8</a></p>
|
||||
@ -5698,8 +5597,9 @@ will be emitted after a single click.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTreeView--enable-grid-lines"></a><h3>The <code class="literal">“enable-grid-lines”</code> property</h3>
|
||||
<pre class="programlisting"> “enable-grid-lines” <a class="link" href="GtkTreeView.html#GtkTreeViewGridLines" title="enum GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a></pre>
|
||||
<pre class="programlisting"> “enable-grid-lines” <a href="https://developer.gnome.org/gtk4/GtkTreeView.html#GtkTreeViewGridLines"><span class="type">GtkTreeViewGridLines</span></a></pre>
|
||||
<p>Whether grid lines should be drawn in the tree view.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_TREE_VIEW_GRID_LINES_NONE</p>
|
||||
</div>
|
||||
@ -5708,6 +5608,7 @@ will be emitted after a single click.</p>
|
||||
<a name="GtkTreeView--enable-search"></a><h3>The <code class="literal">“enable-search”</code> property</h3>
|
||||
<pre class="programlisting"> “enable-search” <span class="type">gboolean</span></pre>
|
||||
<p>View allows user to search through columns interactively.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
</div>
|
||||
@ -5716,6 +5617,7 @@ will be emitted after a single click.</p>
|
||||
<a name="GtkTreeView--enable-tree-lines"></a><h3>The <code class="literal">“enable-tree-lines”</code> property</h3>
|
||||
<pre class="programlisting"> “enable-tree-lines” <span class="type">gboolean</span></pre>
|
||||
<p>Whether tree lines should be drawn in the tree view.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -5724,6 +5626,7 @@ will be emitted after a single click.</p>
|
||||
<a name="GtkTreeView--expander-column"></a><h3>The <code class="literal">“expander-column”</code> property</h3>
|
||||
<pre class="programlisting"> “expander-column” <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *</pre>
|
||||
<p>Set the column for the expander column.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -5739,6 +5642,7 @@ Only enable this option if all rows are the same height.
|
||||
Please see <a class="link" href="GtkTreeView.html#gtk-tree-view-set-fixed-height-mode" title="gtk_tree_view_set_fixed_height_mode ()"><code class="function">gtk_tree_view_set_fixed_height_mode()</code></a> for more
|
||||
|
||||
information on this option.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: 2.4</p>
|
||||
@ -5748,6 +5652,7 @@ information on this option.</p>
|
||||
<a name="GtkTreeView--headers-clickable"></a><h3>The <code class="literal">“headers-clickable”</code> property</h3>
|
||||
<pre class="programlisting"> “headers-clickable” <span class="type">gboolean</span></pre>
|
||||
<p>Column headers respond to click events.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
</div>
|
||||
@ -5756,6 +5661,7 @@ information on this option.</p>
|
||||
<a name="GtkTreeView--headers-visible"></a><h3>The <code class="literal">“headers-visible”</code> property</h3>
|
||||
<pre class="programlisting"> “headers-visible” <span class="type">gboolean</span></pre>
|
||||
<p>Show the column header buttons.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
</div>
|
||||
@ -5770,6 +5676,7 @@ Hover expansion makes rows expand or collapse if the pointer moves
|
||||
over them.</p>
|
||||
<p>This mode is primarily intended for treeviews in popups, e.g.
|
||||
in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> or <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a>.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: 2.6</p>
|
||||
@ -5783,9 +5690,10 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
Hover selection makes the selected row follow the pointer.
|
||||
Currently, this works only for the selection modes
|
||||
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.</p>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-SINGLE:CAPS"><code class="literal">GTK_SELECTION_SINGLE</code></a> and <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SELECTION-BROWSE:CAPS"><code class="literal">GTK_SELECTION_BROWSE</code></a>.</p>
|
||||
<p>This mode is primarily intended for treeviews in popups, e.g.
|
||||
in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> or <a class="link" href="GtkEntryCompletion.html" title="GtkEntryCompletion"><span class="type">GtkEntryCompletion</span></a>.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: 2.6</p>
|
||||
@ -5795,6 +5703,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--level-indentation"></a><h3>The <code class="literal">“level-indentation”</code> property</h3>
|
||||
<pre class="programlisting"> “level-indentation” <span class="type">gint</span></pre>
|
||||
<p>Extra indentation for each level.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -5805,6 +5714,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--model"></a><h3>The <code class="literal">“model”</code> property</h3>
|
||||
<pre class="programlisting"> “model” <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *</pre>
|
||||
<p>The model for the tree view.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -5812,6 +5722,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--reorderable"></a><h3>The <code class="literal">“reorderable”</code> property</h3>
|
||||
<pre class="programlisting"> “reorderable” <span class="type">gboolean</span></pre>
|
||||
<p>View is reorderable.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -5820,6 +5731,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--rubber-banding"></a><h3>The <code class="literal">“rubber-banding”</code> property</h3>
|
||||
<pre class="programlisting"> “rubber-banding” <span class="type">gboolean</span></pre>
|
||||
<p>Whether to enable selection of multiple items by dragging the mouse pointer.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -5833,6 +5745,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<p>The theme is responsible for drawing rows
|
||||
using zebra striping</p>
|
||||
</div>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -5841,6 +5754,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--search-column"></a><h3>The <code class="literal">“search-column”</code> property</h3>
|
||||
<pre class="programlisting"> “search-column” <span class="type">gint</span></pre>
|
||||
<p>Model column to search through during interactive search.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
<p>Default value: -1</p>
|
||||
@ -5850,6 +5764,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--show-expanders"></a><h3>The <code class="literal">“show-expanders”</code> property</h3>
|
||||
<pre class="programlisting"> “show-expanders” <span class="type">gboolean</span></pre>
|
||||
<p><code class="literal">TRUE</code> if the view has expanders.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
@ -5859,6 +5774,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--tooltip-column"></a><h3>The <code class="literal">“tooltip-column”</code> property</h3>
|
||||
<pre class="programlisting"> “tooltip-column” <span class="type">gint</span></pre>
|
||||
<p>The column in the model containing the tooltip texts for the rows.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
<p>Default value: -1</p>
|
||||
@ -5870,6 +5786,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-allow-rules"></a><h3>The <code class="literal">“allow-rules”</code> style property</h3>
|
||||
<pre class="programlisting"> “allow-rules” <span class="type">gboolean</span></pre>
|
||||
<p>Allow drawing of alternating color rows.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: TRUE</p>
|
||||
</div>
|
||||
@ -5878,6 +5795,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-even-row-color"></a><h3>The <code class="literal">“even-row-color”</code> style property</h3>
|
||||
<pre class="programlisting"> “even-row-color” <span class="type">GdkColor</span> *</pre>
|
||||
<p>Color to use for even rows.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -5885,6 +5803,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-expander-size"></a><h3>The <code class="literal">“expander-size”</code> style property</h3>
|
||||
<pre class="programlisting"> “expander-size” <span class="type">gint</span></pre>
|
||||
<p>Size of the expander arrow.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 14</p>
|
||||
@ -5894,6 +5813,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-grid-line-pattern"></a><h3>The <code class="literal">“grid-line-pattern”</code> style property</h3>
|
||||
<pre class="programlisting"> “grid-line-pattern” <span class="type">gchar</span> *</pre>
|
||||
<p>Dash pattern used to draw the tree view grid lines.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: "\001\001"</p>
|
||||
</div>
|
||||
@ -5902,6 +5822,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-grid-line-width"></a><h3>The <code class="literal">“grid-line-width”</code> style property</h3>
|
||||
<pre class="programlisting"> “grid-line-width” <span class="type">gint</span></pre>
|
||||
<p>Width, in pixels, of the tree view grid lines.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 1</p>
|
||||
@ -5911,6 +5832,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-horizontal-separator"></a><h3>The <code class="literal">“horizontal-separator”</code> style property</h3>
|
||||
<pre class="programlisting"> “horizontal-separator” <span class="type">gint</span></pre>
|
||||
<p>Horizontal space between cells. Must be an even number.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 2</p>
|
||||
@ -5920,6 +5842,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-indent-expanders"></a><h3>The <code class="literal">“indent-expanders”</code> style property</h3>
|
||||
<pre class="programlisting"> “indent-expanders” <span class="type">gboolean</span></pre>
|
||||
<p>Make the expanders indented.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: TRUE</p>
|
||||
</div>
|
||||
@ -5928,6 +5851,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-odd-row-color"></a><h3>The <code class="literal">“odd-row-color”</code> style property</h3>
|
||||
<pre class="programlisting"> “odd-row-color” <span class="type">GdkColor</span> *</pre>
|
||||
<p>Color to use for odd rows.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -5935,6 +5859,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-tree-line-pattern"></a><h3>The <code class="literal">“tree-line-pattern”</code> style property</h3>
|
||||
<pre class="programlisting"> “tree-line-pattern” <span class="type">gchar</span> *</pre>
|
||||
<p>Dash pattern used to draw the tree view lines.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: "\001\001"</p>
|
||||
</div>
|
||||
@ -5943,6 +5868,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-tree-line-width"></a><h3>The <code class="literal">“tree-line-width”</code> style property</h3>
|
||||
<pre class="programlisting"> “tree-line-width” <span class="type">gint</span></pre>
|
||||
<p>Width, in pixels, of the tree view lines.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 1</p>
|
||||
@ -5952,6 +5878,7 @@ in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type
|
||||
<a name="GtkTreeView--s-vertical-separator"></a><h3>The <code class="literal">“vertical-separator”</code> style property</h3>
|
||||
<pre class="programlisting"> “vertical-separator” <span class="type">gint</span></pre>
|
||||
<p>Vertical space between cells. Must be an even number.</p>
|
||||
<p>Owner: GtkTreeView</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 2</p>
|
||||
@ -6036,11 +5963,11 @@ user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span
|
||||
<a name="GtkTreeView-move-cursor"></a><h3>The <code class="literal">“move-cursor”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> *tree_view,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a> step,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkMovementStep"><span class="type">GtkMovementStep</span></a> step,
|
||||
<span class="type">gint</span> direction,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The <a class="link" href="GtkTreeView.html#GtkTreeView-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a> signal is a <a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding
|
||||
signal</a> which gets emitted when the user
|
||||
<p>The <a class="link" href="GtkTreeView.html#GtkTreeView-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a> signal is a <GTKDOCLINK HREF="GtkBindingSignal">keybinding
|
||||
signal</GTKDOCLINK> which gets emitted when the user
|
||||
presses one of the cursor keys.</p>
|
||||
<p>Applications should not connect to it, but may emit it with
|
||||
<code class="function">g_signal_emit_by_name()</code> if they need to control the cursor
|
||||
@ -6064,11 +5991,11 @@ programmatically. In contrast to <a class="link" href="GtkTreeView.html#gtk-tree
|
||||
<tr>
|
||||
<td class="parameter_name"><p>step</p></td>
|
||||
<td class="parameter_description"><p>the granularity of the move, as a
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a>. <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-LOGICAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_LOGICAL_POSITIONS</code></a>,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-VISUAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_VISUAL_POSITIONS</code></a>, <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-DISPLAY-LINES:CAPS"><code class="literal">GTK_MOVEMENT_DISPLAY_LINES</code></a>,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-PAGES:CAPS"><code class="literal">GTK_MOVEMENT_PAGES</code></a> and <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-BUFFER-ENDS:CAPS"><code class="literal">GTK_MOVEMENT_BUFFER_ENDS</code></a> are
|
||||
supported. <a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-LOGICAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_LOGICAL_POSITIONS</code></a> and
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-MOVEMENT-VISUAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_VISUAL_POSITIONS</code></a> are treated identically.</p></td>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkMovementStep"><span class="type">GtkMovementStep</span></a>. <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-MOVEMENT-LOGICAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_LOGICAL_POSITIONS</code></a>,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-MOVEMENT-VISUAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_VISUAL_POSITIONS</code></a>, <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-MOVEMENT-DISPLAY-LINES:CAPS"><code class="literal">GTK_MOVEMENT_DISPLAY_LINES</code></a>,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-MOVEMENT-PAGES:CAPS"><code class="literal">GTK_MOVEMENT_PAGES</code></a> and <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-MOVEMENT-BUFFER-ENDS:CAPS"><code class="literal">GTK_MOVEMENT_BUFFER_ENDS</code></a> are
|
||||
supported. <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-MOVEMENT-LOGICAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_LOGICAL_POSITIONS</code></a> and
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-MOVEMENT-VISUAL-POSITIONS:CAPS"><code class="literal">GTK_MOVEMENT_VISUAL_POSITIONS</code></a> are treated identically.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -6380,13 +6307,13 @@ user_function (<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span
|
||||
<div class="refsect1">
|
||||
<a name="GtkTreeView.see-also"></a><h2>See Also</h2>
|
||||
<p><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, <a class="link" href="GtkTreeSelection.html" title="GtkTreeSelection"><span class="type">GtkTreeSelection</span></a>, <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>,
|
||||
<a class="link" href="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">GtkTreeView drag-and-drop</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></p>
|
||||
<a class="link" href="gtk3-GtkTreeView-drag-and-drop.html" title="GtkTreeView drag-and-drop">GtkTreeView drag-and-drop</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></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