|
Xm/XmListPosSelected(o) -- A List function that determines if the list item at a specified position is selected
|
XmPosSelected determines if the list item at the specified position is selected or not. widget Specifies the ID of the List widget position Specifies the position of the list item. 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 specifies the last item in the list. For a complete definition of List and its associated resources, see XmList(3X).... |
Xm/XmListPosToBounds(o) -- A List function that returns the bounding box of an item at a specified position in a list
|
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. widget Specifies the ID of the List widget. ... |
|
Xm/XmListReplaceItems(o) -- A List function that replaces the specified elements in the list
|
XmListReplaceItems replaces each specified item of the list with a corresponding new item. When the items are inserted into the list, they are compared with the current XmNselectedItems list. If any of the new items matches an item on the selected list, it appears selected. widget Specifies the ID of the List widget old_items Specifies the items to be replaced item_count Specifies the number of items in old_items and new_items This number must be non-negative. new_items Specifies the replacement... |
Xm/XmListReplaceItemsPos(o) -- A List function that replaces the specified elements in the list
|
XmListReplaceItemsPos replaces the specified number of items of the List with new items, starting at the specified position in the List. When the items are inserted into the list, they are compared with the current XmNselectedItems list. If any of the new items matches an item on the selected list, it appears selected. widget Specifies the ID of the List widget. new_items Specifies the replacement items. item_count Specifies the number of items in new_items and the number of items in the list to... |
Xm/XmListReplaceItemsPosUnselected(o) -- A List function that replaces items in a list without selecting the replacement items
|
XmListReplaceItemsPosUnselected replaces the specified number of items in the list with new items, starting at the given position. 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. new_items Specifies a pointer to the replacement items. item_count Specifies the number of elements in new_items and the number of items in the list to replace. This number must be non-negative. position ... |
Xm/XmListReplaceItemsUnselected(o) -- 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. This number must be non-negative. new_items Specifies a pointer to the replacement items. Every oc... |
Xm/XmListReplacePositions(o) -- 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 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 ... |
Xm/XmListSelectItem(o) -- 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 notify Specifies a Boolean value that when True invokes the selection callback for the current mode. From an application interface view, calling this function with notify True is indistinguishable from a userinitiated selection action. For a complete definiti... |
Xm/XmListSelectPos(o) -- 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 indicates that the last item in the list is selected. notify Specifies a Boolean value that when True invokes the selection callback for th... |
Xm/XmListSetAddMode(o) -- A List function that sets add mode in the list
|
XmListSetAddMode allows applications control over Add Mode in the extended selection model. widget Specifies the ID of the List widget state Specifies whether to activate or deactivate Add Mode. If state is True, Add Mode is activated. If state is False, Add Mode is deactivated. For a complete definition of List and its associated resources, see XmList(3X). |
Xm/XmListSetBottomItem(o) -- 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(3X). |
Xm/XmListSetBottomPos(o) -- 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 of 0 indicates that the last item in the list is the last visible item. For a complete definition of ... |
Xm/XmListSetHorizPos(o) -- 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 ID of the List widget position Specifies the horizontal position For a complete definition of List a... |
Xm/XmListSetItem(o) -- 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(3X). |
Xm/XmListSetKbdItemPos(o) -- 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 value of 0 sets the location cursor at the last item in the list. For a complete definition of List ... |