29#include <FL/Fl_Group.H>
30#include <sptk5/Strings.h>
31#include <sptk5/gui/CLayoutClient.h>
32#include <sptk5/gui/CLayoutManager.h>
82 explicit CGroup(
const char* label =
nullptr,
int layoutSize = 10,
85#ifdef __COMPATIBILITY_MODE__
94 CGroup(
int x,
int y,
int w,
int h,
const char* label = 0L);
109 void resize(
int x,
int y,
int w,
int h)
override;
SPTK group widget.
Definition: CGroup.h:50
void drawClipped(bool drawClipped)
static CLayoutClient * creator(const xdoc::SNode &node)
Creates a widget based on the XML node information.
void ctor_init(const char *label)
void clear() override
Removes all the widgets inside the group.
Definition: CGroup.h:122
String className() const override
Returns widget class name (internal SPTK RTTI).
Definition: CGroup.h:146
CGroup(const char *label=nullptr, int layoutSize=10, CLayoutAlign layoutAlign=CLayoutAlign::TOP)
const String & label() const override
Returns the current label.
Definition: CGroup.h:130
bool preferredSize(int &w, int &h) override
void resize(int x, int y, int w, int h) override
Definition: CLayoutClient.h:82
virtual const String & label() const
Definition: CLayoutClient.h:213
Layout Manager.
Definition: CLayoutManager.h:103
CLayoutAlign
Definition: CLayoutClient.h:44