29#include <sptk5/gui/CGroup.h>
30#include <sptk5/sptk.h>
57 int32_t m_autoColorIndex;
63 static const Fl_Color AutoColorTable[16];
68 void removeEmptyLastPage();
85#ifdef __COMPATIBILITY_MODE__
94 CTabs(
int x,
int y,
int w,
int h,
const char* label = 0);
107 virtual Fl_Group*
newPage(
const char* label,
bool autoColor);
114 virtual Fl_Group*
newScroll(
const char* label,
bool autoColor);
SPTK group widget.
Definition: CGroup.h:50
Definition: CLayoutClient.h:82
Tabs widget.
Definition: CTabs.h:48
void remove(Fl_Group *page)
Removes a page completely.
void pageNumber(uint32_t pageNumber)
Sets selected page by number.
virtual String className() const
Returns widget class name (internal SPTK RTTI).
Definition: CTabs.h:159
CTabs(const char *label=0L, int32_t layoutSize=10, CLayoutAlign layoutAlign=CLayoutAlign::TOP)
Constructor in SPTK style.
uint32_t pageCount() const
Returns tabs count.
static CLayoutClient * creator(const xdoc::SNode &node)
Creates a widget based on the XML node information.
virtual void prepareNewPage(Fl_Group *page, bool autoColor)
void showTabs(bool show)
Show/hide tabs flag.
virtual void draw()
Custom draw method.
virtual Fl_Group * newScroll(const char *label, bool autoColor)
Creates a new CScroll page.
virtual Fl_Group * newPage(const char *label, bool autoColor)
Creates a new CGroup page.
uint32_t pageNumber() const
Returns selected page number.
CLayoutAlign
Definition: CLayoutClient.h:44