D.A.B.Tv0.0.17 Tutorial API DABT Tools ↗ GitHub ↗

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_change function.
  • For a button or checkbox caption use tui.set_label; VALUE is not the caption.

Example

tui.update inp_name ""          # clear an input
tui.update chk_wrap 1           # check a checkbox without running its action