BtGuiBase - Base class for widgets, variables and callbacks.
include "BtGuiBase.h"
class BtGuiBase : public virtual HandleId
{
BtGuiTkInterpreter* interf_;
public:
BtGuiBase(const BtGuiTkInterpreter& interf);
~BtGuiBase();
inline const BtGuiTkInterpreter& getGuiInterpreter() const;
inline BtGuiTkInterpreter& getGuiInterpreter();
};
gui interface, tcl/tk
This class is base class for BtGuiWidget, BtGuiVariable and BtGuiCallback. It only contains a pointer to the interpreter class.
This class has only one constructor. The constructor takes one argument, a reference to an interpreter class.
getGuiInterpreter --\ Returns a reference to the tcl-interpreter.
Trond Vidar Stensby, SINTEF Applied Mathematics