Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!hpccc!wescheng From: wescheng@hpccc.HP.COM (Wesley Cheng) Newsgroups: comp.windows.x Subject: Re: Porting an HP widget to Motif.... Message-ID: <7070007@hpccc.HP.COM> Date: 14 Jul 89 14:47:38 GMT References: <15432@pasteur.Berkeley.EDU> Organization: HP Application Support Division Lines: 17 If you have written a widget, then most of your code would probably be Xt Intrinsics or Xlib calls. If so, then there should be little or no change to that code. I ported a widget from HP widgets to Motif with no problems. If your widget is a composite widget that uses specific HP widgets, then you will have to find a similar widget in the Motif set. My feeling is that there is a *pretty* good match between then two (add your favorite disclaimer). A graph widget most likely uses a bunch of "generic" widgets (like push buttons) and Xlib routines to draw the interconnections. I don't see that you will have to change much except for some minor naming convention differences. wesley