
This software was written by Dan Heller <island!argv@sun.com> or
<dheller@ucbcory.berkeley.edu>.  Mail to me if you have comments,
suggestions, bugs, or whatever.

This is the WidgetWrap library.  It contains four files:
    WidgetWrap.c
    WidgetWrap.h
    WidgetWrap.man
    README

WidgetWrap.c -- variable argument style programmer interfaces to widgets:
    WidgetCreate(name, class, parent, varargs...);
    WidgetSet(name, varargs);
    WidgetGet(name, varargs);
    GenericWidgetName(buf);

The purpose of this library is to allow the programmer to create
widgets and set/get widget attributes via a variable argument list
style of function call.  This eliminates the need for many local
variables and bothersome XtSetArg() calls and so forth.  An example
of usage:

    Widget foo;

    foo = WidgetCreate("foo", labelWidgetClass, toplevel,
        XtNlabel,	"Widget",
	XtNforeground,	WhitePixelOfScreen(XtScreen(toplevel)),
	XtNbackground,	BlackPixelOfScreen(XtScreen(toplevel)),
	XtNborderWidth,	1,
	NULL);

See the C code and man page for more extensive documentation and notes.

To compile, just cc -c WidgetWrap.c and append the object file to any
local libraries you may have.  Or, just use the .o to link with other
programs you may be writing.  Install the WidgetWrap.h file somewhere
like /usr/include/X11 so you don't have to add annoying -I options to
your compile command line or makefiles.
