Render a complete UI given a spec for a window with child elements

render_ui(spec, parent = NULL)

Arguments

spec

UI spec as created using tic_window(), tic_button() etc

parent

parent object. The default 'NULL' value is only allowed for tic_window() objects. Otherwise this should be a tclObj holding a reference to a window. TODO: parent could also be something else done by a render_ui call?

Value

a nested named list of tcl objects making up the UI. For advanced users that want to do low-level manipulation of the window, these tclObj objects are a key argument to functions in the tcltk package. The key side effect of this function is that a tcl/tk window will be opened and rendered to this specficiation.