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="combobox_multicolumn.vala"> 7 <info> 8 <title type="text">ComboBox (Vala)</title> 9 <link type="guide" xref="beginner.vala#menu-combo-toolbar"/> 10 <link type="seealso" xref="combobox.vala"/> 11 <revision version="0.1" date="2013-06-18" status="review"/> 12 13 <credit type="author copyright"> 14 <name>Tiffany Antopolski</name> 15 <email its:translate="no">tiffany.antopolski@gmail.com</email> 16 <years>2013</years> 17 </credit> 18 19 <desc>A widget used to choose from a list of items</desc> 20 </info> 21 22 <title>ComboBox (two columns)</title> 23 <media type="image" mime="image/png" src="media/combobox_multicolumn.png"/> 24 <p>This ComboBox prints to the terminal your selection when you change it.</p> 25 26 <links type="section" /> 27 28 <section id="code"> 29 <title>Code used to generate this example</title> 30 <code mime="text/x-csharp" style="numbered"><xi:include href="samples/combobox_multicolumn.vala" parse="text"><xi:fallback/></xi:include></code> 31 32 </section> 33 34 <section id="references"> 35 <title>API References</title> 36 <p>In this sample we used the following:</p> 37 <list> 38 <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.ComboBox.html">GtkComboBox</link></p></item> 39 <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.ListStore.html">GtkListStore</link></p></item> 40 <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererText.html">GtkCellRendererText</link></p></item> 41 <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.CellRendererPixbuf.html">GtkCellRendererPixbuf</link></p></item> 42 <item><p><link href="http://developer.gnome.org/gtk3/unstable/gtk3-Stock-Items.html">Stock Items</link></p></item> 43 </list> 44 </section> 45</page> 46