[comp.windows.x] StripChart Widget of Xaw

labc-1ia@web-1h.berkeley.edu (Andrew M. Choi) (03/19/91)

Hi Xperts.  

I am experiencing problem with the Strip Chart Widget of the
Athena Widget Set ... namely, I don't really know how to
set the XtNgetValue resource of the widget ... I tried
the following 2 approaches:

  XtVaSetValues(strip_chart,
		XtNgetValue, getValue,
		NULL);

	- or -

  XtAddCallback(strip_chart, XtNgetValue, getValue, NULL);

But the former gives me segmentation fault, while the latter
gives me "malloc:  out of memory error".

Any help will be greatly appreciated.


Name:  Andrew Choi	Internet Addr:  achoi@cory.berkeley.edu
Tel:   (415)848-5658
#include <std/disclaimer.h>