From 6a4714ce12d546c8131389853fe5593555c73b77 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 29 Sep 2001 14:38:59 +0000 Subject: Fl_FileXYZ -> Fl_File_XYZ Fl_HelpXYZ -> Fl_Help_XYZ Fl_File_Chooser now supports directory choosing. Added fl_dir_chooser() function. Now set FLTK_DOCDIR env var in test/demo. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_File_Browser.html | 76 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 documentation/Fl_File_Browser.html (limited to 'documentation/Fl_File_Browser.html') diff --git a/documentation/Fl_File_Browser.html b/documentation/Fl_File_Browser.html new file mode 100644 index 000000000..6b8cbadc2 --- /dev/null +++ b/documentation/Fl_File_Browser.html @@ -0,0 +1,76 @@ + + + + +

class Fl_File_Browser

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +

The Fl_File_Browser widget displays a list of filenames, +optionally with file-specific icons. + +

Methods

+ + + +

Fl_File_Browser(int xx, int yy, int ww, int hh, const char *l = 0)

+ +

The constructor creates the Fl_File_Browser widget at the specified +position and size. + +

~Fl_File_Browser()

+ +

The destructor destroys the widget and frees all memory that has been +allocated. + +

void iconsize(uchar s)
+uchar iconsize() const

+ +

Sets or gets the size of the icons. The default size is 20 pixels. + +

void filter(const char *pattern)
+const char *filter() const

+ +

Sets or gets the filename filter. The pattern matching uses the +filename_match() function in FLTK. + +

void filetype(int type)
+int filetype() const

+ +

Sets or gets the file browser type, FILES or +DIRECTORIES. When set to FILES, both +files and directories are shown. Otherwise only directories are +shown. + +

int load(const char *directory)

+ +

Loads the specified directory into the browser. If icons have been +loaded then the correct icon is associated with each file in the list. + + + -- cgit v1.2.3