Node:Loading the Library, Next:Creating a Tcl Interpreter, Up:Basic Functions
First we need to know how to load the Tcl/Tk library into Prolog. This is done through the use_module/1 predicate thus:
use_module/1
| ?- use_module(library(tcltk)).