RE: Performer combined with Motif and RapidApp

New Message Reply Date view Thread view Subject view Author view

Karen Harper (kharper++at++cra.com)
Wed, 19 Nov 1997 10:21:06 -0500


Hi Thomas,

I suffered through this learning process a while ago and managed to come

out of it with a Performer application running in a glwDrawingArea
widget.

The general steps are as follows.

Set up your rapidapp interface with a glwDrawingArea.

In the init function for your drawing area, make your Performer
intiialization calls, i.e.
pfInit, pfConfig, etc.

Set up a pipe using pfGetPipe and a pfPipewindow.
pipe = pfGetPipe(0);
pw = new pfPipeWindow(pipe);

You can then specify the glDrawingArea as the Performer drawing window
by
grabbing the window associated with the widget:
Window xwin = XtWindow( w);
pw -> setWinType(PFWIN_TYPE_X);
pw -> setWSWindow( NULL, xwin);
pw -> set WSDrawable( NULL, xwin);

Then just carry on with your Performer application.

Hope that helps,
Karen
-------------------------------------------------------
Karen A. Harper e-mail: kharper++at++cra.com
Research Engineer http://www.cra.com
Charles River Analytics http://www.opensesame.com
-------------------------------------------------------

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:13 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.