tui.update
tui.update ID VALUE
Sets a widget’s value and redraws the widget.
Notes
- Does not call the widget’s action or
on_changefunction. - For a button or checkbox caption use
tui.set_label;VALUEis not the caption.
Example
tui.update inp_name "" # clear an input
tui.update chk_wrap 1 # check a checkbox without running its action
