In this section we briefly describe basic Tk commands and the way they work. The built-in Tk demo, which is also available via the ProTcXl predicate tk_demo/0 , offers a tour through the main widgets.