Tuesday winter photo

This page describes some of the general-purpose FLTK widgets I've written over the years for FLTK 1.x. All of the widgets provide built-in demo programs, so you can use the following command to build a demo program with:

fltk-config -DTEST --compile Widget.cxx

You can download them all as fltk-widgets-20080907.tar.gz.

MenuTabs

A subclass of Fl_Tabs that provides a pull-down menu to select the current tab. MenuTabs can also resize the parent window to fit the current tab's group so you don't need to keep the window large enough to hold every group.

Source Files:

SmartGroup

A subclass of Fl_Group that supports basic layout and resizing of widgets with control over alignment, spacing, and margins. SmartGroup can also resize the parent window if the current space is insufficient. Useful for button bars and forms where the labels are localized or generated at run-time.

Source Files:

SpringWindow

A subclass of Fl_Double_Window that supports "spring-loaded" resizing. Basically, any size change of the window is animated.

Source Files: