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="tooltip.vala">
7  <info>
8  <title type="text">Tooltip (Vala)</title>
9    <link type="guide" xref="beginner.vala#misc"/>
10    <link type="seealso" xref="toolbar.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>Add tips to your widgets</desc>
20  </info>
21
22  <title>Tooltip</title>
23  <media type="image" mime="image/png" src="media/tooltip.png"/>
24  <p>A toolbar with a tooltip (with an image) for a button.</p>
25  <note><p>This example builds on the <link xref="toolbar.vala">Toolbar</link> example.</p></note>
26
27  <links type="section" />
28
29  <section id="code">
30  <title>Code used to generate this example</title>
31    <code mime="text/x-csharp" style="numbered"><xi:include href="samples/tooltip.vala" parse="text"><xi:fallback/></xi:include></code>
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
39      <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.Tooltip.html">Gtk.Tooltip</link></p></item>
40      <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.Toolbar.html">Gtk.Toolbar</link></p></item>
41      <item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.Widget.query_tooltip.html">Gtk.Widget.query_tooltip</link></p></item>
42      <item><p><link href="https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html#GTK-STOCK-UNDO:CAPS">Stock Items</link></p></item>
43    </list>
44  </section>
45</page>
46