XmListSelectPos(3X)

XmListSelectPos --A List function that selects an item at a specified posi- tion in the list

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     XmListSelectPos --A List function that selects an item at a specified posi-
     tion in the list

SYNOPSIS
     #include <Xm/List.h>

     void XmListSelectPos (widget, position, notify)
          Widget    widget;
          int       position;
          Boolean   notify;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmListSelectPos  highlights  a List item at the specified position and adds
     it to the list of selected items.


     widget Specifies the ID of the List widget.

     position
            Specifies the position of the item to be selected.  A value of 1 in-
            dicates that the first item in the list is selected; a  value  of  2
            indicates that the second item is selected; and so on.  A value of 0
            indicates that the last item in the list is selected.

     notify Specifies a Boolean value that when True invokes the selection call-
            back  for  the  current  mode.   From an application interface view,
            calling this function with notify True is indistinguishable  from  a
            user-initiated selection action.


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

RELATED INFORMATION
     XmList(3X).

                                                             XmListSelectPos(3X)