XmListSetKbdItemPos(3X)

XmListSetKbdItemPos -- A List function that sets the location cursor at a specified position

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     XmListSetKbdItemPos  -- A  List function that sets the location cursor at a
     specified position

SYNOPSIS
     #include <Xm/List.h>

     Boolean XmListSetKbdItemPos (widget, position)
          Widget    widget;
          int       position;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmListSetKbdItemPos sets the location cursor at the item specified by posi-
     tion.  This function does not determine if the item at the specified  posi-
     tion is selected or not.


     widget Specifies the ID of the List widget.

     position
            Specifies  the  position of the item at which the location cursor is
            set.  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 sets the loca-
            tion cursor at the last item in the list.


     For  a  complete  definition  of List and its associated resources, see Xm-
     List(3X).

RETURN VALUE
     Returns False if no item exists at the specified position or if the list is
     empty; otherwise, returns True.

RELATED INFORMATION
     XmList(3X).

                                                         XmListSetKbdItemPos(3X)