2 // 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)
5 #ifndef __bbwtCommandButton_h_INCLUDED__
6 #define __bbwtCommandButton_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
13 class bbwt_EXPORT CommandButton
15 public bbtk::WtBlackBox
17 friend class CommandButtonWidget;
18 BBTK_BLACK_BOX_INTERFACE(CommandButton,bbtk::WtBlackBox);
20 // 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)
22 BBTK_DECLARE_INPUT(Label,std::string);
23 BBTK_DECLARE_INPUT(In,std::string);
24 BBTK_PROCESS(Process);
26 BBTK_CREATE_WIDGET(CreateWidget);
27 void CreateWidget(Wt::WContainerWidget*);
29 // 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)
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CommandButton,bbtk::WtBlackBox);
38 BBTK_NAME("CommandButton");
39 BBTK_AUTHOR("JohannGONZALEZ");
40 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Command button implemented for web apps with wt library.");
41 BBTK_CATEGORY("__CategoryBlackBox__");
42 BBTK_INPUT(CommandButton,Label,"Label prepended to the button",std::string,"");
43 BBTK_INPUT(CommandButton,In,"Text",std::string,"");
44 BBTK_END_DESCRIBE_BLACK_BOX(CommandButton);
46 // 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)
51 #endif // __bbwtCommandButton_h_INCLUDED__
52 #endif // _USE_WXWIDGETS_