1<?xml version='1.0' encoding='UTF-8'?> 2<page xmlns="http://projectmallard.org/1.0/" 3 xmlns:its="http://www.w3.org/2005/11/its" 4 xmlns:xi="http://www.w3.org/2001/XInclude" 5 type="guide" style="task" 6 id="treeview_simple_liststore.vala"> 7 <info> 8 <title type="text">Simple Treeview with ListStore (Vala)</title> 9 <link type="guide" xref="beginner.vala#treeview"/> 10 <link type="seealso" xref="grid.vala"/> 11 <link type="seealso" xref="label.vala"/> 12 <revision version="0.1" date="2012-05-09" status="draft"/> 13 14 <credit type="author copyright"> 15 <name>Tiffany Antopolski</name> 16 <email its:translate="no">tiffany.antopolski@gmail.com</email> 17 <years>2012</years> 18 </credit> 19 20 <desc>A widget can display any TreeModel implementation (lists and trees)</desc> 21 </info> 22 23 <title>Simple Treeview with ListStore</title> 24 <media type="image" mime="image/png" src="media/treeview_simple_liststore.png"/> 25 <p>This TreeView displays a simple ListStore with the Selection "changed" signal connected.</p> 26 27<code mime="text/x-csharp" style="numbered"><xi:include href="samples/treeview_simple_liststore.vala" parse="text"><xi:fallback/></xi:include></code> 28<p> 29 In this sample we used the following: 30</p> 31<list> 32 <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.TreeView.html">Gtk.TreeView</link></p></item> 33 <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.ListStore.html">Gtk.ListStore</link></p></item> 34 <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.TreeSelection.html">Gtk.TreeSelection</link></p></item> 35</list> 36</page> 37