254 void check_overflow_menu();
255 void handle_overflow_menu();
256 void draw_overflow_menu_button();
263 virtual void redraw_tabs();
264 virtual int tab_positions();
265 virtual void clear_tab_positions();
266 virtual void draw_tab(
int x1,
int x2,
int W,
int H,
Fl_Widget* o,
int flags,
int sel);
267 virtual int tab_height();
268 virtual int hit_close(
Fl_Widget *o,
int event_x,
int event_y);
269 virtual int hit_overflow_menu(
int event_x,
int event_y);
270 virtual int hit_tabs_area(
int event_x,
int event_y);
276 Fl_Tabs(
int X,
int Y,
int W,
int H, const
char *L = 0);
296 virtual Fl_Widget *which(
int event_x,
int event_y);
297 void client_area(
int &rx,
int &ry,
int &rw,
int &rh,
int tabh=0);
320 OVERFLOW_COMPRESS = 0,
326 void handle_overflow(
int ov);
unsigned Fl_Align
FLTK type for alignment control.
Definition Enumerations.H:967
Fl_Group and Fl_End classes.
The Fl_Group class is the FLTK container widget.
Definition Fl_Group.H:56
virtual void on_remove(int)
Allow derived groups to act when a child widget is removed from the group.
Definition Fl_Group.cxx:569
virtual int on_move(int, int)
Allow derived groups to act when a widget is moved within the group.
Definition Fl_Group.cxx:497
void resize(int, int, int, int) FL_OVERRIDE
Resizes the Fl_Group widget and all of its children.
Definition Fl_Group.cxx:823
void draw() FL_OVERRIDE
Draws the widget.
Definition Fl_Group.cxx:926
virtual int on_insert(Fl_Widget *, int)
Allow derived groups to act when a widget is added as a child.
Definition Fl_Group.cxx:473
The Fl_Tabs widget is a container widget that displays a set of tabs, with each tab representing a di...
Definition Fl_Tabs.H:239
int * tab_width
Array of widths of tabs per child.
Definition Fl_Tabs.H:248
int has_overflow_menu
set in OVERFLOW_PULLDOWN mode if tabs overflow. The actual menu array is created only on demand
Definition Fl_Tabs.H:252
@ OVERFLOW_PULLDOWN
Tabs that do not fit will be placed in a pull-down menu.
Definition Fl_Tabs.H:322
@ OVERFLOW_CLIP
Only the first tabs that fit will be displayed.
Definition Fl_Tabs.H:321
int tab_offset
for pulldown and drag overflow, this is the horizontal offset when the tabs bar is dragged by the use...
Definition Fl_Tabs.H:246
int * tab_pos
Array of x-offsets of tabs per child + 1.
Definition Fl_Tabs.H:247
void tab_align(Fl_Align a)
Sets the tab label alignment.
Definition Fl_Tabs.H:310
int tab_count
Array size of tab positions etc.
Definition Fl_Tabs.H:250
Fl_Align tab_align() const
Gets the tab label alignment.
Definition Fl_Tabs.H:317
int * tab_flags
Array of tab flag of tabs per child.
Definition Fl_Tabs.H:249
int overflow_type
Definition Fl_Tabs.H:245
Fl_Align tab_align_
tab label alignment
Definition Fl_Tabs.H:251
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46