From a343b0d4e40d6dd295cfea1a6bc66940b7edff34 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 25 Mar 2005 16:11:07 +0000 Subject: Pressing Enter in the file chooser when selecting a directory will choose that directory if it is currently shown (STR #746) Added a fl_file_chooser_ok_label() function to set the "OK" button label for the fl_file_chooser() and fl_dir_chooser() functions. Added Fl_File_Chooser::ok_label() methods to set the "OK" button label. The fl_ask() function is now deprecated since it does not conform to the FLTK Human Interface Guidelines. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4188 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/functions.html | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'documentation/functions.html') diff --git a/documentation/functions.html b/documentation/functions.html index 74d1e2409..5bcd54d4e 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -24,6 +24,7 @@ A.
  • fl_dir_chooser
  • fl_file_chooser
  • fl_file_chooser_callback
  • +
  • fl_file_chooser_ok_label
  • fl_filename_absolute
  • fl_filename_expand
  • fl_filename_ext
  • @@ -60,6 +61,7 @@ A.
  • fl_dir_chooser
  • fl_file_chooser
  • fl_file_chooser_callback
  • +
  • fl_file_chooser_ok_label
  • fl_input
  • fl_message
  • fl_message_font
  • @@ -158,7 +160,7 @@ a shortcut for No.

    The fl_ask window.

    Note: Use of this function is strongly -discouraged. Instead, use fl_choice() instead and provide unambiguous verbs in place of "Yes" and "No".

    @@ -539,6 +541,30 @@ to preview the contents of the file. It has to be reasonably fast, and cannot create FLTK windows. + +

    fl_file_chooser_ok_label

    + +
    + +

    Include Files

    + + + +

    Prototype

    + + + +

    Description

    + +

    Sets the label that is shown on the "OK" button in the file +chooser. The default label (fl_ok) can be restored by +passing a NULL pointer for the label string.

    + +

    fl_filename_absolute

    -- cgit v1.2.3