namespace bbwx
{
-
-
-
-
class bbwx_EXPORT LayoutTab : public bbtk::WxBlackBox
{
-
BBTK_BLACK_BOX_INTERFACE(LayoutTab,bbtk::WxBlackBox);
BBTK_DECLARE_INPUT(Widget1,wxWindow*);
BBTK_DECLARE_INPUT(Widget2,wxWindow*);
BBTK_DECLARE_INPUT(Widget8,wxWindow*);
BBTK_DECLARE_INPUT(Widget9,wxWindow*);
BBTK_DECLARE_INPUT(Orientation,std::string);
-
BBTK_DECLARE_OUTPUT(Selection,int);
-
BBTK_PROCESS(Process);
BBTK_CREATE_WIDGET(CreateWidget);
BBTK_ON_SHOW_WIDGET(OnShowWidget);
-
void Process();
void CreateWidget(wxWindow*);
void OnShowWidget();
-
protected:
void SetTitleTabs();
void TryInsertWindow(wxNotebook *book, const std::string& input);
-
};
-
//=================================================================
// BlackBox description
BBTK_BEGIN_DESCRIBE_BLACK_BOX(LayoutTab,bbtk::WxBlackBox);
BBTK_NAME("LayoutTab");
BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
- BBTK_DESCRIPTION("LayoutTab widget (wxNotebook) The label of each 'note book' will be the name of the object it contains");
+ BBTK_DESCRIPTION("(C++, Python) LayoutTab widget (wxNotebook) The label of each 'note book' will be the name of the object it contains");
// Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
BBTK_INPUT(LayoutTab,Widget1,"widget 1",wxWindow*,"");
BBTK_INPUT(LayoutTab,Widget2,"widget 2",wxWindow*,"");