diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-03-25 15:20:26 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-03-25 15:20:26 +0000 |
| commit | ce40d4a0e67b79b48471d6328f46817d2e064544 (patch) | |
| tree | 40d06e87549e71c4f2d6c606bc2067525a625b9d /documentation/functions.html | |
| parent | 6d65dcba88092bbff9979399a7d204bb0c88dd59 (diff) | |
The Fl_File_Chooser window now properly resizes its controls (STR
#766)
The Fl_Help_Dialog window now properly resizes its controls (STR
#768)
The Fl_File_Chooser favorites window is now resizable (STR #770)
Added more documentation on the file chooser filter pattern format
(in both functions.html and Fl_File_Chooser.html)
Added Fl_File_Chooser::save_label (for favorites dialog) and
Fl_File_Chooser::ok_label() to change the default "OK" button
label to something more appropriate according to the HIG.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4187 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/functions.html')
| -rw-r--r-- | documentation/functions.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/documentation/functions.html b/documentation/functions.html index 19af7989a..74d1e2409 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -492,10 +492,13 @@ pointer to that filename or <tt>NULL</tt> if Cancel is chosen. <P><tt>message</tt> is a string used to title the window. <P><tt>pattern</tt> is used to limit the files listed in a -directory to those matching the pattern. This matching is done -by <A -href="#fl_filename_match"><tt>fl_filename_match()</tt></A>. Use -<tt>NULL</tt> to show all files. +directory to those matching the pattern. This matching is done by +<A href="#fl_filename_match"><tt>fl_filename_match()</tt></A>. +Multiple patterns can be used by separating them with tabs, like +"*.jpg\t*.png\t*.gif\t*". In addition, you can provide +human-readable labels with the patterns inside parenthesis, like +"JPEG Files (*.jpg)\tPNG Files (*.png)\tGIF Files (*.gif)\tAll Files (*)". +Pass <tt>NULL</tt> to show all files.</p> <P><tt>fname</tt> is a default filename to fill in the chooser with. If this is <tt>NULL</tt> then the last filename that was |
