DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmListGetKbdItemPos(X3mot)


XmListGetKbdItemPos -- a List function that returns the position of the item at the location cursor

Synopsis

#include <Xm/List.h>

int XmListGetKbdItemPos (widget) Widget widget;

Description

XmListGetKbdItemPos returns the position of the list item at the location cursor.

widget
Specifies the ID of the List widget.

For a complete definition of List and its associated resources, see XmList(X3mot).

Return values

Returns the position of the current keyboard item. A value of 1 indicates that the location cursor is at the first item of the list; a value of 2 indicates that it is at the second item; and so on. A value of 0 indicates the List widget is empty.

References

XmList(X3mot)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004