Path: usenet.cise.ufl.edu!huron.eel.ufl.edu!usenet.eel.ufl.edu!arclight.uoregon.edu!feed1.news.erols.com!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!199.2.96.62!news.rain.net!news.teleport.com!not-for-mail
From: "Joseph H. Buehler" <
[email protected]>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules
Subject: ANNOUNCE: X11::Wcl 0.1
Followup-To: comp.lang.perl.modules
Date: 12 Aug 1997 13:19:58 GMT
Organization: US Net - MD/DC/VA ISP
Lines: 63
Sender:
[email protected]
Approved:
[email protected] (comp.lang.perl.announce)
Message-ID: <
[email protected]>
NNTP-Posting-Host: gadget.cscaper.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:11 comp.lang.perl.modules:435
I have just uploaded the initial version (0.1) of X11::Wcl to PAUSE.
This module provides an interface to the Widget Creation Library,
allowing rapid prototyping of GUI interfaces by specifying both
widget trees and widget resources using the standard X resource
syntax. Creating an application mainly involves writing the
resource specifications and the PERL callback routines.
The 0.1 README is attached.
Joe Buehler
This is a PERL module that interfaces PERL to the Widget Creation
Library and Motif.
You must have the following installed before you start:
- Wcl 2.7, with the enclosed patch applied
- Motif (whichever version you want to use with Wcl)
- SWIG 1.1 (later versions will hopefully work)
I have placed a copy of Wcl 2.7 in CPAN with this module, so you do
not have to hunt it down on the net.
To install:
perl Makefile.PL
make
make install
Optimization is on by default, which can take a while. You can
compile with
make OPTIMIZE=
if you want to turn optimization off.
Currently, this has only been tested under RedHat Linux 4.2 using
RedHat Motif 2.0. Porting to other platforms should be easy. Setting
up for the Athena widgets should also be easy.
There is very little custom code in this module, it is mostly
generated from X11 and Motif header files by SWIG.
The Wcl-gen perl script runs the C preprocessor on a selected set of
header files, then edits the output a bit to make it more palatable to
SWIG. To port to a new platform, you should only need to make
modifications to Wcl-gen, and perhaps the header file list in Wcl-i,
and obviously Makefile.PL.
The Makefile is set up to have SWIG generate HTML documentation on the
constants and classes that it generates. There is also some pod
documentation on the functionality provided by the package in the
Wcl-pm file, and in the examples in the examples/ directory.
The Makefile setup is a bit odd, if you know all about MakeMaker, let
me know how to fix it up.
Joe Buehler
[email protected]
August 8, 1997