61 std::vector<Fl_Widget *>child_;
78 void draw_outside_label(
const Fl_Widget& widget)
const ;
79 void update_child(
Fl_Widget& widget)
const;
83 virtual int on_move(
int,
int);
84 virtual void on_remove(
int);
97 int children()
const {
return (
int)child_.size(); }
110 if (n < 0 || n > children() - 1)
return nullptr;
127 Fl_Group(
int,
int,
int,
int,
const char * = 0);
140 void remove(
int index);
150 virtual int delete_child(
int n);
This is a dummy class that allows you to end a Fl_Group in a constructor list of a class:
Definition Fl_Group.H:283
Fl_End()
All it does is calling Fl_Group::current()->end()
Definition Fl_Group.H:286
The Fl_Group class is the main FLTK container widget.
Definition Fl_Group.H:59
void end()
Exactly the same as current(this->parent()).
Definition Fl_Group.cxx:76
void add_resizable(Fl_Widget &o)
Adds a widget to the group and makes it the resizable widget.
Definition Fl_Group.H:219
void add(Fl_Widget *o)
See void Fl_Group::add(Fl_Widget &w)
Definition Fl_Group.H:133
void focus(Fl_Widget *W)
Definition Fl_Group.H:252
Fl_Widget * child(int n) const
Returns the n'th child.
Definition Fl_Group.H:109
int children() const
Returns how many child widgets the group has.
Definition Fl_Group.H:97
Fl_Widget *& _ddfdesign_kludge()
This is for forms compatibility only.
Definition Fl_Group.H:255
void remove(Fl_Widget *o)
Removes the widget o from the group.
Definition Fl_Group.H:146
void resizable(Fl_Widget &o)
Sets the group's resizable widget.
Definition Fl_Group.H:156
void clip_children(int c)
Controls whether the group widget clips the drawing of child widgets to its bounding box.
Definition Fl_Group.H:231
unsigned int clip_children()
Returns the current clipping mode.
Definition Fl_Group.H:239
void insert(Fl_Widget &o, Fl_Widget *before)
This does insert(w, find(before)).
Definition Fl_Group.H:139
Fl_Widget * resizable() const
Returns the group's resizable widget.
Definition Fl_Group.H:215
Fl_Group * as_group() FL_OVERRIDE
Returns an Fl_Group pointer if this widget is an Fl_Group.
Definition Fl_Group.H:242
static Fl_Group * current()
Returns the currently active group.
Definition Fl_Group.cxx:85
void resizable(Fl_Widget *o)
The resizable widget defines both the resizing box and the resizing behavior of the group and its chi...
Definition Fl_Group.H:210
int find(const Fl_Widget &o) const
See int Fl_Group::find(const Fl_Widget *w) const.
Definition Fl_Group.H:118
Rectangle with standard FLTK coordinates (X, Y, W, H).
Definition Fl_Rect.H:30
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:38