//===== // 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) //===== #ifdef _USE_WT_ #ifndef __bbwtComboBox_h_INCLUDED__ #define __bbwtComboBox_h_INCLUDED__ #include "bbwt_EXPORT.h" #include "bbtkWtBlackBox.h" namespace bbwt { class bbwt_EXPORT ComboBox : public bbtk::WtBlackBox { BBTK_BLACK_BOX_INTERFACE(ComboBox,bbtk::WtBlackBox); //===== // 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) //===== BBTK_DECLARE_INPUT(Title,std::string); BBTK_DECLARE_INPUT(Selection, int ); BBTK_DECLARE_INPUT(In,std::vector< std::string >); BBTK_DECLARE_INPUT(Form,int); BBTK_DECLARE_OUTPUT(Out, int ); BBTK_DECLARE_OUTPUT(OutString, std::string ); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(Wt::WContainerWidget*); //===== // 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) //===== }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ComboBox,bbtk::WtBlackBox); BBTK_NAME("ComboBox"); BBTK_AUTHOR("JohannGonzalez"); BBTK_DESCRIPTION("gonzalez@creatis.insa-lyon.fr - ComboBox widget for wt webapps."); BBTK_CATEGORY("__CategoryBlackBox__"); BBTK_INPUT(ComboBox,Title,"Title prepended to the text",std::string,""); BBTK_INPUT(ComboBox,Selection,"i element to be selected (default 0)",int,""); BBTK_INPUT(ComboBox,In,"Vector of strings",std::vector< std::string >,""); BBTK_INPUT(ComboBox,Form,"0 Combobox, 1 List (default 0)",int,""); BBTK_OUTPUT(ComboBox,Out,"i Item selected",int,""); BBTK_OUTPUT(ComboBox,OutString,"string Item selected",std::string,""); BBTK_END_DESCRIBE_BLACK_BOX(ComboBox); //===== // 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) //===== } // EO namespace bbwt #endif // __bbwtComboBox_h_INCLUDED__ #endif // _USE_WXWIDGETS_