The hypertext class

The hypertext widget may be used to display text with embedded Tcl code.
  interface hypertext : widget { 
\c{\fbox{hypertext}}
hypertext(char* p, char* options = ""); hypertext(widget* w, char* p, char* options = ""); void file(char* f);
\c{// to read in hypertext file}
};

slide: The {\em hypertext} class

Apart from the standard constructors, it offers the function file to read in a hypertext file. Such a hypertext file allows one to embed widgets in the text by inserting them in escape sequences.