[comp.windows.x] Athena/HP Widgets To MOTIF

ries@venice.SEDD.TRW.COM (Marc Ries) (10/11/89)

-- 
Marc Ries
           ries@venice.sedd.trw.com     (ARPA)
           somewhere!trwind!venice!ries (UUCP)
           #include <std.disclaimer>

ries@venice.SEDD.TRW.COM (Marc Ries) (10/11/89)

  [Some how the posting got garbled and did not make it out...]

   Anyway, since I rm'd the original, I'll sum it up:

   1) Any documentation and or programs that attempt to
      translate/explain source for "widgets" (preferably AW) to the
      MOTIF widgets and supporting Xtoolkit?

      Things like:

          What corresponds to a "simple" widget (primitive?)?
          What happened to XtNcursor?
          Etc.
 
         
-- 
Marc Ries
           ries@venice.sedd.trw.com     (ARPA)
           somewhere!trwind!venice!ries (UUCP)
           #include <std.disclaimer>

klee@gilroy.pa.dec.com (Ken Lee) (10/12/89)

In article <67@venice.SEDD.TRW.COM>, ries@venice.SEDD.TRW.COM (Marc
Ries) writes:
>    1) Any documentation and or programs that attempt to
>       translate/explain source for "widgets" (preferably AW) to the
>       MOTIF widgets and supporting Xtoolkit?

The Motif porting guide provides some info on porting from DECwindows
to Motif.  I assume that vendors will, when they ship Motif, provide
detailed info and maybe tools, on porting from their previous widget
sets to Motif.  For the Athena widgets, the OSF Motif tutorial (taught
by ICS) included this list:

Athena widget		Best Motif widget match
core			core
shells			same shells
box			XmRowColumn with XmNpacking set
command			XmPushButton with XmNactiveCallback
dialog			prompt dialog
form			XmForm with different constraints
grip			sash (private to XmPanedWindow)
label			XmLabel
list			XmList
scrollbar		XmScrollbar
text			XmText with changes to access routines
viewport		XmScrolledWindow
VPaned			XmPanedWindow

You're on your own if you want to port Athena C code to Motif UIL.
Hope that helps.

Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@decwrl.dec.com
uucp: uunet!decwrl!klee