00001 00005 class BtGuiMenuVariable : public virtual BtGuiVariable 00006 00007 { 00008 Handle(MenuItemBase) menu_item_; 00009 BtGuiWidget* tk_widget_; 00010 00011 public: 00012 BtGuiMenuVariable(const BtGuiTkInterpreter& interf, 00013 const String& varName=""); 00014 ~BtGuiMenuVariable(); 00015 00016 void setMenuItem(MenuItemBase& menu); 00017 void setTkWidget(BtGuiWidget& widget); 00018 00019 void enable(); 00020 void disable(); 00021 00022 virtual void updateValue(); 00023 }; 00024 00025