mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 09:13:58 +08:00
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
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user