Objectives
This section gives an overview of
hush, a hyper utility shell
library.
Hush provides a powerful and flexible
toolkit that allows programming in C++
as well as in the script
language Tcl.
It is presented as an example of a
multi-paradigm approach to
hypermedia development.
Points to emphasize
- hush -- a C++ API for Tcl/Tk
- handlers -- C++ binding to actions and events
- events -- interactions with the user
- widgets -- graphical interface development
- hypertext -- embedded widget commands
Hints
For an overview of the hush widget classes see
appendix [hush-man].
Question
- What is your opinion
on combining C++ with scripts
written in an interpreted language?
Explain your point of view.
Comments
There are many alternative solutions
for combining objects and callbacks.
Discuss the trade-offs between using
functions as callbacks and objects with a
designated member function.