XmListYToPos(3X)

XmListYToPos -- A List function that returns the position of the item at a specified y coordinate

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     XmListYToPos  -- A List function that returns the position of the item at a
     specified y coordinate

SYNOPSIS
     #include <Xm/List.h>

     int XmListYToPos (widget, y)
          Widget    widget;
          Position  y;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmListYToPos returns the position of the item at  the  given  y  coordinate
     within the list.


     widget Specifies the ID of the List widget

     y      Specifies the y coordinate in the list's coordinate system


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

RETURN VALUE
     Returns the position of the item at the specified y coordinate.  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 indicates that no item exists at the speci-
     fied y coordinate.

RELATED INFORMATION
     XmList(3X) and XmListPosToBounds(3X).

                                                                XmListYToPos(3X)