Manual Page Result
0
Command: XmListPosSelected | Section: 3 | Source: Digital UNIX | File: XmListPosSelected.3X.gz
XmListPosSelected(3X) XmListPosSelected(3X)
NAME
XmListPosSelected - A List function that determines if the list item at
a specified position is selected
SYNOPSIS
#include <Xm/List.h>
Boolean XmListPosSelected (widget, position)
Widget widget;
int position;
DESCRIPTION
XmPosSelected determines if the list item at the specified position is
selected or not. Specifies the ID of the List widget Specifies the po-
sition of the list item. A value of 1 indicates the first item in the
list; a value of 2 indicates the second item; and so on. A value of 0
specifies the last item in the list.
For a complete definition of List and its associated resources, see Xm-
List(3X).
RETURN VALUE
Returns True if the list item is selected; otherwise, returns False if
the item is not selected or the specified position is invalid.
SEE ALSO
XmList(3X)
XmListPosSelected(3X)