From ce40d4a0e67b79b48471d6328f46817d2e064544 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 25 Mar 2005 15:20:26 +0000 Subject: 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 --- documentation/Fl_File_Chooser.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'documentation/Fl_File_Chooser.html') diff --git a/documentation/Fl_File_Chooser.html b/documentation/Fl_File_Chooser.html index e1a6b964e..3627845f7 100644 --- a/documentation/Fl_File_Chooser.html +++ b/documentation/Fl_File_Chooser.html @@ -81,6 +81,10 @@ dialogs: preview_label "Preview" + + save_label + "Save" + show_label "Show:" @@ -117,6 +121,7 @@ code and changing it accordingly.
  • hide
  • iconsize
  • label +
  • ok_label
  • preview
  • rescan
  • show @@ -193,7 +198,14 @@ const char *directory()

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

    -

    Sets or gets the current filename filter pattern. +

    Sets or gets the current filename filter patterns. The filter +patterns use fl_filename_match(). +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 (*)". +Use filter(NULL) to show all files.

    void filter_value(int f)
    int filter_value()

    @@ -215,6 +227,12 @@ const char *label()

    Sets or gets the title bar text for the Fl_File_Chooser. +

    void ok_label(const char *l)
    +const char *ok_label()

    + +

    Sets or gets the label for the "ok" button in the +Fl_File_Chooser. +

    void preview(int e)
    int preview()

    -- cgit v1.2.3