luis@postgres.Berkeley.EDU (Luis Miguel) (07/14/89)
I have written a widget to be able to display and manipulate arbitrary graphs. It works with the HP, R2 widget set. I am interested in porting it to Motif, and need to estimate how long it will take me, as well as how difficult the port will be. If you have experience dealing with both the HP widgets and Motif widget set, please let me know what you think. Thanks, /Luis Luis Miguel. Computer Science Division, UC Berkeley. arpanet: luis@postgres.Berkeley.EDU uucp: {ihnp4,decvax}!ucbvax!postgres!luis at&t: (415) 642-9585
wescheng@hpccc.HP.COM (Wesley Cheng) (07/14/89)
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