mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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)
This commit is contained in:
parent
65ee22a2a3
commit
cee5aaff45
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* 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));
|
||||
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.
|
||||
</para>
|
||||
<informalexample><programlisting><![CDATA[
|
||||
<informalexample><programlisting>
|
||||
GtkCellRenderer *renderer;
|
||||
GtkTreeViewColumn *column;
|
||||
|
||||
@ -182,7 +182,7 @@ column = gtk_tree_view_column_new_with_attributes ("Author",
|
||||
"text", AUTHOR_COLUMN,
|
||||
NULL);
|
||||
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
|
||||
]]></programlisting></informalexample>
|
||||
</programlisting></informalexample>
|
||||
<para>
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user