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 __bbwxButtonSelectFilesDirectory_h_INCLUDED__
6 #define __bbwxButtonSelectFilesDirectory_h_INCLUDED__
8 #include "bbwx_EXPORT.h"
9 #include "bbtkWxBlackBox.h"
14 class bbwx_EXPORT ButtonSelectFilesDirectory
16 public bbtk::WxBlackBox
18 BBTK_BLACK_BOX_INTERFACE(ButtonSelectFilesDirectory,bbtk::WxBlackBox);
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)
22 friend class ButtonSelectFilesDirectoryWidget;
24 BBTK_DECLARE_INPUT(Type,int);
25 BBTK_DECLARE_INPUT(Label,std::string);
26 BBTK_DECLARE_INPUT(Wildcard,std::string);
27 BBTK_DECLARE_INPUT(OpenSave,std::string);
28 BBTK_DECLARE_INPUT(Title,std::string);
29 BBTK_DECLARE_INPUT(Message,std::string);
30 BBTK_DECLARE_INPUT(DefaultDir,std::string);
31 BBTK_DECLARE_INPUT(DefaultFile,std::string);
32 BBTK_DECLARE_OUTPUT(Out,std::string);
33 BBTK_PROCESS(Process);
35 BBTK_CREATE_WIDGET(CreateWidget);
36 void CreateWidget(wxWindow*);
46 // 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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ButtonSelectFilesDirectory,bbtk::WxBlackBox);
51 BBTK_NAME("ButtonSelectFilesDirectory");
52 BBTK_AUTHOR("InfoDev");
53 BBTK_DESCRIPTION("No Description.");
54 BBTK_CATEGORY("__CategoryBlackBox__");
55 BBTK_INPUT(ButtonSelectFilesDirectory,Type,"(default 0) 0:Files 1:Directory",int,"");
56 BBTK_INPUT(ButtonSelectFilesDirectory,Label,"Label",std::string,"");
57 BBTK_INPUT(ButtonSelectFilesDirectory,Wildcard,"A wildcard, such as \"*.*\" or \"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif\"",std::string,"wildcard");
58 BBTK_INPUT(ButtonSelectFilesDirectory,OpenSave,"(Just for Type 0 -Files ) Open for an open dialog (default) / Save for a save dialog",std::string,"");
59 BBTK_INPUT(ButtonSelectFilesDirectory,Title,"Title of the dialog",std::string,"");
60 BBTK_INPUT(ButtonSelectFilesDirectory,Message,"Message to show on the dialog",std::string,"");
61 BBTK_INPUT(ButtonSelectFilesDirectory,DefaultDir,"The default directory",std::string,"");
62 BBTK_INPUT(ButtonSelectFilesDirectory,DefaultFile,"The default filename",std::string,"file name");
64 BBTK_OUTPUT(ButtonSelectFilesDirectory,Out,"File/Directory string",std::string,"");
65 BBTK_END_DESCRIBE_BLACK_BOX(ButtonSelectFilesDirectory);
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)
72 #endif // __bbwxButtonSelectFilesDirectory_h_INCLUDED__
73 #endif // _USE_WXWIDGETS_