summaryrefslogtreecommitdiff
path: root/documentation/Fl_File_Browser.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-05-02 14:31:10 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-05-02 14:31:10 +0000
commitae0a956f2e7ad36f5aab55aa030d6a0d9a82d97b (patch)
tree004bc1a77a3c83b06ffba425decb8f6baa8c0d3c /documentation/Fl_File_Browser.html
parent47e7de17bc515581d85a6f1d57341d0ce14131ad (diff)
Add sort function as optional argument to Fl_File_Browser::load().
Add docos for sort functions and changes to fl_filename_list() and Fl_File_Browser::load(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2176 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_File_Browser.html')
-rw-r--r--documentation/Fl_File_Browser.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/documentation/Fl_File_Browser.html b/documentation/Fl_File_Browser.html
index 6137bdddc..82447904a 100644
--- a/documentation/Fl_File_Browser.html
+++ b/documentation/Fl_File_Browser.html
@@ -69,10 +69,13 @@ int filetype() const</A></H4>
files and directories are shown. Otherwise only directories are
shown.
-<H4><A NAME="Fl_File_Browser.load">int load(const char *directory)</A></H4>
+<H4><A NAME="Fl_File_Browser.load">int load(const char *directory, Fl_File_Sort_F *sort = fl_numeric_sort)</A></H4>
<P>Loads the specified directory into the browser. If icons have been
loaded then the correct icon is associated with each file in the list.
+<P>The <tt>sort</tt> argument specifies a sort function to be used with
+<A HREF="functions.html#fl_filename_list"><tt>fl_filename_list()</tt></A>.
+
</BODY>
</HTML>