Element: table_window.selected[ ]

numeric

Description

The "selected status" of rows/columns within table_window. The size of the array corresponds to the number of rows/columns in the major dimension.

This element has relevance only when the window has been created "selectable" via the -sel switch to the wtable command.

Each value of the array is a boolean value (1 or 0) and records whether or not a row/column is currently selected or de-selected. Changing one of the array values will select or deselect the corresponding row/ column.

For multiple selection table windows, more than one row/column may be currently selected. For single selection table windows only one row/ column may be selected at a time.

The table_window.current array may also be used to select or deselect rows/columns.

See Also

Structures:

window.current, window.select