Content-type: text/html
DXmHelpSystemOpen - Completes initialization operations required by LinkWorks and prepares to display a topic from the specified help file name.
void DXmHelpSystemOpen(
Opaque *help_context,
Widget main_window,
char *help_file,
void ((*routine )()),
Opaque tag
);
Used by the DECwindows Motif Help System to pass required LinkWorks and help information from one routine to another. Note that help_context must be defined globally; the DXmHelpSystemDisplay and DXmHelpSystemClose routines subsequently use the address initially set for this parameter. The identifier (ID) for the main window of the application. The file name of the help file. The default specifications are as follows:
Default | Description |
/usr/lib/X11/help/ | Directory location |
.decw_book | File extension |
Value | Description |
1 |
The DECwindows Motif Help System could not
find the LinkWorks shareable image.
|
2 |
The DECwindows Motif Help System could not
translate a specified value into a valid file specification.
|
This routine is not supported on all operating systems.
Within the DECwindows Motif Help System, the
DXmHelpSystemOpen
routine completes all of the initialization operations required
by LinkWorks, such as creating a DECwindows user interface object and a surrogate
object, and then prepares to display a topic from the help file name passed
in. You should make the call to this routine just before the main loop of
your application.
DXmHelpSystemClose(3X), DXmHelpSystemDisplay(3X)