Fl_Browser | +----FileBrowser
#include "FileBrowser.h"
The FileBrowser
widget displays a list of filenames,
optionally with file-specific icons.
The constructor creates the FileBrowser
widget at the specified
position and size.
The destructor destroys the widget and frees all memory that has been allocated.
Sets or gets the size of the icons. The default size is 20 pixels.
Sets or gets the filename filter. The pattern matching uses the
filename_match()
function in FLTK.
Loads the specified directory into the browser. If icons have been loaded then the correct icon is associated with each file in the list.