Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmListYToPos(3X) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmList(3X)

XmListPosToBounds(3X)

XmListYToPos(3X)  —  Subroutines

OSF/Motif

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)
Widgetwidget;
Positiony;

DESCRIPTION

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

widgetSpecifies the ID of the List widget

ySpecifies the y coordinate in the list’s coordinate system

For a complete definition of List and its associated resources, see XmList(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 specified y coordinate. 

RELATED INFORMATION

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026