Article View: comp.graphics.avs
Article #133Re: AVS and X and Motif
From: Larry Gelberg
Date: Fri, 04 Sep 1992 17:19
Date: Fri, 04 Sep 1992 17:19
37 lines
2284 bytes
2284 bytes
jaaksi@cc.tut.fi (Jaaksi Ari) writes:
: I saw at SIGGRAPH in Chicago an AVS -demo that interested me a lot.
: As far as I understood, in that demo program AVS was able to draw
: inside a Motif X -window. So there was a normal Motif program that
: opened a X window. After that AVS was told to draw inside that window
: and an end user wouldn't even know he's using AVS.
You're close! The Motif application is first encapsulated in an AVS
module. Then, AVS creates the window and hands the X window ID to the
MOTIF application which reparents the window into its own space. The
Motif widgets communicate to AVS via the CLI - you send a CLI command
(or a series of commands) based on the meaning of a Motif widget interaction.
Finally, you could start up AVS to be invisible (avs -nodisplay) but
running a network containing the Motif-application module.
This is only possible with AVS4 and the magic is the CLI command,
panel -xwindow
which returns the X Window Id.(see the Developer's Guide - 5-48 - 5-50)
: If that was possible,
: I could program my user interface useing Motif. And instead of using
: some graphics libraries to draw 3D things I could use AVS networks.
: I'd have all the power of AVS with the flexibility of all other
: ways to create X applications!
Exactly! While some people like the standard AVS (LUI) interface, other
programs have requirements for MOTIF, OPEN-LOOK, whatever, so we have
been working on these and other ways of interfacing AVS to other
applications.
larryg
--
=== Larry Gelberg ============================ larryg@avs.com =======
Advanced Visual Systems Inc. (AVS Inc.)
300 Fifth Ave, Waltham, MA 02154
===== Tel: 617-890-4300 = Fax: 617-890-8287 =========================
Technical Details
Message-ID:
<1992Sep4.171952.16664@ctr.columbia.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!sol.ctr.columbia.edu!aurora!larrygReferences:
<1992Sep4.142437.8335@cc.tut.fi>Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.avs Path: arc1-ca.pugleaf.net!sparky!uunet!caen!sol.ctr.columbia.edu!aurora!larryg From: larryg@avs.com (Larry Gelberg) Subject: Re: AVS and X and Motif Organization: Advanced Visual Systems Inc. References: <1992Sep4.142437.8335@cc.tut.fi> Message-ID: <1992Sep4.171952.16664@ctr.columbia.edu> Sender: news@ctr.columbia.edu (The Daily Lose) X-Newsreader: Tin 1.1 PL4 Date: Fri, 4 Sep 1992 17:19:52 GMT X-Posted-From: aurora.avs.com X-Posted-Through: sol.ctr.columbia.edu Lines: 37