]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxComboBox.h
2d59f16f14d9282b22c761aa6018c4f82d30d84d
[bbtk.git] / packages / wx / src / bbwxComboBox.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_WXWIDGETS_
5 #ifndef __bbwxComboBox_h_INCLUDED__
6 #define __bbwxComboBox_h_INCLUDED__
7 #include "bbwx_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
9
10 namespace bbwx
11 {
12
13 class bbwx_EXPORT ComboBox
14  : 
15    public bbtk::WxBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(ComboBox,bbtk::WxBlackBox);
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(Title,std::string);
22   BBTK_DECLARE_INPUT(Selection, int );
23   BBTK_DECLARE_INPUT(In,std::vector< std::string >);
24   BBTK_DECLARE_OUTPUT(Out, int );
25   BBTK_DECLARE_OUTPUT(OutString, std::string );
26   BBTK_PROCESS(Process);
27   void Process();
28   BBTK_CREATE_WIDGET(CreateWidget);
29   void CreateWidget(wxWindow*);
30 //===== 
31 // 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)
32 //===== 
33 };
34
35 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ComboBox,bbtk::WxBlackBox);
36         BBTK_NAME("ComboBox");
37         BBTK_AUTHOR("Info-Dev");
38         BBTK_DESCRIPTION("No Description.");
39         BBTK_CATEGORY("__CategoryBlackBox__");
40         BBTK_INPUT(ComboBox,Title,"Title prepended to the text",std::string,"");
41         BBTK_INPUT(ComboBox,Selection,"i element to be selected (default 0)",int,"");
42         BBTK_INPUT(ComboBox,In,"Vector of strings",std::vector< std::string >,"");
43
44    BBTK_OUTPUT(ComboBox,Out,"i Item selected",int,"");
45    BBTK_OUTPUT(ComboBox,OutString,"string Item selected",std::string,"");
46
47 BBTK_END_DESCRIBE_BLACK_BOX(ComboBox);
48 //===== 
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)
50 //===== 
51 }
52 // EO namespace bbwx
53
54 #endif // __bbwxComboBox_h_INCLUDED__
55 #endif // _USE_WXWIDGETS_
56