A List function that returns the bounding box of an item at a specified position in a list
Format
#include <Xm/List.h> Boolean XmListPosToBounds Widget widgetint positionPosition *xPosition *yDimension *widthDimension *height
DESCRIPTION
XmListPosToBounds returns the coordinates of an item within a list and the dimensions of its bounding box. The function returns the associated x and y-coordinates of the upper left corner of the bounding box relative to the upper left corner of the List widget, as well as the width and the height of the box. The caller can pass a NULL value for the x, y, width, or height parameters to indicate that the return value for that parameter is not requested.
For a complete definition of List and its associated resources, see XmList (3).
RETURN
If the item at the specified position is not visible, returns False, and the returned values (if any) are undefined. Otherwise, this function returns True.
RELATED