summaryrefslogtreecommitdiff
path: root/documentation/Fl_Tooltip.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-28 20:43:44 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-28 20:43:44 +0000
commitc78dcd55ec0b09329c509668507922683f90aab4 (patch)
treeeb15853a514fce714728ba7150d010109eb2d083 /documentation/Fl_Tooltip.html
parent6cb1b5c7bda9211da0dfc9abacbb403791b67cee (diff)
More doco updates.
Enable tooltips by default, and don't enable them when setting the tooltip value, since that will negate any changes a program might make when displaying the file chooser dialog, etc. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Tooltip.html')
-rw-r--r--documentation/Fl_Tooltip.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/documentation/Fl_Tooltip.html b/documentation/Fl_Tooltip.html
new file mode 100644
index 000000000..00ae89ffe
--- /dev/null
+++ b/documentation/Fl_Tooltip.html
@@ -0,0 +1,87 @@
+<HTML>
+<BODY>
+
+<!-- NEW PAGE -->
+
+<H2><A name="Fl_Tooltip">class Fl_Tooltip</A></H2>
+<HR>
+
+<H3>Class Hierarchy</H3>
+
+<UL><PRE>
+<B>Fl_Tooltip</B>
+</PRE></UL>
+
+<H3>Include Files</H3>
+
+<UL><PRE>
+#include &amp;lt;FL/Fl_Tooltip.H&amp;gt;
+</PRE></UL>
+
+<H3>Description</H3>
+
+<P>The <TT>Fl_Tooltip</TT> class provides tooltip support for
+all FLTK widgets.</P>
+
+<H3>Methods</H3>
+
+<UL>
+
+ <LI><A HREF="#Fl_Tooltip.color">color</A></LI>
+ <LI><A HREF="#Fl_Tooltip.delay">delay</A></LI>
+ <LI><A HREF="#Fl_Tooltip.disable">disable</A></LI>
+ <LI><A HREF="#Fl_Tooltip.enabled">enabled</A></LI>
+ <LI><A HREF="#Fl_Tooltip.enable">enable</A></LI>
+ <LI><A HREF="#Fl_Tooltip.enter">enter</A></LI>
+ <LI><A HREF="#Fl_Tooltip.exit">exit</A></LI>
+ <LI><A HREF="#Fl_Tooltip.font">font</A></LI>
+ <LI><A HREF="#Fl_Tooltip.size">size</A></LI>
+
+</UL>
+
+<H4><A NAME="Fl_Tooltip.color">void color(unsigned c);<BR>
+Fl_Color color();</A></H4>
+
+<P>Gets or sets the background color for tooltips. The label color is
+set to white or black depending on the background color. The default
+background color is a pale yellow.
+
+<H4><A NAME="Fl_Tooltip.delay">void delay(float f);<BR>
+float delay();</A></H4>
+
+<P>Gets or sets the tooltip delay. The default delay is 0.5 seconds.
+
+<H4><A NAME="Fl_Tooltip.disable">void disable();</A></H4>
+
+<P>Disables tooltips on all widgets.
+
+<H4><A NAME="Fl_Tooltip.enabled">int enabled();</A></H4>
+
+<P>Returns non-zero if tooltips are enabled.
+
+<H4><A NAME="Fl_Tooltip.enable">void enable(int b = 1);</A></H4>
+
+<P>Enables tooltips on all widgets.
+
+<H4><A NAME="Fl_Tooltip.enter">void enter(Fl_Widget *w);</A></H4>
+
+<P>This method is called when the mouse pointer enters a
+widget.
+
+<H4><A NAME="Fl_Tooltip.exit">void exit(Fl_Widget *w);</A></H4>
+
+<P>This method is called when the mouse pointer leaves a
+widget.
+
+<H4><A NAME="Fl_Tooltip.font">void font(int i);<BR>
+int font();</A></H4>
+
+<P>Gets or sets the typeface for the tooltip text.
+
+<H4><A NAME="Fl_Tooltip.size">void size(int s);<BR>
+int size();</A></H4>
+
+<P>Gets or sets the size of the tooltip text.
+
+</BODY>
+</HTML>