#include <BtGuiVariable.h>
Inheritance diagram for BtGuiVariable::

Public Methods | |
| BtGuiVariable (const BtGuiTkInterpreter &interf, const String &varName="") | |
| ~BtGuiVariable () | |
| String | variableName () const |
| void | setValue (const String &value) |
| String | getValue () |
| virtual void | createVariable () |
| virtual void | updateValue () |
NAME: BtGuiVariable - Representation of a Tcl/Tk variable
DESCRIPTION:
This class provides a C++ interface to a Tcl/Tk variable used by the menu system''s GUI.
|
|
There is one constructor accepting a pointer to the Tk interpreter object, and the Tcl/Tk name of the variable. |
|
|
|
|
|
register the variable in the Tcl/Tk interpreter. |
|
|
return the buffered value for the Tcl/Tk variable. |
|
|
set a value for the Tcl/Tk variable, affects local copy and the interpreter. |
|
|
update the buffered value by inquiring the Tcl/Tk interpreter. Reimplemented in BtGuiMenuVariable. |
|
|
return the name of the Tcl/Tk variable. |