41class FL_EXPORT Fl_Group :
public Fl_Widget {
44 Fl_Widget* savedfocus_;
45 Fl_Widget* resizable_;
50 static Fl_Group *current_;
53 Fl_Group(
const Fl_Group&);
54 Fl_Group& operator=(
const Fl_Group&);
70 static void current(Fl_Group *g);
84 int find(
const Fl_Widget& o)
const {
return find(&o);}
87 void resize(
int,
int,
int,
int);
92 Fl_Group(
int,
int,
int,
int,
const char * = 0);
105 void remove(
int index);
Fl_End()
All it does is calling Fl_Group::current()->end()
Definition Fl_Group.H:221
The Fl_Group class is the FLTK container widget.
Definition Fl_Group.H:41
void end()
Exactly the same as current(this->parent()).
Definition Fl_Group.cxx:75
void add_resizable(Fl_Widget &o)
Adds a widget to the group and makes it the resizable widget.
Definition Fl_Group.H:156
void add(Fl_Widget *o)
See void Fl_Group::add(Fl_Widget &w)
Definition Fl_Group.H:98
void add(Fl_Widget &)
The widget is removed from its current group (if any) and then added to the end of this group.
Definition Fl_Group.cxx:491
void focus(Fl_Widget *W)
Definition Fl_Group.H:188
Fl_Widget * child(int n) const
Returns array()[n].
Definition Fl_Group.H:79
void draw_child(Fl_Widget &widget) const
Forces a child to redraw.
Definition Fl_Group.cxx:768
int children() const
Returns how many child widgets the group has.
Definition Fl_Group.H:75
Fl_Widget *& _ddfdesign_kludge()
This is for forms compatibility only.
Definition Fl_Group.H:191
int * sizes()
Returns the internal array of widget sizes and positions.
Definition Fl_Group.cxx:590
void remove(Fl_Widget *o)
Removes the widget o from the group.
Definition Fl_Group.H:111
void draw_children()
Draws all children of the group.
Definition Fl_Group.cxx:715
void begin()
Sets the current group so you can build the widget tree by just constructing the widgets.
Definition Fl_Group.cxx:69
void update_child(Fl_Widget &widget) const
Draws a child only if it needs it.
Definition Fl_Group.cxx:754
void resizable(Fl_Widget &o)
See void Fl_Group::resizable(Fl_Widget *box)
Definition Fl_Group.H:117
Fl_Widget *const * array() const
Returns a pointer to the array of children.
Definition Fl_Group.cxx:44
int find(const Fl_Widget *) const
Searches the child array for the widget and returns the index.
Definition Fl_Group.cxx:52
void clip_children(int c)
Controls whether the group widget clips the drawing of child widgets to its bounding box.
Definition Fl_Group.H:168
unsigned int clip_children()
Returns the current clipping mode.
Definition Fl_Group.H:176
void insert(Fl_Widget &o, Fl_Widget *before)
This does insert(w, find(before)).
Definition Fl_Group.H:104
void draw_outside_label(const Fl_Widget &widget) const
Parents normally call this to draw outside labels of child widgets.
Definition Fl_Group.cxx:780
Fl_Widget * resizable() const
See void Fl_Group::resizable(Fl_Widget *box)
Definition Fl_Group.H:152
virtual Fl_Group * as_group()
Returns an Fl_Group pointer if this widget is an Fl_Group.
Definition Fl_Group.H:179
static Fl_Group * current()
Returns the currently active group.
Definition Fl_Group.cxx:84
void resizable(Fl_Widget *o)
The resizable widget defines the resizing box for the group.
Definition Fl_Group.H:148
int find(const Fl_Widget &o) const
See int Fl_Group::find(const Fl_Widget *w) const.
Definition Fl_Group.H:84