//===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== #ifdef _USE_WT_ #ifndef __bbwtCommandButton_h_INCLUDED__ #define __bbwtCommandButton_h_INCLUDED__ #include "bbwt_EXPORT.h" #include "bbtkWtBlackBox.h" namespace bbwt { class bbwt_EXPORT CommandButton : public bbtk::WtBlackBox { friend class CommandButtonWidget; BBTK_BLACK_BOX_INTERFACE(CommandButton,bbtk::WtBlackBox); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== BBTK_DECLARE_INPUT(Label,std::string); BBTK_DECLARE_INPUT(In,std::string); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(Wt::WContainerWidget*); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== private: void UpdateLabel(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(CommandButton,bbtk::WtBlackBox); BBTK_NAME("CommandButton"); BBTK_AUTHOR("JohannGONZALEZ"); BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Command button implemented for web apps with wt library."); BBTK_CATEGORY("__CategoryBlackBox__"); BBTK_INPUT(CommandButton,Label,"Label prepended to the button",std::string,""); BBTK_INPUT(CommandButton,In,"Text",std::string,""); BBTK_END_DESCRIBE_BLACK_BOX(CommandButton); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== } // EO namespace bbwt #endif // __bbwtCommandButton_h_INCLUDED__ #endif // _USE_WXWIDGETS_