diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-01-31 18:50:25 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-01-31 18:50:25 +0100 |
| commit | b21a3910a967170c1a022f22ffa8ecb98c308f37 (patch) | |
| tree | 013b6fa9b62920a42d0a49e49bf3f21b80e69d7b /FL | |
| parent | faff63130c90461d7e077be68a40a716257be12d (diff) | |
Improve documentation of Fl_Native_File_Chooser
Document restrictions imposed by the new system file chooser dialogs,
particularly by 'kdialog' and 'zenity' (Unix/X11/Wayland only).
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Native_File_Chooser.H | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FL/Fl_Native_File_Chooser.H b/FL/Fl_Native_File_Chooser.H index fc54ef354..721d0c1f4 100644 --- a/FL/Fl_Native_File_Chooser.H +++ b/FL/Fl_Native_File_Chooser.H @@ -103,7 +103,7 @@ class Fl_Native_File_Chooser_Driver; <B>Platform Specific Caveats</B> - - Under X11/Wayland, what dialog opens is determined as follows: + - Under X11/Wayland the dialog is chosen as follows: -# If command \p zenity is available at run-time and if \p Fl::option(OPTION_FNFC_USES_ZENITY) is not turned off, the \p zenity -based dialog opens. This is expected to be more appropriate than other dialog forms for sandboxed apps. @@ -119,6 +119,8 @@ class Fl_Native_File_Chooser_Driver; at the start of main(), to enable the nicer looking file browser widgets. Use the static public attributes of class Fl_File_Chooser to localize the browser. + \todo Improve documentation about selection of native file choosers on X11/Wayland.\n + - Some operating systems support certain OS specific options; see Fl_Native_File_Chooser::options() for a list. |
