New upstream version 3.23.2

This commit is contained in:
Andrea Azzarone
2018-08-09 13:46:53 +03:00
882 changed files with 323996 additions and 311120 deletions

View File

@ -3,12 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkTreeViewColumn: GTK+ 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="prev" href="GtkTreeSelection.html" title="GtkTreeSelection">
<link rel="next" href="GtkTreeView.html" title="GtkTreeView">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -756,20 +756,39 @@ This is equivalent to calling <a class="link" href="GtkTreeViewColumn.html#gtk-t
<a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start" title="gtk_tree_view_column_pack_start ()"><code class="function">gtk_tree_view_column_pack_start()</code></a>, and
<a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-attributes" title="gtk_tree_view_column_set_attributes ()"><code class="function">gtk_tree_view_column_set_attributes()</code></a> on the newly created <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>.</p>
<p>Heres a simple example:</p>
<div class="informalexample"><pre class="programlisting">
enum { TEXT_COLUMN, COLOR_COLUMN, N_COLUMNS };
// ...
{
GtkTreeViewColumn *column;
GtkCellRenderer *renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Title",
renderer,
"text", TEXT_COLUMN,
"foreground", COLOR_COLUMN,
NULL);
}
</pre></div>
<div class="informalexample">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12</pre></td>
<td class="listing_code"><pre class="programlisting"><span class="keyword">enum</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> TEXT_COLUMN</span><span class="symbol">,</span><span class="normal"> COLOR_COLUMN</span><span class="symbol">,</span><span class="normal"> N_COLUMNS </span><span class="cbracket">}</span><span class="symbol">;</span>
<span class="comment">// ...</span>
<span class="cbracket">{</span>
<span class="normal"> </span><span class="usertype">GtkTreeViewColumn</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">column</span><span class="symbol">;</span>
<span class="normal"> </span><span class="usertype">GtkCellRenderer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
<span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new-with-attributes">gtk_tree_view_column_new_with_attributes</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Title"</span><span class="symbol">,</span>
<span class="normal"> renderer</span><span class="symbol">,</span>
<span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> TEXT_COLUMN</span><span class="symbol">,</span>
<span class="normal"> </span><span class="string">"foreground"</span><span class="symbol">,</span><span class="normal"> COLOR_COLUMN</span><span class="symbol">,</span>
<span class="normal"> NULL</span><span class="symbol">);</span>
<span class="cbracket">}</span></pre></td>
</tr>
</tbody>
</table>
</div>
<p></p>
<div class="refsect3">
<a name="gtk-tree-view-column-new-with-attributes.parameters"></a><h4>Parameters</h4>
@ -2228,7 +2247,7 @@ renderer. This is used primarily by the <a class="link" href="GtkTreeView.html"
<a name="gtk-tree-view-column-cell-get-size"></a><h3>gtk_tree_view_column_cell_get_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_tree_view_column_cell_get_size (<em class="parameter"><code><a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a> *tree_column</code></em>,
<em class="parameter"><code>const <a href="../html/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
<em class="parameter"><code>const <span class="type">GdkRectangle</span> *cell_area</code></em>,
<em class="parameter"><code><span class="type">gint</span> *x_offset</code></em>,
<em class="parameter"><code><span class="type">gint</span> *y_offset</code></em>,
<em class="parameter"><code><span class="type">gint</span> *width</code></em>,
@ -2722,6 +2741,6 @@ user_function (<a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewC
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>