class Fl_Group : public Fl_Object

The Fl_Group is the FL "container" class. It maintains an array of "child" Fl_Objects. These children can themselves be Fl_Groups or Fl_Windows. The most important subclass of Fl_Group is Fl_Window itself. But groups can also be used to control radio buttons, or to do resize behavior.

Fl_Group(int,int,int,int, const char* = 0);

virtual ~Fl_Group();

int children() const;

Fl_Object* child(int n) const;

Fl_Object*const* array() const;

int find(const Fl_Object*) const;
int find(const Fl_Object&) const;

void add(Fl_Object&);
void add(Fl_Object*);

void begin();
void end();
static Fl_Group* current();
static void current(Fl_Group*);

void insert(Fl_Object&, int n);
void insert(Fl_Object&, Fl_Object* beforethis);

void remove(Fl_Object&);

void resize();

void resizable(Fl_Object*);
void resizable(Fl_Object&);
Fl_Group& add_resizable(Fl_Object&);
Fl_Object* resizable() const;

(back to contents)