X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fwx%2Fsrc%2FbbwxComboBox.h;h=776a89f6a66bcd9bfdf3077e12004af2f94da249;hb=46d7aa1e632342deddf3844a57c1460da9f20b13;hp=a1182f9d42588823db4d5b1fffba5ebb6f67f761;hpb=427d8c0ac838ab789a57b28f62a7f9ff243e7b60;p=bbtk.git diff --git a/packages/wx/src/bbwxComboBox.h b/packages/wx/src/bbwxComboBox.h index a1182f9..776a89f 100644 --- a/packages/wx/src/bbwxComboBox.h +++ b/packages/wx/src/bbwxComboBox.h @@ -22,8 +22,11 @@ class bbwx_EXPORT ComboBox BBTK_DECLARE_INPUT(Selection, int ); BBTK_DECLARE_INPUT(In,std::vector< std::string >); BBTK_DECLARE_INPUT(Form, int ); + BBTK_DECLARE_INPUT(Deselect, bool ); + BBTK_DECLARE_OUTPUT(Out, int ); BBTK_DECLARE_OUTPUT(OutString, std::string ); + BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); @@ -38,13 +41,15 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ComboBox,bbtk::WxBlackBox); BBTK_AUTHOR("Info-Dev"); BBTK_DESCRIPTION("No Description."); 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_INPUT(ComboBox,Deselect,"(default false) Just for List form",bool,""); - BBTK_OUTPUT(ComboBox,Out,"i Item selected",int,""); - BBTK_OUTPUT(ComboBox,OutString,"string Item selected",std::string,""); + BBTK_OUTPUT(ComboBox,Out,"i Item selected",int,""); + BBTK_OUTPUT(ComboBox,OutString,"string Item selected",std::string,""); BBTK_END_DESCRIBE_BLACK_BOX(ComboBox); //=====