From c78dcd55ec0b09329c509668507922683f90aab4 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 28 Nov 2001 20:43:44 +0000 Subject: 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 --- documentation/Fl_Tooltip.html | 87 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 documentation/Fl_Tooltip.html (limited to 'documentation/Fl_Tooltip.html') 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 @@ + + + + + +

class Fl_Tooltip

+
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +

The Fl_Tooltip class provides tooltip support for +all FLTK widgets.

+ +

Methods

+ + + +

void color(unsigned c);
+Fl_Color color();

+ +

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. + +

void delay(float f);
+float delay();

+ +

Gets or sets the tooltip delay. The default delay is 0.5 seconds. + +

void disable();

+ +

Disables tooltips on all widgets. + +

int enabled();

+ +

Returns non-zero if tooltips are enabled. + +

void enable(int b = 1);

+ +

Enables tooltips on all widgets. + +

void enter(Fl_Widget *w);

+ +

This method is called when the mouse pointer enters a +widget. + +

void exit(Fl_Widget *w);

+ +

This method is called when the mouse pointer leaves a +widget. + +

void font(int i);
+int font();

+ +

Gets or sets the typeface for the tooltip text. + +

void size(int s);
+int size();

+ +

Gets or sets the size of the tooltip text. + + + -- cgit v1.2.3