Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmlistsetpos(3x) [osf1 man page]

XmListSetPos(3X)														  XmListSetPos(3X)

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; DESCRIPTION
XmListSetPos makes the item at the given position the first visible position in the List. Specifies the ID of the List widget. 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 XmList(3X). SEE ALSO
XmList(3X) XmListSetPos(3X)

Check Out this Related Man Page

XmListPosToBounds(library call) 										   XmListPosToBounds(library call)

NAME
XmListPosToBounds -- A List function that returns the bounding box of an item at a specified position in a list SYNOPSIS
#include <Xm/List.h> Boolean XmListPosToBounds( Widget widget, int position, Position *x, Position *y, Dimension *width, Dimension *height); DESCRIPTION
XmListPosToBounds returns the coordinates of an item within a list and the dimensions of its bounding box. The function returns the associ- ated 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. widget Specifies the ID of the List widget. position Specifies the position of the specified item. A value of 1 indicates the first item in the list; a value of 2 indicates the sec- ond item; and so on. A value of 0 (zero) specifies the last item in the list. x Specifies a pointer to the returned x-coordinate of the item. y Specifies the pointer to the returned y-coordinate of the item. width Specifies the pointer to the returned width of the item. height Specifies the pointer to the returned height of the item. 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 func- tion returns True. RELATED
XmList(3) and XmListYToPos(3). XmListPosToBounds(library call)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies