]> Creatis software - bbtk.git/blob - packages/wx/src/bbwxInputTextPassword.h
#3472 merge vtk8itk5wx3-mingw64
[bbtk.git] / packages / wx / src / bbwxInputTextPassword.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 __bbwxInputTextPassword_h_INCLUDED__
6 #define __bbwxInputTextPassword_h_INCLUDED__
7
8 #include "bbwx_EXPORT.h"
9 #include "bbtkWxBlackBox.h"
10
11 namespace bbwx
12 {
13
14 class bbwx_EXPORT InputTextPassword
15  : 
16    public bbtk::WxBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(InputTextPassword,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);  BBTK_PROCESS(Process);
26   void Process();
27   BBTK_CREATE_WIDGET(CreateWidget);
28   void CreateWidget(wxWindow*);
29
30
31   private:
32           bool firsttime;
33
34
35
36 //===== 
37 // 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)
38 //===== 
39 };
40
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(InputTextPassword,bbtk::WxBlackBox);
42   BBTK_NAME("InputTextPassword");
43   BBTK_AUTHOR("Info-Dev");
44   BBTK_DESCRIPTION("A zone in which the user can enter a text (wxTextCtrl)");
45   BBTK_CATEGORY("__CategoryBlackBox__");
46
47   BBTK_INPUT(InputTextPassword,In,"Initial text (default '')",std::string,"");
48   BBTK_INPUT(InputTextPassword,Title,"Title of the input zone (default '') ", std::string,"");
49   BBTK_INPUT(InputTextPassword,ReactiveOnKeystroke,"0 not event generated, 1 Enter event genereated, 2 All keys, (default '2') ", int,"");
50   BBTK_OUTPUT(InputTextPassword,Out,"Current text",std::string,"");
51
52 BBTK_END_DESCRIBE_BLACK_BOX(InputTextPassword);
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 // __bbwxInputTextPassword_h_INCLUDED__
60 #endif // _USE_WXWIDGETS_
61