XmListGetKbdItemPos(3X)

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

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     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;


VERSION
     This page documents version 1.2 of the Motif library.

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  Xm-
     List(3X).

RETURN VALUE
     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 in-
     dicates that it is at the second item; and so on.  A value of  0  indicates
     the List widget is empty.

RELATED INFORMATION
     XmList(3X).

                                                         XmListGetKbdItemPos(3X)