1XmListDeletePositions(library call) XmListDeletePositions(library call)
2
3
4
6 XmListDeletePositions — A List function that deletes items from a list
7 based on an array of positions
8
10 #include <Xm/List.h>
11 void XmListDeletePositions(
12 Widget widget,
13 int *position_list,
14 int position_count);
15
17 XmListDeletePositions deletes noncontiguous items from a list. The
18 function deletes all items whose corresponding positions appear in the
19 position_list array. A warning message is displayed if a specified
20 position is invalid; that is, the value is 0, a negative integer, or a
21 number greater than the number of items in the list.
22
23 widget Specifies the ID of the List widget
24
25 position_list
26 Specifies an array of the item positions to be deleted. The
27 position of the first item in the list is 1; the position of
28 the second item is 2; and so on.
29
30 position_count
31 Specifies the number of elements in the position_list.
32
33 For a complete definition of List and its associated resources, see
34 XmList(3).
35
37 XmList(3).
38
39
40
41 XmListDeletePositions(library call)