XmListSetPos(3X)

XmListSetPos -- A List function that makes the item at the given position the first visible position in the list

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     XmListSetPos  -- A  List function that makes the item at the given position
     the first visible position in the list

SYNOPSIS
     #include <Xm/List.h>

     void XmListSetPos (widget, position)
          Widget    widget;
          int       position;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmListSetPos makes the item at the given position the first  visible  posi-
     tion in the List.


     widget Specifies the ID of the List widget.

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


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

RELATED INFORMATION
     XmList(3X).

                                                                XmListSetPos(3X)