Article View: comp.graphics.avs
Article #84Re: AVS and X and Motif
From: trandu
Date: Mon, 07 Sep 1992 20:56
Date: Mon, 07 Sep 1992 20:56
43 lines
2473 bytes
2473 bytes
In article <1992Sep4.171952.16664@ctr.columbia.edu>, larryg@avs.com (Larry Gelberg) writes: > 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 ========================= hi, is there an example and/or script that shows how to do MOTIF in AVS? Thanks huy
Technical Details
Message-ID:
<1992Sep7.155610.1@woods.ulowell.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ulowell!woods.ulowell.edu!tranduReferences:
<1992Sep4.142437.8335@cc.tut.fi> <1992Sep4.171952.16664@ctr.columbia.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.avs Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!woods.ulowell.edu!trandu From: trandu@woods.ulowell.edu Subject: Re: AVS and X and Motif Message-ID: <1992Sep7.155610.1@woods.ulowell.edu> Sender: usenet@ulowell.ulowell.edu (News manager - ulowell) Organization: University of Lowell References: <1992Sep4.142437.8335@cc.tut.fi> <1992Sep4.171952.16664@ctr.columbia.edu> Date: Mon, 7 Sep 1992 20:56:10 GMT Lines: 44