Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmlistselectpos(3x) [osf1 man page]

XmListSelectPos(3X)													       XmListSelectPos(3X)

NAME
XmListSelectPos - A List function that selects an item at a specified position in the list SYNOPSIS
#include <Xm/List.h> void XmListSelectPos (widget, position, notify) Widget widget; int position; Boolean notify; DESCRIPTION
XmListSelectPos highlights a List item at the specified position and adds it to the list of selected items. Specifies the ID of the List widget. Specifies the position of the item to be selected. A value of 1 indicates that the first item in the list is selected; a value of 2 indicates that the second item is selected; and so on. A value of 0 indicates that the last item in the list is selected. Specifies a Boolean value that when True invokes the selection callback for the current mode. From an application interface view, calling this func- tion with notify True is indistinguishable from a user-initiated selection action. For a complete definition of List and its associated resources, see XmList(3X). SEE ALSO
XmList(3X) XmListSelectPos(3X)

Check Out this Related Man Page

XmListReplacePositions(3X)												XmListReplacePositions(3X)

NAME
XmListReplacePositions - A List function that replaces items in a list based on position SYNOPSIS
#include <Xm/List.h> void XmListReplacePositions (widget, position_list, item_list, item_count) Widget widget; int *position_list; XmString *item_list; int item_count; DESCRIPTION
XmListReplacePositions replaces noncontiguous items in a list. The item at each position specified in position_list is replaced with the corresponding entry in item_list. When the items are inserted into the list, they are compared with the current XmNselectedItems list. Any of the new items that match items on the selected list appears selected. A warning message is displayed if a specified position is invalid; that is, the value is 0, a negative integer, or a number greater than the number of items in the list. Specifies the ID of the List widget. Specifies an array of the positions of items to be replaced. The position of the first item in the list is 1; the position of the second item is 2; and so on. Specifies an array of the replacement items. Specifies the number of elements in position_list and item_list. This number must be non-negative. For a complete definition of List and its associated resources, see XmList(3X). SEE ALSO
XmList(3X) XmListReplacePositions(3X)
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