numeric
The list of currently-selected rows/columns within table_window.
This element has relevance only when the window has been created "selectable" via the -sel switch to the wtable command.
For multiple selection table windows, the size of the array is determined by the number of rows/columns currently selected. The array may be modified to add or delete rows/columns from the list, thereby selecting or deselecting them.
For single selection table windows the size of the array is always 1 and contains either the index of the row/column currently selected, or 0 if no row/column is selected. It may be modified to select a new row/ column or may be given a value of 0 to deselect the currently selected row/column.
The table_window.selected array may also be used to select or deselect rows/columns.
Structures: |