FLTK 1.3.4
|
Public Member Functions | |
Fl_Help_Dialog () | |
int | h () |
void | hide () |
void | load (const char *f) |
void | position (int xx, int yy) |
void | resize (int xx, int yy, int ww, int hh) |
void | show () |
void | show (int argc, char **argv) |
Fl_Fontsize | textsize () |
void | textsize (Fl_Fontsize s) |
void | topline (const char *n) |
void | topline (int n) |
const char * | value () const |
void | value (const char *f) |
int | visible () |
int | w () |
int | x () |
int | y () |
~Fl_Help_Dialog () | |
The Fl_Help_Dialog widget displays a standard help dialog window using the Fl_Help_View widget.
Fl_Help_Dialog::Fl_Help_Dialog | ( | ) |
The constructor creates the dialog pictured above.
Fl_Help_Dialog::~Fl_Help_Dialog | ( | ) |
The destructor destroys the widget and frees all memory that has been allocated for the current file.
int Fl_Help_Dialog::h | ( | ) |
Returns the position and size of the help dialog.
void Fl_Help_Dialog::hide | ( | ) |
Hides the Fl_Help_Dialog window.
void Fl_Help_Dialog::load | ( | const char * | f | ) |
Loads the specified HTML file into the Fl_Help_View widget. The filename can also contain a target name ("filename.html#target").
void Fl_Help_Dialog::position | ( | int | x, |
int | y | ||
) |
Set the screen position of the dialog.
void Fl_Help_Dialog::resize | ( | int | xx, |
int | yy, | ||
int | ww, | ||
int | hh | ||
) |
Change the position and size of the dialog.
void Fl_Help_Dialog::show | ( | ) |
Shows the Fl_Help_Dialog window.
Shows the main Help Dialog Window Delegates call to encapsulated window_ void Fl_Window::show() method
void Fl_Help_Dialog::show | ( | int | argc, |
char ** | argv | ||
) |
Shows the main Help Dialog Window Delegates call to encapsulated window_ void Fl_Window::show(int argc, char **argv) instance method
uchar Fl_Help_Dialog::textsize | ( | ) |
Sets or gets the default text size for the help view.
void Fl_Help_Dialog::textsize | ( | Fl_Fontsize | s | ) |
Sets or gets the default text size for the help view.
Sets the internal Fl_Help_View instance text size. Delegates call to encapsulated view_ void Fl_Help_View::textsize(Fl_Fontsize s) instance method
void Fl_Help_Dialog::topline | ( | const char * | n | ) |
Sets the top line in the Fl_Help_View widget to the named or numbered line.
void Fl_Help_Dialog::topline | ( | int | n | ) |
Sets the top line in the Fl_Help_View widget to the named or numbered line.
const char * Fl_Help_Dialog::value | ( | ) | const |
The first form sets the current buffer to the string provided and reformats the text. It also clears the history of the "back" and "forward" buttons. The second form returns the current buffer contents.
void Fl_Help_Dialog::value | ( | const char * | v | ) |
The first form sets the current buffer to the string provided and reformats the text. It also clears the history of the "back" and "forward" buttons. The second form returns the current buffer contents.
int Fl_Help_Dialog::visible | ( | ) |
Returns 1 if the Fl_Help_Dialog window is visible.
int Fl_Help_Dialog::w | ( | ) |
Returns the position and size of the help dialog.
int Fl_Help_Dialog::x | ( | ) |
Returns the position and size of the help dialog.
int Fl_Help_Dialog::y | ( | ) |
Returns the position and size of the help dialog.