BtGuiNoteBook -
include "BtGuiNoteBook.h"
class BtGuiNoteBook : public virtual BtGuiWidget
{
List(BtGuiFrame,ListItemHandle) page_list_;
BtGuiFrame* findPage(const String& name) const;
Handle(BtGuiFrame) nb_frame;
static int page_counter;
public:
BtGuiNoteBook(const BtGuiTkInterpreter& interf, const String& name="");
BtGuiNoteBook(const BtGuiTkInterpreter& interf, const BtGuiWidget& parent,
const String& name="");
~BtGuiNoteBook();
virtual bool create();
// Add new pages
BtGuiFrame* newPage(const String& label="");
// Get subwidgets
inline const BtGuiFrame* getPage(const String& name) const;
inline BtGuiFrame* getPage(const String& name);
inline const BtGuiFrame* getNBFrame() const;
inline BtGuiFrame* getNBFrame();
};
Trond Vidar Stensby, SINTEF Applied Mathematics