Re: Performer/Motif interface

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose)
Wed, 31 Jan 1996 12:56:14 -0800


+>---- On Jan 31, 2:16pm, Andrew C Jank wrote:
> Subject: Performer/Motif interface
->From guest++at++holodeck Wed Jan 31 12:25:46 1996
->From: acjank++at++aia.af.mil (Andrew C Jank)
->Subject: Performer/Motif interface
->To: info-performer++at++sgi.sgi.com
->Date: Wed, 31 Jan 96 14:16:23 CST
->X-Mailer: ELM [version 2.4dev PL65]
->
->Greeting to all,
-> I am new on the mailing list, so I have a relatively basic
->question. I am writing a Performer Icon editing tool in Motif, but I
->cannot seem to interface the two properly. I want to pull up a widget
->(drawing area?) that displays the icon, an use callbacks from other
->widgets to modify and update the display. Can anyone help? thanks.

Are you using Performer2.0? If so, check out the Motif
example in /usr/share/Performer/src/pguide/libpf/C/motif.c

If you are using 1.2, you can still do it.
You need to get the X widnow attached to the graphics context
and hand it to Performer via the pfInitGLXGfx() routine.
Look at /usr/src/Performer/src/pguide/libpf/progs/complex-glx.c
for an example.
Using X and motif is a lot easier with Performer 2.0.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

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:52:19 PDT

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