*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> DXmHelpSystemOpen (3X)              
Title
Content
Arch
Section
 

DXmHelpSystemOpen(3X)

Contents


NAME    [Toc]    [Back]

       DXmHelpSystemOpen  -  Completes  initialization operations
       required by LinkWorks and prepares to display a topic from
       the specified help file name.

SYNOPSIS    [Toc]    [Back]

       void DXmHelpSystemOpen(
               Opaque *help_context,
               Widget main_window,
               char *help_file,
               void ((*routine )()),
               Opaque tag );

PARAMETERS    [Toc]    [Back]

       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
              ----------------------------------------

              You can also provide your own location or extension
              along with the help file name.

              Note  that  help_file  is required for this routine
              but is optional for DXmHelpSystemDisplay.  Used for
              error  processing.   If  an error occurs within the
              DECwindows Motif Help System and it cannot be  processed
  by  either  LinkWorks  or  Bookreader,  the
              DECwindows Motif Help System calls the  error  processing
  routine you have included in your application
 and passes in an integer, or status, to  indicate
  the status of the error processing operation,
              as follows:

              -------------------------------------------------------------------
              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.
              -------------------------------------------------------------------

              Note the following: The status parameter is a  system-supplied
 parameter that supplements the routine
              and tag parameters you have  already  specified  in
              the  application.   If an error cannot be processed
              by either LinkWorks or Bookreader and you have  not
              specified  a  supplementary error handling routine,
              your system will generate an access violation error
              message.   The  parameter  you supply to the previously
 described routine parameter.   Associating  a
              tag  with  the  routine  enables you to more easily
              determine where errors occur.

DESCRIPTION    [Toc]    [Back]

                                  Note

       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.

SEE ALSO    [Toc]    [Back]

      
      
       DXmHelpSystemClose(3X), DXmHelpSystemDisplay(3X)



                                            DXmHelpSystemOpen(3X)
[ Back ]
 Similar pages
Name OS Title
DXmHelpSystemDisplay Tru64 Displays a topic or directory of the help file in Bookreader.
DXmHelpSystemClose Tru64 Closes all of the remaining topic and navigation windows in Bookreader.
XmTransferDone HP-UX A toolkit function that completes a data transfer
MrmInitialize IRIX Prepares an application to use MRM widgetfetching facilities
MrmInitialize Tru64 Prepares an application to use MRM widgetfetching facilities
MrmInitialize HP-UX Prepares an application to use MRM widget-fetching facilities
rasops_init NetBSD raster display operations
rasops_reconfig NetBSD raster display operations
rasops NetBSD raster display operations
rasops_init OpenBSD raster display operations
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service