aboutsummaryrefslogtreecommitdiff
path: root/SrcUnix/espws-2.0/HelpDialog.html
blob: dc64a96f6fdcca4e2c464add05c3e0bb4727908e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<HTML>
<HEAD>
	<TITLE>HelpDialog - ESP Widget Set for FLTK</TITLE>
	<LINK REL="STYLESHEET" TYPE="text/css" HREF="fltk.css">
	<MAP NAME="navbar">
		<AREA SHAPE="RECT" COORD="20,19,74,36" HREF="index.html" ALT="Widget Set Home Page">
		<AREA SHAPE="RECT" COORD="96,19,240,36" HREF="documentation.html" ALT="Widget Set Documentation">
		<AREA SHAPE="RECT" COORD="262,19,356,36" HREF="download.html" ALT="Download Widget Set">
		<AREA SHAPE="RECT" COORD="378,19,416,36" HREF="http://www.easysw.com" ALT="ESP Home Page">
		<AREA SHAPE="RECT" COORD="438,19,487,36" HREF="http://www.fltk.org" ALT="FLTK Home Page">
	</MAP>
</HEAD>

<BODY BGCOLOR="#ccccff">

<!-- NEW PAGE -->
<H2>class HelpDialog</H2>

<HR>

<H3>Class Hierarchy</H3>

<UL><PRE>
Fl_Group
   |
   +----<B>HelpDialog</B>
</PRE></UL>

<H3>Include Files</H3>

<UL><PRE>
#include "HelpDialog.h"
</PRE></UL>

<H3>Description</H3>

<P>The <CODE>HelpDialog</CODE> widget displays a standard help dialog window
using the <CODE>HelpView</CODE> widget.

<CENTER><IMG SRC="HelpDialog.gif"></CENTER>

<H3>Methods</H3>

<UL>

	<LI><A HREF="#HelpDialog.HelpDialog">HelpDialog</A>
	<LI><A HREF="#HelpDialog.~HelpDialog">~HelpDialog</A>
	<LI><A HREF="#HelpDialog.hide">hide</A>
	<LI><A HREF="#HelpDialog.load">load</A>
	<LI><A HREF="#HelpDialog.show">show</A>
	<LI><A HREF="#HelpDialog.topline">topline</A>
	<LI><A HREF="#HelpDialog.visible">visible</A>

</UL>

<H4><A NAME="HelpDialog.HelpDialog">HelpDialog()</A></H4>

<P>The constructor creates the dialog pictured above.

<H4><A NAME="HelpView.~HelpView">~HelpView()</A></H4>

<P>The destructor destroys the widget and frees all memory that has been
allocated for the current file.

<H4><A NAME="HelpDialog.hide">void hide()</A></H4>

<P>Hides the <code>HelpDialog</code> window.

<H4><A NAME="HelpDialog.load">void load(const char *f)</A></H4>

<P>Loads the specified HTML file into the <CODE>HelpView</CODE> widget.
The filename can also contain a target name ("filename.html#target").

<H4><A NAME="HelpDialog.show">void show()</A></H4>

<P>Shows the <code>HelpDialog</code> window.

<H4><A NAME="HelpDialog.topline">void topline(const char *n)<BR>
void topline(int n)</A></H4>

<P>Sets the top line in the <CODE>HelpView</CODE> widget to the named or
numbered line.

<H4><A NAME="HelpDialog.visible">int visible()</A></H4>

<P>Returns 1 if the <code>HelpDialog</code> window is visible.

</BODY>
</HTML>