void cxInWdgtScrollListItemsDelete (const char *portname, const char *listEntriesString)
subroutine cxInWdgtScrollListItemsDelete (portname, listEntriesString) character* portname, listEntriesString
- This is the name of the input parameter port whose widget is to get new items
- This is a string of newline terminated substrings that should be deleted from the list. "listEntriesString" should be a single null-terminated string composed of substrings representing each selected item. These substrings should be separated by newline characters("\n"). The last substring should also have a terminating newline.
This is the IRIS Explorer Widget Library call used to remove items from the named IRIS Explorer Scrolled List Widget. Items in "listEntriesString" are removed from the named list if they exist in the named list. "listEntriesString" should be a single null-terminated string composed of substrings representing each selected item. The widget parameter value will change to the empty string. Items requested to be deleted but not in the list are ignored.
cxInWdgtScrollListItemsDelete("Name List", 3, "Item 1\nItem 2\nItem 3\n");
This would result in deleting any prior list items, and stuffing list "Name List" with 3 list items, "Item 1", "Item 2" and "Item 3". The parameter value for that widget is the empty string.cxInWdgtScrollListItemsInsert(3E), cxInWdgtScrollListItemsSel(3E), cxInWdgtScrollListItemsSelSet(3E), cxInWdgtScrollListItemsSet(3E)
Last modified: Mon Nov 6 16:33:24 GMT 2000
[ Documentation Home ] © The Numerical Algorithms Group Ltd, Oxford UK. 1996