[comp.archives] [xannounce] New Version of Wcl - Widget Creation Library

david@jpl-devvax.JPL.NASA.GOV (David E. Smyth) (01/07/91)

Archive-name: x11/interface-builder/wcl/1991-01-05
Archive-directory: expo.lcs.mit.edu:/contrib/Wcl.1.05/ [18.30.0.212]
Original-posting-by: david@jpl-devvax.JPL.NASA.GOV (David E. Smyth)
Original-subject: New Version of Wcl - Widget Creation Library
Reposted-by: emv@ox.com (Edward Vielmetti)

Amazing!  An actual announcement of new software!  ;^)

====================================================
Widget Creation Library Release 1.05 (Patch Level 5)
====================================================

A new release of the Widget Creation Library is now available.
I have sent the shar files to be posted on comp.sources.x, and
by Monday the tar file and shar files should be available on
expo.lcs.mit.edu and devvax.jpl.nasa.gov.

I can also mail the shar files to people who do not have ftp
capabilities.

The widget creation library (Wcl) is a thin veneer over Xrm
which allows the entire widget hierarchy, appearance, and
bindings to callbacks and actions to be specified in Xrm
resource files.  This means you may never have to write another
XtSetValues() or XtCreateWidget() again!!


The significant changes include:

o  Major re-organization of the distribution, with a total
   re-write of the Imakefiles.

o  Major re-write of some of the library source files, especially
   WcCreate.c.

o  Wc resources now fetched after widget is created, so resource
   values, including Wc resources, can apply to a class of widget.
   Obviously, WcClass, WcClassName, and WcConstructor resources must
   still apply to a specific instance.

o  WcPopups resource for specifying static pop-up children.

o  WcCreatePopupsCB and WcCreatePopupsACT for creating
   dynamic pop-up children.

o  Leading and trailing whitespace is now stripped from the strings
   passed to callback functions.  Embedded whitespace is not modified
   in any way.

o  All widget set specific stuff has been migrated out of the Wcl library
   and into widget set specific libraries Xp and Xmp.  

o  These two new libraries contain Athena and Motif versions of the very
   useful Table widget.  They also contain useful widget set specific
   functions.

o  libXp contains the Athena version of the Table widget, AriRegisterAthena()
   which registers all Athena widgets with the Wcl, AriTextAppend() which is
   useful for appending text to Athena text widgets, and a constructor named
   XawCreateSimpleMenu().

o  libXmp contains the Motif version of the Table widget, MriRegisterMotif()
   which registers all Motif widgets with the Wcl, the CvtStringToMenuWidget 
   converter, and a new action called MriPopupACT.  The Motif version of
   the Table widget is the latest available, and includes a bug fix which
   makes it re-size properly.

o  WcLoadResourceFileCB enhanced to remember which resource files have
   been loaded (by resource file name, not complete path name).  It now
   handles absolute pathnames starting at root or tilda, or uses the
   same search path algorithm used bu GetAppDefaults in X11R4 Xt.  
   I.e., it uses XUSERFILESEARCHPATH, the user's home directory, and 
   XAPPLRESDIR in the same way that XtR4 does when it gets user's 
   application defaults.  This code basically mimics 
   GetAppUserDefaults() in mit/lib/Xt/Initialize.c

-------------------------------------------------------------------------
David Smyth				david@jpl-devvax.jpl.nasa.gov
Senior Software Engineer,		seismo!cit-vax!jpl-devvax!david
X and Object Guru.			(818)393-0983
Jet Propulsion Lab, M/S 230-103, 4800 Oak Grove Drive, Pasadena, CA 91109
--------------------------- Quote of the Day: ---------------------------
   "A Guru is not one who simply knows all the answers.  Rather, a
    Guru is like one who walks among the mountains, and by wandering
    around abit, can see the horizon through long narrow canyons."
-------------------------------------------------------------------------