next up previous contents
Next: The Toolkit Up: A Short Introduction to Previous: Focus

Tix and Tix Widgets

 

http://tix.sourceforge.net Tix (the Tk Interface eXtension) is an enhanced version of Tcl/Tk; in particular, it replaces Tcl/Tk's rustic default looks by something a bit more modern, and it has a lot more widgets built in.

To use tix, you pass the compiled program the command line option -uni-wish=tixwish (where tixwish is the name of Tix' wish; try which tixwish at the command line, and if that says command not found in whatever language your shell is configured to talk to you to, you are out of luck I am afraid.) Thus, the source code does not change; Tix is a conservative extension of Tcl/Tk.

To find out whether the HTKprogram is currently running under a Tix wish, use the function isTixAvailable:: IO Bool; a return value True indicates Tix.

Here is an overview over the Tix widgets encapsulated by HTK:

  
Figure 6: Tix Widgets

Fig. 6 shows notebooks, labelled frames and a combo box.

There are many more Tix widgets, but we have found not all of them as immediately useful as the ones above. Feel free to encapsulate more (it should not be too hard). However, if you want to use Tix' tree widgets, consider using the tree list from the toolkit (see below), which is much nicer.


next up previous contents
Next: The Toolkit Up: A Short Introduction to Previous: Focus

Christoph Lueth
Wed May 29 13:20:38 MEST 2002