This site's content was compiled from 1993 to 2006. Beyond that, Google is your friend.

Gweld-TclTk

Maintainer

Roy Phillips

Description

This cluster provides an interface to the Tcl/Tk interpreter & library.

It is intended to give access to all Tcl/Tk features (widgets and their options) from Eiffel, without the need to create Tcl-specific strings in the Eiffel code.

Categories

Versions

Links

Details

The philosophy behind Graphical Widget Eiffel Library D (Gweld) is to concentrate on the purpose of a widget/control and not on its physical implementation. It is intended that widgets that have certain characteristic should be able to be swapped with each other: for example, a field for a number could be replaced with a spin-button, provided the interface and contract remains unchanged. With this in mind, Gweld-TclTk tries to implement an interface to Tcl/Tk that reflects the structure of Tcl/Tk, leaving it up to Gweld to make the interface simpler and to provide more advanced features (such as auto-layout).

How Gweld-TclTk works

To program the Tcl/Tk environment, Gweld-TclTk generates textual commands and sends them to the interpreter. Communications of values is achieved by creating variables in the interpreter’s namespace, and setting or querying them. Fields have a variable associated with them, enabling edited values to be accessed. Widgets that instigate commands can be set to call back into the Eiffel system.

Tcl/Tk extension libraries (e.g. Tix) are used to provide more sophisticated widgets, such as Notebooks, Combo-boxes etc.

Supported compilers

Platforms

Licensing

Dependencies

Google
 
Web eiffelzone.com