|
XmListReplaceItemsUnselected(3) -- A List function that replaces items in a list
|
XmListReplaceItemsUnselected replaces each specified item in the list with a corresponding new item. The replacement items remain unselected, even if they currently appear in the XmNselectedItems list. widget Specifies the ID of the List widget to replace items in. old_items Specifies a pointer to the list items to be replaced. item_count Specifies the number of elements in old_items and new_items... |
XmListReplacePositions(3) -- A List function that replaces items in a list based on position
|
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 appear selected. A warning message is displayed if a specified positi... |
XmListSelectItem(3) -- A List function that selects an item in the list
|
XmListSelectItem highlights and adds to the selected list the first item in the list that matches item. widget Specifies the ID of the List widget from whose list an item is selected. item Specifies the item to be selected in the List widget. If item appears more than once in the List, only the first occurrence is matched. notify Specifies a Boolean value that when TRUE invokes the selection callb... |
XmListSelectPos(3) -- A List function that selects an item at a specified position in the list
|
XmListSelectPos highlights a List item at the specified position and adds it to the list of selected items. widget Specifies the ID of the List widget. position 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 (zero) indicates that the last item in ... |
XmListSetAddMode(3) -- A List function that sets add mode in the list
|
XmListSetAddMode allows applications control over Add Mode in the extended selection model. This function ensures that the mode it sets is compatible with the selection policy (XmNselectionPolicy) of the widget. For example, it cannot put the widget into add mode when the value of XmNselectionPolicy is XmBROWSE_SELECT. widget Specifies the ID of the List widget state Specifies whether to activate ... |
XmListSetBottomItem(3) -- A List function that makes an existing item the last visible item in the list
|
XmListSetBottomItem makes the first item in the list that matches item the last visible item in the list. widget Specifies the ID of the List widget from whose list an item is made the last visible item Specifies the item For a complete definition of List and its associated resources, see XmList(3). |
XmListSetBottomPos(3) -- A List function that makes a specified item the last visible item in the list
|
XmListSetBottomPos makes the item at the specified position the last visible item in the List. widget Specifies the ID of the List widget. position Specifies the position of the item to be made the last visible item in the list. A value of 1 indicates that the first item in the list is the last visible item; a value of 2 indicates that the second item is the last visible item; and so on. A value o... |
XmListSetHorizPos(3) -- A List function that scrolls to the specified position in the list
|
XmListSetHorizPos sets the XmNvalue resource of the horizontal ScrollBar to the specified position and updates the visible portion of the list with the new value if the List widget's XmNlistSizePolicy is set to XmCONSTANT or XmRESIZE_IF_POSSIBLE and the horizontal ScrollBar is currently visible. This is equivalent to moving the horizontal ScrollBar to the specified position. widget Specifies the ... |
XmListSetItem(3) -- A List function that makes an existing item the first visible item in the list
|
XmListSetItem makes the first item in the list that matches item the first visible item in the list. widget Specifies the ID of the List widget from whose list an item is made the first visible item Specifies the item For a complete definition of List and its associated resources, see XmList(3). |
XmListSetKbdItemPos(3) -- A List function that sets the location cursor at a specified position
|
XmListSetKbdItemPos sets the location cursor at the item specified by position. This function does not determine if the item at the specified position is selected or not. widget Specifies the ID of the List widget. position Specifies the position of the item at which the location cursor is set. A value of 1 indicates the first item in the list; a value of 2 indicates the second item; and so on. A ... |
XmListSetPos(3) -- A List function that makes the item at the given position the first visible position in the list
|
XmListSetPos makes the item at the given position the first visible position in the list. widget Specifies the ID of the List widget. position 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 ... |
XmListUpdateSelectedList(3) -- A List function that updates the XmNselectedItems resource
|
XmListUpdateSelectedList frees the contents of the current XmNselectedItems list. The routine traverses the XmNitems list and adds each currently selected item to the XmNselectedItems list. For each selected item, there is a corresponding entry in the updated XmNselectedItems list. widget Specifies the ID of the List widget to update For a complete definition of List and its associated resources, ... |
XmListYToPos(3) -- A List function that returns the position of the item
|
XmListYToPos returns the position of the item at the given ycoordinate 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 XmList(3). |