Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!stanford.edu!msi.umn.edu!umeecs!zip!bagchi From: bagchi@eecs.umich.edu (Ranjan Bagchi) Newsgroups: comp.windows.x Subject: Xlib -> Xt? Message-ID: Date: 15 Mar 91 03:11:06 GMT Sender: news@zip.eecs.umich.edu Organization: Recreational Creationists, Inc. Lines: 18 I've done a decent amount of programming in Xlib, and have been drooling somewhat enviously over the widgets in Xt. Now, I've briefly looked over the Xt programming/reference manuals, and it's not terribly obvious how to move my Xlib code over so they are usable by Xt widgets. If anyone has an example/advice of such a thing, could you please mail me? A simple line drawing program or something? -rj -- -------------------------------------------------------------------------------- Ranjan Bagchi - asleep...... | v,i,j,k,l,s,a[99]; bagchi@eecs.umich.edu | main() { ------------------------------- for(scanf("%d",&s);*a-s;v=a[j*=v]-a[i],k=i=s*k&&++a[--i]) ; } /* Osovlanski and Nissenbaum */ --------------------------------------------------------------------------------