Commit cee5aaff authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Fix up example rendering. (#341855, Guillaume Desmottes)

2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tree_widget.sgml: Fix up example rendering. (#341855, Guillaume
	Desmottes)
parent 65ee22a2
2006-05-15 Matthias Clasen <mclasen@redhat.com>
* gtk/tree_widget.sgml: Fix up example rendering. (#341855, Guillaume
Desmottes)
2006-05-11 Emmanuele Bassi <ebassi@cvs.gnome.org> 2006-05-11 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/tmpl/gtkrecentmanager.sgml: Update the error enum and the * gtk/tmpl/gtkrecentmanager.sgml: Update the error enum and the
......
...@@ -172,7 +172,7 @@ tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store)); ...@@ -172,7 +172,7 @@ tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
the column to label for the user, what type of cell renderer to use, the column to label for the user, what type of cell renderer to use,
and which piece of data to retrieve from the model for a given row. and which piece of data to retrieve from the model for a given row.
</para> </para>
<informalexample><programlisting><![CDATA[ <informalexample><programlisting>
GtkCellRenderer *renderer; GtkCellRenderer *renderer;
GtkTreeViewColumn *column; GtkTreeViewColumn *column;
...@@ -182,7 +182,7 @@ column = gtk_tree_view_column_new_with_attributes ("Author", ...@@ -182,7 +182,7 @@ column = gtk_tree_view_column_new_with_attributes ("Author",
"text", AUTHOR_COLUMN, "text", AUTHOR_COLUMN,
NULL); NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column); gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
]]></programlisting></informalexample> </programlisting></informalexample>
<para> <para>
At this point, all the steps in creating a displayable tree have been At this point, all the steps in creating a displayable tree have been
covered. The model is created, data is stored in it, a tree view is covered. The model is created, data is stored in it, a tree view is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment