DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmListPosSelected(Xm)


XmListPosSelected -- a List function that determines if the list item at a specified position is selected

Syntax

#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.

widget
Specifies the ID of the List widget

position
Specifies the position 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 XmList(Xm).

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(Xm)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005