<?xml version='1.0' encoding='UTF-8'?>
<page xmlns="http://projectmallard.org/1.0/"
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:xi="http://www.w3.org/2001/XInclude"
type="guide" style="task"
id="treeview_simple_liststore.vala">
<info>
<title type="text">Simple Treeview with ListStore (Vala)</title>
<link type="guide" xref="beginner.vala#treeview"/>
<link type="seealso" xref="grid.vala"/>
<link type="seealso" xref="label.vala"/>
<revision version="0.1" date="2012-05-09" status="draft"/>
<credit type="author copyright">
<name>Tiffany Antopolski</name>
<email its:translate="no">tiffany.antopolski@gmail.com</email>
<years>2012</years>
</credit>
<desc>A widget can display any TreeModel implementation (lists and trees)</desc>
</info>
<title>Simple Treeview with ListStore</title>
<media type="image" mime="image/png" src="media/treeview_simple_liststore.png"/>
<p>This TreeView displays a simple ListStore with the Selection "changed" signal connected.</p>
<code mime="text/x-csharp" style="numbered"><xi:include href="samples/treeview_simple_liststore.vala" parse="text"><xi:fallback/></xi:include></code>
<p>
In this sample we used the following:
</p>
<list>
<item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.TreeView.html">Gtk.TreeView</link></p></item>
<item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.ListStore.html">Gtk.ListStore</link></p></item>
<item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.TreeSelection.html">Gtk.TreeSelection</link></p></item>
</list>
</page>