From: steinj@clio.rz.uni-duesseldorf.de (Jochen Stein)
Subject: Shared image of small X library on sunsite
Date: 3 Dec 1994 11:59:12 +0200 [thread overview]
Message-ID: <3bpfhg$dmb@kruuna.Helsinki.FI> (raw)
This is a shared library of the Small X Library. It comes with sources,
objects, compiled demo programs and a shareable image. You will need
at least libc 4.5.26 and X11R6 to use the binaries.
The shared library resides at 0x6f000000, so there should be no conflict
with existing libraries. If anyone wants to assign this library an
address space, I will happily move it there.
After unpacking, you will find the compiled libraries in libsx/shared,
together with a simple install script. Use this or copy the libraries
where you want them (and ld.so will find them) and start playing
with the example programs :-)
>From the README:
--- What is libsx?
Libsx (the Simple X library) is a library of code that sits on
top of and to the side of the Athena widget set. Its purpose is to
make writing X applications *much* easier. To accomplish this, libsx
encapsulates a large portion of the uglier details that arise while
programming in X and it fills in some gaps that exist with the Athena
Widget set (such as a widget for drawing graphics); libsx tries to
simplify the common case down to a single function call with only a
few arguments.
With libsx, writing a simple program that opens a window, has a
few buttons and draws some graphics (lines, circles, bitmaps, etc) is
a matter of 5-10 lines of code, including the drawing code. Hello
World is 2 lines. More complicated programs that respond to mouse
clicks, have buttons, scrollbars, etc, can be written in 25-50 lines
of code.
Some libraries take the approach of completely hiding whatever
they are layering on top of. In contrast, libsx doesn't drastically
alter the base abstractions of X, it just packages them in the way
they get used most of the time, so that with one function call and a
few arguments you get the effect of 10-20 lines of pure X code.
Access to the underlying X objects (Window id's, Display pointers,
etc) is also possible if necessary, but not required.
With libsx, the simple things are simple and the complex things
are possible (where have I heard that before? :-).
Final word from me: If you always wanted to program X apps and did not
know where to start, this is the right thing for you!
Jochen Stein
--
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
PLEASE remember Keywords: and a short description of the software.
reply other threads:[~1994-12-03 9:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox