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

Public Methods | |
| BtGuiMenuVariable (const BtGuiTkInterpreter &interf, const String &varName="") | |
| ~BtGuiMenuVariable () | |
| void | setMenuItem (MenuItemBase &menu) |
| void | setTkWidget (BtGuiWidget &widget) |
| void | enable () |
| void | disable () |
| virtual void | updateValue () |
NAME: BtGuiMenuVariable -
DESCRIPTION:
Special version of "BtGuiVariable" tailored at handling menu items. Each such variable has a handle to a "MenuItemBase" object and a corresponding "BtGuiWidget" for its GUI representation.
|
|
See class "BtGuiVariable". |
|
|
|
|
|
disable the menu item, i.e., make it visible (unselectable) to the user. |
|
|
enable the menu item, i.e., make it visible (selectable) to the user. |
|
|
connect a "MenuItemBase" object. |
|
|
connect a "BtGuiWidget". |
|
|
update the buffered value by inquiring the Tcl/Tk interpreter. Reimplemented from BtGuiVariable. |