]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/src/bbwtRadioButton.h~
#3037 creaWT Bug New Normal - AddMesh update
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtRadioButton.h~
1 //===== 
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)
3 //===== 
4 #ifdef _USE_WT_
5 #ifndef __bbwtRadioButton_h_INCLUDED__
6 #define __bbwtRadioButton_h_INCLUDED__
7 #include "bbwt_EXPORT.h"
8 #include "bbtkWtBlackBox.h"
9
10 namespace bbwt
11 {
12
13 class bbwt_EXPORT RadioButton
14  : 
15    public bbtk::WtBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(RadioButton,bbtk::WtBlackBox);
18 //===== 
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)
20 //===== 
21     BBTK_DECLARE_INPUT(In,int);
22     BBTK_DECLARE_INPUT(In0,std::string);
23     BBTK_DECLARE_INPUT(In1,std::string);
24     BBTK_DECLARE_INPUT(In2,std::string);
25     BBTK_DECLARE_INPUT(In3,std::string);
26     BBTK_DECLARE_INPUT(In4,std::string);
27     BBTK_DECLARE_INPUT(In5,std::string);
28     BBTK_DECLARE_INPUT(In6,std::string);
29     BBTK_DECLARE_INPUT(In7,std::string);
30     BBTK_DECLARE_INPUT(In8,std::string);
31     BBTK_DECLARE_INPUT(In9,std::string);
32     BBTK_DECLARE_INPUT(Title,std::string);
33     BBTK_DECLARE_OUTPUT(Out,int);
34   BBTK_PROCESS(Process);
35   void Process();
36   BBTK_CREATE_WIDGET(CreateWidget);
37   void CreateWidget(wxWindow*);
38 //===== 
39 // 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)
40 //===== 
41 };
42
43 BBTK_BEGIN_DESCRIBE_BLACK_BOX(RadioButton,bbtk::WtBlackBox);
44 BBTK_NAME("RadioButton");
45 BBTK_AUTHOR("JohannGONZALEZ");
46 BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - RadioButton widget for WT web apps.");
47 BBTK_CATEGORY("__CategoryBlackBox__");
48   BBTK_INPUT(RadioButton,In,"Set initial item",int,"");
49
50   BBTK_INPUT(RadioButton,In0,"option 0",std::string,"");
51   BBTK_INPUT(RadioButton,In1,"option 1",std::string,"");
52   BBTK_INPUT(RadioButton,In2,"option 2",std::string,"");
53   BBTK_INPUT(RadioButton,In3,"option 3",std::string,"");
54   BBTK_INPUT(RadioButton,In4,"option 4",std::string,"");
55   BBTK_INPUT(RadioButton,In5,"option 5",std::string,"");
56   BBTK_INPUT(RadioButton,In6,"option 6",std::string,"");
57   BBTK_INPUT(RadioButton,In7,"option 7",std::string,"");
58   BBTK_INPUT(RadioButton,In8,"option 8",std::string,"");
59   BBTK_INPUT(RadioButton,In9,"option 9",std::string,"");
60
61   BBTK_INPUT(RadioButton,Title,"Title of the widget (default '') ",
62              std::string,"");
63
64   BBTK_OUTPUT(RadioButton,Out,"Item selected",int,"");
65 BBTK_END_DESCRIBE_BLACK_BOX(RadioButton);
66 //===== 
67 // 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)
68 //===== 
69 }
70 // EO namespace bbwt
71
72 #endif // __bbwtRadioButton_h_INCLUDED__
73 #endif // _USE_WXWIDGETS_
74