<?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="tooltip.vala">
<info>
<title type="text">Tooltip (Vala)</title>
<link type="guide" xref="beginner.vala#misc"/>
<link type="seealso" xref="toolbar.vala"/>
<revision version="0.1" date="2013-06-18" status="review"/>
<credit type="author copyright">
<name>Tiffany Antopolski</name>
<email its:translate="no">tiffany.antopolski@gmail.com</email>
<years>2013</years>
</credit>
<desc>Add tips to your widgets</desc>
</info>
<title>Tooltip</title>
<media type="image" mime="image/png" src="media/tooltip.png"/>
<p>A toolbar with a tooltip (with an image) for a button.</p>
<note><p>This example builds on the <link xref="toolbar.vala">Toolbar</link> example.</p></note>
<links type="section" />
<section id="code">
<title>Code used to generate this example</title>
<code mime="text/x-csharp" style="numbered"><xi:include href="samples/tooltip.vala" parse="text"><xi:fallback/></xi:include></code>
</section>
<section id="references">
<title>API References</title>
<p>In this sample we used the following:</p>
<list>
<item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.Tooltip.html">Gtk.Tooltip</link></p></item>
<item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.Toolbar.html">Gtk.Toolbar</link></p></item>
<item><p><link href="http://www.valadoc.org/gtk+-3.0/Gtk.Widget.query_tooltip.html">Gtk.Widget.query_tooltip</link></p></item>
<item><p><link href="https://developer.gnome.org/gtk3/3.4/gtk3-Stock-Items.html#GTK-STOCK-UNDO:CAPS">Stock Items</link></p></item>
</list>
</section>
</page>