fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_TooltipBox Class Reference

Inheritance diagram for Fl_TooltipBox:
Collaboration diagram for Fl_TooltipBox:

List of all members.

Public Member Functions

 Fl_TooltipBox ()
void draw ()
void layout ()
void show ()

Detailed Description

This widget creates a tooltip box window, with no caption.

Definition at line 50 of file Fl_Tooltip.cxx.


Constructor & Destructor Documentation

Fl_TooltipBox::Fl_TooltipBox ( ) [inline]

Creates the box window

Definition at line 53 of file Fl_Tooltip.cxx.

References Fl_Group::end(), Fl_Window::set_override(), and Fl_Window::set_tooltip_window().


Member Function Documentation

void Fl_TooltipBox::draw ( ) [virtual]

Draws the widget. Never call this function directly. FLTK will schedule redrawing whenever needed. If your widget must be redrawn as soon as possible, call redraw() instead.

Override this function to draw your own widgets.

If you ever need to call another widget's draw method from within your own draw() method, e.g. for an embedded scrollbar, you can do it (because draw() is virtual) like this:

        Fl_Widget *s = &scroll;         // scroll is an embedded Fl_Scrollbar
        s->draw();                      // calls Fl_Scrollbar::draw()

Reimplemented from Fl_Window.

Definition at line 106 of file Fl_Tooltip.cxx.

References Fl_Tooltip::color(), Fl_Widget::draw_box(), FL_ALIGN_LEFT, FL_ALIGN_WRAP, FL_BORDER_BOX, fl_color(), fl_draw(), fl_font(), Fl_Tooltip::font(), Fl_Widget::h(), Fl_Tooltip::size(), Fl_Tooltip::textcolor(), and Fl_Widget::w().

void Fl_TooltipBox::show ( ) [inline, virtual]

Shows the tooltip windows only if a tooltip text is available.

Reimplemented from Fl_Menu_Window.

Definition at line 61 of file Fl_Tooltip.cxx.


The documentation for this class was generated from the following file: