<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Tooltips</title> <link rel="stylesheet" href="style.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.73.2"> <link rel="start" href="index.html" title="Programming with gtkmm"> <link rel="up" href="ch06.html" title="Chapter 6. Miscellaneous Widgets"> <link rel="prev" href="ch06s04.html" title="ProgressBar"> <link rel="next" href="ch07.html" title="Chapter 7. Container Widgets"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr><th colspan="3" align="center">Tooltips</th></tr> <tr> <td width="20%" align="left"> <a accesskey="p" href="ch06s04.html"><img src="../icons/prev.png" alt="Prev"></a> </td> <th width="60%" align="center">Chapter 6. Miscellaneous Widgets</th> <td width="20%" align="right"> <a accesskey="n" href="ch07.html"><img src="../icons/next.png" alt="Next"></a> </td> </tr> </table> <hr> </div> <div class="sect1" lang="en"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="sec-Tooltips"></a>Tooltips</h2></div></div></div> <p> <code class="classname">Tooltips</code> are the little text strings that pop up when you leave your pointer over a widget for a few seconds and the <code class="classname">Gtk::Tooltips</code> object is a group of these tooltips. After creating a <code class="classname">Gtk::Tooltips</code> instance, you can use the <code class="function">set_tip()</code> method to associate some descriptive text with a <code class="classname">Widget</code>. </p> <p> The <code class="function">enable()</code> and <code class="function">disable()</code> methods allow you to turn a whole group of tooltips on and off. </p> <p><a class="ulink" href="../../reference/html/classGtk_1_1Tooltips.html" target="_top">Reference</a></p> </div> <div class="navfooter"> <hr> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left"> <a accesskey="p" href="ch06s04.html"><img src="../icons/prev.png" alt="Prev"></a> </td> <td width="20%" align="center"><a accesskey="u" href="ch06.html"><img src="../icons/up.png" alt="Up"></a></td> <td width="40%" align="right"> <a accesskey="n" href="ch07.html"><img src="../icons/next.png" alt="Next"></a> </td> </tr> <tr> <td width="40%" align="left" valign="top">ProgressBar </td> <td width="20%" align="center"><a accesskey="h" href="index.html"><img src="../icons/home.png" alt="Home"></a></td> <td width="40%" align="right" valign="top"> Chapter 7. Container Widgets</td> </tr> </table> </div> </body> </html>