[comp.windows.open-look] XView scrolling list usage

straw@cam.nist.gov (Mike Strawbridge) (11/16/90)

A couple questions about using Scrolling Lists in XView.

I would like to change the all the list's string items by passing to xv_set
one attribute/value pair with a value argument such as a pointer to an array
of pointers to char.  Can I do this or do I have to know how many items are
in the list and pass each string in a separate argument?

Also what effect does setting the attribute PANEL_LIST_NROWS supposed to have?
If I have 20 items and set the value to 10, it appears to have no effect.

I ask these two questions because I would like to use XView scrolling lists
where the contents of the list and the number of items in the list change
often.  I would like to dynamically change the string values and the number
of items in the list. Are scrolling lists intended for this use or are they
really meant to be rather static ...  that is, initialized once and used
with those values only.

Maybe better questions are ...
   Should I use a different XView object?
   Should I forget XView and go with OLIT or something else?

-----------------------------------------------------------------------
NAME:   Michael Strawbridge             	TELE: (301) 975-3852
USMAIL: National Institute of Standards 	ARPA: straw@cam.nist.gov
		and Technology            	UUCP: uunet!cme-durer!straw
        Rm. B-146, Bldg. 225
        Gaithersburg, MD  20899