Next: xmlistsubr, Previous: xmlistfunc, Up: Internal Routines [Contents][Index]
xmlistselect, widget, position [, callback_flag]
[motif package]
Selects or unselects the indicated position
in the list widget
. If callback_flag
is equal
to 0, then the position is made unselected (i.e., no longer in reverse
video), and the callback is not executed. If callback_flag
is positive, then the selected item is displayed in reverse video and
the associated callback is executed. The selected item’s index in the
list is then returned in $LIST_item_position
(starting counting
at 1), and the selected item’s value is returned in $LIST_item
.