--- /dev/null
+/*=========================================================================
+
+ Program: bbtk
+ Module: $RCSfile: bbwxLayoutTab.h,v $
+ Language: C++
+ Date: $Date: 2008/02/19 18:31:36 $
+ Version: $Revision: 1.1 $
+
+ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
+ l'Image). All rights reserved. See Doc/License.txt or
+ http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
+
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the above copyright notices for more information.
+
+=========================================================================*//**
+ * \brief Short description in one line
+ *
+ * Long description which
+ * can span multiple lines
+ */
+/**
+ * \file
+ * \brief Pattern for the definition of a new type of Node (header)
+ */
+/**
+ * \class bbtk::NodePatern
+ * \brief Pattern for the definition of a new type of Node
+ */
+
+
+#ifdef _USE_WXWIDGETS_
+
+
+#ifndef __bbWxLayoutTab_h__
+#define __bbWxLayoutTab_h__
+
+#include "bbtkWxBlackBox.h"
+#include <wx/notebook.h>
+
+
+namespace bbwx
+{
+
+
+
+
+ class /*BBTK_EXPORT*/ LayoutTab : public bbtk::WxBlackBox
+ {
+
+ BBTK_USER_BLACK_BOX_INTERFACE(LayoutTab,bbtk::WxBlackBox);
+ BBTK_DECLARE_INPUT(Widget1,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget2,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget3,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget4,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget5,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget6,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget7,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget8,wxWindow*);
+ BBTK_DECLARE_INPUT(Widget9,wxWindow*);
+ BBTK_DECLARE_INPUT(Orientation,std::string);
+ BBTK_PROCESS(Process);
+ BBTK_CREATE_WIDGET(CreateWidget);
+
+ void Process();
+ void CreateWidget();
+
+ protected:
+ virtual void bbUserConstructor();
+ void TryInsertWindow(wxNotebook *book, wxWindow *widgetchild);
+
+ };
+
+
+//=================================================================
+// 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)");
+ // Already inserted for any WxBlackBox BBTK_CATEGORY("widget");
+ BBTK_INPUT(LayoutTab,Widget1,"widget 1",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget2,"widget 2",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget3,"widget 3",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget4,"widget 4",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget5,"widget 5",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget6,"widget 6",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget7,"widget 7",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget8,"widget 8",wxWindow*);
+ BBTK_INPUT(LayoutTab,Widget9,"widget 9",wxWindow*);
+ BBTK_INPUT(LayoutTab,Orientation,"Orientation (default T), 0=T=TOP , 1=R=RIGHT , 2=B=BOTTON , 3=L=LEFT " ,std::string);
+ BBTK_END_DESCRIBE_BLACK_BOX(LayoutTab);
+ //=================================================================
+
+
+
+}
+
+
+
+//namespace bbtk
+#endif //__bbtkWxSizer_h__
+
+#endif //_USE_WXWIDGETS_