/*-------------------------------------------------------------*/
/*  File:  help.c 
 *
 *  Demonstrates the OPEN LOOK help facility.
 *
 */
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <Xol/OpenLook.h>

#include <Xol/StaticText.h>

static char message[] = "Bring the pointer into this text \
and press the F1 function key. That should pop-up a Help \
window.";
/*-------------------------------------------------------------*/
Widget MakeWidgets(parent)
Widget parent;
{
    Widget w;
    w = XtVaCreateManagedWidget("Stext", 
                      staticTextWidgetClass, parent,
                      XtNstring,    message,
                      XtNwidth,     200,
                      NULL);

    OlRegisterHelp(OL_WIDGET_HELP, w, "Disk",
                   OL_DISK_SOURCE, "stext.hlp");
        
    return w;
}

