]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxInputTextMultiLine.h
#3234 BBTK Feature New Normal - InputText with password option
[bbtk.git] / packages / wx / src / bbwxInputTextMultiLine.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 __bbwxInputTextMultiLine_h_INCLUDED__
6 #define __bbwxInputTextMultiLine_h_INCLUDED__
7
8 #include "bbwx_EXPORT.h"
9 #include "bbtkWxBlackBox.h"
10
11 namespace bbwx
12 {
13
14 class bbwx_EXPORT InputTextMultiLine
15  : 
16    public bbtk::WxBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(InputTextMultiLine,bbtk::WxBlackBox);
19 //===== 
20 // 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 //===== 
22     BBTK_DECLARE_INPUT(In,std::string);
23     BBTK_DECLARE_INPUT(Title,std::string);
24     BBTK_DECLARE_INPUT(ReactiveOnKeystroke,int);
25     BBTK_DECLARE_OUTPUT(Out,std::string);
26
27   BBTK_PROCESS(Process);
28   void Process();
29   BBTK_CREATE_WIDGET(CreateWidget);
30   void CreateWidget(wxWindow*);
31
32   private:
33           bool firsttime;
34
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(InputTextMultiLine,bbtk::WxBlackBox);
41   BBTK_NAME("InputTextMultiLine");
42   BBTK_AUTHOR("Info-Dev");
43   BBTK_DESCRIPTION("No Description.");
44   BBTK_CATEGORY("__CategoryBlackBox__");
45
46   BBTK_INPUT(InputTextMultiLine,In,"Initial text (default '')",std::string,"");
47   BBTK_INPUT(InputTextMultiLine,Title,"Title of the input zone (default '') ", std::string,"");
48   BBTK_INPUT(InputTextMultiLine,ReactiveOnKeystroke,"0 not event generated, 1 Enter event genereated, 2 All keys, (default '2') ", int,"");
49   BBTK_OUTPUT(InputTextMultiLine,Out,"Current text",std::string,"");
50
51
52 BBTK_END_DESCRIBE_BLACK_BOX(InputTextMultiLine);
53 //===== 
54 // 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)
55 //===== 
56 }
57 // EO namespace bbwx
58
59 #endif // __bbwxInputTextMultiLine_h_INCLUDED__
60 #endif // _USE_WXWIDGETS_
61