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 __bbwtInputText_h_INCLUDED__
6 #define __bbwtInputText_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
13 class bbwt_EXPORT InputText
15 public bbtk::WtBlackBox
17 BBTK_BLACK_BOX_INTERFACE(InputText,bbtk::WtBlackBox);
19 // 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)
21 BBTK_DECLARE_INPUT(Title,std::string);
22 BBTK_DECLARE_INPUT(In,std::string);
23 BBTK_DECLARE_INPUT(ReactiveOnKeystroke,int);
24 BBTK_DECLARE_OUTPUT(Out,std::string);
25 BBTK_PROCESS(Process);
27 BBTK_CREATE_WIDGET(CreateWidget);
28 void CreateWidget(Wt::WContainerWidget*);
30 // 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)
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(InputText,bbtk::WtBlackBox);
37 BBTK_NAME("InputText");
38 BBTK_AUTHOR("JohannGONZALEZ");
39 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - InputText widget implemented with wt.");
40 BBTK_CATEGORY("__CategoryBlackBox__");
41 BBTK_INPUT(InputText,Title,"Title prepended to the text",std::string,"");
43 BBTK_INPUT(InputText,In,"Text",std::string,"");
44 BBTK_INPUT(InputText,ReactiveOnKeystroke,"0 not event generated, 1 Enter event genereated, 2 All keys, (default '2') ", int,"");
46 BBTK_OUTPUT(InputText,Out,"Current text",std::string,"");
47 BBTK_END_DESCRIBE_BLACK_BOX(InputText);
49 // 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)
54 #endif // __bbwtInputText_h_INCLUDED__
55 #endif // _USE_WXWIDGETS_