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 __bbwtwtCheckBox_h_INCLUDED__
6 #define __bbwtwtCheckBox_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
13 class bbwt_EXPORT CheckBox
15 public bbtk::WtBlackBox
17 BBTK_BLACK_BOX_INTERFACE(CheckBox,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(In,bool);
22 BBTK_DECLARE_INPUT(Title,std::string);
23 BBTK_DECLARE_INPUT(ReactiveOnKeystroke,int);
24 BBTK_DECLARE_OUTPUT(Out,bool);
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)
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(CheckBox,bbtk::WtBlackBox);
35 BBTK_NAME("CheckBox");
36 BBTK_AUTHOR("JohannGONZALEZ");
37 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - Checkbox web widget implemented in wt");
38 BBTK_CATEGORY("__CategoryBlackBox__");
39 BBTK_INPUT(CheckBox, Title,"Title shown above the CheckBox (default '') ", std::string,"");
40 BBTK_INPUT(CheckBox,ReactiveOnKeystroke,"0: no event generated when the checkbox is clicked on, 1: event generated when the checkbox is clicked on (default 1) ", int,"");
41 BBTK_INPUT(CheckBox,In,"Initial Value",bool,"");
42 BBTK_OUTPUT(CheckBox,Out,"Current Value",bool,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(CheckBox);
45 // 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)
50 #endif // __bbwtwtCheckBox_h_INCLUDED__
51 #endif // _USE_WXWIDGETS_