[comp.windows.x] Xlib -> Xt?

bagchi@eecs.umich.edu (Ranjan Bagchi) (03/15/91)

	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,j+=(v=j<s&&(!k&&!!printf(2+"\n\n%c"-(!l<<!j)," #Q"[l^v?(l^j)&1:2])&&++l||a[i]<s&&v&&v-i+j&&v+i-j))&&!(l%=s),v||(i==j?a[i+=k]=0:++a[i])>=s*k&&++a[--i]) ;
					}  /* Osovlanski and Nissenbaum */
--------------------------------------------------------------------------------