tui.load
tui.load FILE
Parses a markup page and builds its panes and widgets through tui.* calls. Nothing is drawn.
Returns: 1 and a message on stderr when FILE can’t be read.
Notes
- Loads the framework’s default theme first, then the page’s
<theme>files. - Does not validate.
tui.startvalidates before loading; calltui.validate.filesyourself when loading pages another way. - Does not use the page cache and does not reset the current UI; use
tui.gototo switch pages.
