Program: bbtk
Module: $RCSfile: bbwxCommandButton.h,v $
Language: C++
- Date: $Date: 2008/02/15 12:47:18 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/05/07 13:14:49 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
class /*BBTK_EXPORT*/ CommandButton : public bbtk::WxBlackBox
{
friend class CommandButtonWidget;
- BBTK_USER_BLACK_BOX_INTERFACE(CommandButton,bbtk::WxBlackBox);
+ BBTK_BLACK_BOX_INTERFACE(CommandButton,bbtk::WxBlackBox);
BBTK_DECLARE_INPUT(In, std::string );
BBTK_DECLARE_INPUT(Label, std::string );
BBTK_DECLARE_INPUT(Colour, std::vector<double> );
typedef std::vector<double> vectorcolour;
- BBTK_INPUT(CommandButton,In,"Commands to be executed separated by commas (;). Each single quote (') is replaced by a double quote (\").",std::string);
- BBTK_INPUT(CommandButton,Label,"Label of the button",std::string);
- BBTK_INPUT(CommandButton,Colour,"Colour of the button (-1 -1 -1 Background)",vectorcolour);
+ BBTK_INPUT(CommandButton,In,"Commands to be executed separated by commas (;). Each single quote (') is replaced by a double quote (\").",std::string,"");
+ BBTK_INPUT(CommandButton,Label,"Label of the button",std::string,"");
+ BBTK_INPUT(CommandButton,Colour,"Colour of the button (-1 -1 -1 Background)",vectorcolour,"colour");
// BBTK_OUTPUT(CommandButton,Out,"..Out..",int);
BBTK_END_DESCRIBE_BLACK_BOX(CommandButton);
//=================================================================