/*-------------------------------------------------------------*/
/*  File:  stext.c 
 *
 *  Demonstrates a StaticText widget
 *
 */
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <Xol/OpenLook.h>

#include <Xol/StaticText.h>

static char message[] = "The StaticText widget is useful for \
displaying messages. By default, the text wraps to fit the \
border";
/*-------------------------------------------------------------*/
Widget MakeWidgets(parent)
Widget parent;
{
    Widget w;
    w = XtVaCreateManagedWidget("Stext", 
                      staticTextWidgetClass, parent,
                      XtNstring,    message,
                      XtNwidth,     200,
                      NULL);
    return w;
}

