tui.select.pick
tui.select.pick ID INDEX
Chooses option INDEX (0-based) as if the user picked it: sets the value, redraws, then calls the on_change function and the action.
Returns: 1 for an index out of range.
D.A.B.Tv0.0.17
Tutorial
API
DABT Tools ↗
GitHub ↗
tui.select.picktui.select.pick ID INDEX
Chooses option INDEX (0-based) as if the user picked it: sets the value, redraws, then calls the on_change function and the action.
Returns: 1 for an index out of range.