Fl_Group | +----Fl_Help_View
#include "Fl_Help_View.h"
The Fl_Help_View
widget displays HTML text. Most HTML 2.0
elements are supported, as well as a primitive implementation of tables.
GIF, JPEG, and PNG images are displayed inline.
The constructor creates the Fl_Help_View
widget at the specified
position and size.
The destructor destroys the widget and frees all memory that has been allocated for the current file.
This method returns the current directory (base) path for the file in the buffer.
This method returns the current filename for the text in the buffer.
This method assigns a callback function to use when a link is
followed or a file is loaded (via Fl_Help_View::load()
) that
requires a different file or path. The callback function receives the
full pathname for the file in question and must return a pathname that
can be opened as a local file. This is used by the
Fl_Help_App
widget to support WWW
addresses.
This method loads the specified file or URL.
This method returns the length of the buffer text in pixels.
The first form sets the default text color. The second returns the current default text color.
The first form sets the default text font. The second returns the current default text font.
The first form sets the default text size. The second returns the current default text size.
This method returns the current document title, or NULL if there is no title.
The first two forms scroll the text to the indicated position, either with a named destination or by pixel line.
The second form returns the current top line in pixels.
The first form sets the current buffer to the string provided and reformats the text. The second form returns the current buffer contents.