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 __bbwxComboBox_h_INCLUDED__
6 #define __bbwxComboBox_h_INCLUDED__
7 #include "bbwx_EXPORT.h"
8 #include "bbtkWxBlackBox.h"
13 class bbwx_EXPORT ComboBox
15 public bbtk::WxBlackBox
17 BBTK_BLACK_BOX_INTERFACE(ComboBox,bbtk::WxBlackBox);
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(Selection, int );
23 BBTK_DECLARE_INPUT(In,std::vector< std::string >);
24 BBTK_DECLARE_INPUT(Form, int );
25 BBTK_DECLARE_INPUT(Deselect, bool );
27 BBTK_DECLARE_OUTPUT(Out, int );
28 BBTK_DECLARE_OUTPUT(OutString, std::string );
30 BBTK_PROCESS(Process);
32 BBTK_CREATE_WIDGET(CreateWidget);
33 void CreateWidget(wxWindow*);
35 // 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)
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ComboBox,bbtk::WxBlackBox);
40 BBTK_NAME("ComboBox");
41 BBTK_AUTHOR("Info-Dev");
42 BBTK_DESCRIPTION("No Description.");
43 BBTK_CATEGORY("__CategoryBlackBox__");
45 BBTK_INPUT(ComboBox,Title,"Title prepended to the text",std::string,"");
46 BBTK_INPUT(ComboBox,Selection,"i element to be selected (default 0)",int,"");
47 BBTK_INPUT(ComboBox,In,"Vector of strings",std::vector< std::string >,"");
48 BBTK_INPUT(ComboBox,Form,"0 Combobox, 1 List (default 0)",int,"");
49 BBTK_INPUT(ComboBox,Deselect,"(default false) Just for List form",bool,"");
51 BBTK_OUTPUT(ComboBox,Out,"i Item selected",int,"");
52 BBTK_OUTPUT(ComboBox,OutString,"string Item selected",std::string,"");
54 BBTK_END_DESCRIBE_BLACK_BOX(ComboBox);
56 // 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)
61 #endif // __bbwxComboBox_h_INCLUDED__
62 #endif // _USE_WXWIDGETS_